I can't see new fields / variables?
Last updated
Last updated
AKItem
AKUIManager
BasicNote
BasicReverseNote
CustomNote
CustomReverseNote
ExaminableItem
FlashlightItemBaseClass
GeneratorItem
LeverSystemController
Each script that you see in the inspector that uses a custom editor will have a button called "Open Editor Script" - So you can easily access it.
Lets take the FlashlightItemBaseClass as an example:
You first set the SerializedProperty for the fields you've created in your other script:
Then in OnEnable, you must find that property.
In the OnInspectorGUI you must add the field to show the field