Variables Missing From Inspector?
Steps to make the variable visible in the inspector with the custom editor:
Add the SerializedProperty to the top of the script
Then in the "OnEnable()" method add the line:
Then place the correct reference in the "OnGUIInspector()" method as below:
Last updated
Was this helpful?