• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by TylerKinkade · Apr 24, 2012 at 08:15 PM · c#variable

(C#) Public variables that have descriptions in the engine.

Hey all,

So it's commonly known that Unity will expose public variables to the engine.

Is it possible to set a description for that variable so that an artist or someone that is a non programmer can have a description for that variable?

Thanks, !k

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by dannyskim · Apr 24, 2012 at 08:38 PM

As of now, I don't believe it's possible with the built in inspector. I think this is a widely requested feature especially for Indie's who are creating Asset Store items, you may want to go to the Unity Request forums and up vote this feature request if it's important to you.

As far as existing threads, this seems to be the one with the most traffic, but has received no response from unity and was posted almost 2 years ago:

http://feedback.unity3d.com/forums/15792-unity/suggestions/546055-editor-tool-tips-for-script-values-in-inspector?ref=title

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Bunny83 · Apr 24, 2012 at 08:47 PM

Do you talk about a custom inspector for your script or the API of Unity in general?

Most variables are actually properties (with get and set methods) and in MonoDevelop or in Visual Studio you have a short description of most properties / methods. Where do you think do an artist come in contact with variables? The only place i can think of is the inspector so you can setup a custom inspector if you want to add further details on the usage of your script.

For the buildin components (Camera, Light, Terrain, ....) there is the manual you can and should consult. Most components are quite complicated and you can't describe it's usage with a single sentence.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Multiple Cars not working 1 Answer

In-Game GUI buttons don't work 2 Answers

How to assign transfrom array in the code? 1 Answer

Have problem with a localscale variable 1 Answer

C# adding ints 1 Answer

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges