✉️
Note System - Doc
  • Note System - Introduction
  • ⭐Getting Started
    • Quick Setup
    • Detailed Setup
    • UI Button Setups
    • Note Scriptable Setup
    • Note Icon Creation
    • JSON Save System
  • ❓Support
    • FAQ
    • Inputs List
    • Note Visuals
    • Adding Audioclips
    • Text Display Issues
    • Trigger Event Setup
    • System Namespace
    • UI Manager Requirements
    • Changing Character Controller
    • Element 0 Missing / Hidden?
    • Variables Missing From Inspector?
    • SciptableObject Location
    • Legacy Setup Video
  • 🌀Development
    • Patch Notes - V2.1
    • Roadmap
  • 📧Contacts
    • Contact Me
    • My Other Assets
Powered by GitBook
On this page

Was this helpful?

  1. Support

Variables Missing From Inspector?

The Note ScriptableObject has a custom editor. This script will need to be edited if you add variables to the note SO. For example, if you add a variable visible in the inspector, they won't display unless you add those to the custom editor.

Steps to make the variable visible in the inspector with the custom editor:

  • Add the SerializedProperty to the top of the script

SerializedProperty _isReadable;
  • Then in the "OnEnable()" method add the line:

_isReadable = serializedObject.FindProperty(nameof(_isReadable));
  • Then place the correct reference in the "OnGUIInspector()" method as below:

EditorGUILayout.PropertyField(_isReadable);
PreviousElement 0 Missing / Hidden?NextSciptableObject Location

Last updated 1 year ago

Was this helpful?

❓