public override void OnInspectorGUI() { base.OnInspectorGUI(); GUI.enabled = Application.isPlaying; ToriiEvent e = target as ToriiEvent; if (GUILayout.Button("Raise")) { e.Raise(); } }