Skip to content

ScriptableEventEditor Class

C#
[CustomEditor(typeof(ScriptableEvent), true)]
public class ScriptableEventEditor : 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.

C#
protected virtual VisualElement? CreateInvokeButton()

UnityEngine.UIElements.VisualElement

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.