Skip to content

GenericScriptableEventEditor Class

C#
[CustomEditor(typeof(ScriptableEvent<>), true)]
public class GenericScriptableEventEditor : RuntimeScriptableObjectEditor

Inheritance object → UnityEngine.Object → UnityEngine.ScriptableObject → UnityEditor.Editor → RuntimeScriptableObjectEditor

Override to gather serialized properties.

C#
protected override void GatherProperties()

Override to create your own editor.

C#
protected override void CreateGUIBeforeStackTraces(VisualElement root)

root UnityEngine.UIElements.VisualElement
The root of your editor.

Get any serialized properties that should be excluded from the default inspector.

C#
protected override void GetExcludingProperties(List<SerializedProperty> properties)

properties List<SerializedProperty>
The list where you add your excluded properties.