Replies: 1 comment 2 replies
-
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Below are examples based on the parent classes Node and Resource.
If I need to see documentation for a particular enumeration value, I won't see it in the inspector on nodes inherited from Node.
Hovering the cursor over the value itself will not display anything in the inspector. This field does not have a tooltip.
Another example is the Resource class, whose export fields play an important role.
The code for a resource example is almost identical:
As you can see in the image above, here the documentation is displayed for the field itself, as well as for all the values of the enumeration.
While the value field itself does not display either the value or the documentation for it.
This can make the screen very busy if there are a lot of values and all of them are accompanied by documentation.
People working on filling the game with resources could conveniently view the documentation for each value if a doc tooltip was displayed by hovering over the value field itself or over an item in the dropdown menu.
At the same time there is a tooltip for numbers.

It would be very convenient if the tooltip for an enumeration contained the name of the type, the text value, its numeric representation, and documentation.
For example:
Beta Was this translation helpful? Give feedback.
All reactions