ScriptableValueEditor Class
Definition
Section titled “Definition”[CustomEditor(typeof(ScriptableValue<>), true)]public class ScriptableValueEditor : RuntimeScriptableObjectEditorInheritance object → UnityEngine.Object → UnityEngine.ScriptableObject → UnityEditor.Editor → RuntimeScriptableObjectEditor
Properties
Section titled “Properties”StackTracesLabel
Section titled “StackTracesLabel”protected override string StackTracesLabel { get; }Methods
Section titled “Methods”OnEnable()
Section titled “OnEnable()”protected override void OnEnable()OnDisable()
Section titled “OnDisable()”protected override void OnDisable()GatherProperties()
Section titled “GatherProperties()”Override to gather serialized properties.
protected override void GatherProperties()CreateGUIBeforeStackTraces(VisualElement)
Section titled “CreateGUIBeforeStackTraces(VisualElement)”Override to create your own editor.
protected override void CreateGUIBeforeStackTraces(VisualElement root)Parameters
Section titled “Parameters”root UnityEngine.UIElements.VisualElement
The root of your editor.
GetExcludingProperties(List<SerializedProperty>)
Section titled “GetExcludingProperties(List<SerializedProperty>)”Get any serialized properties that should be excluded from the default inspector.
protected override void GetExcludingProperties(List<SerializedProperty> properties)Parameters
Section titled “Parameters”properties List<SerializedProperty>
The list where you add your excluded properties.