- Home /
Inspector Property Names Documentation..
Can anyone provide me a link to where Unity3D explains how the Inspector deals with property names? That is if I have a property like this...
public float myDogsName;
The inspector displays "My Dogs Name" next to the field.
I'm looking for something that lists out all of the rules, DO's, DON'Ts, Tricks, etc. for variations of inspector variables/parameter names.
For example, how would I name something so that it displays on the inspector like this...
Master Volume dB
... without having to create a custom editor.
Answer by swanne · Jun 25, 2018 at 03:43 PM
Hey,
You dont have to create a full custom editor, you can define custom property like this: EditorGUILayout.LabelField("Inspector", EditorStyles.boldLabel);
You also asked for docs and guides: https://www.youtube.com/watch?v=X65o6Gcx3C8 https://docs.unity3d.com/Manual/UsingTheInspector.html
Hope that helps
Your answer
Follow this Question
Related Questions
Upgrade to unity 5, Inspector change how it display variable name 4 Answers
How can I create a list of preset class/objects to be used in the editor 1 Answer
Music beat creator in inspector 1 Answer
Custom inspector, a multidimensional array of enums 1 Answer
Enemy prefab's script won't keep inspector-applied settings. 0 Answers