public override void OnInspectorGUI() { DrawDefaultInspector(); GameEventInvoker gameEventInvoker = (GameEventInvoker)target; if (GUILayout.Button("Execute")) { gameEventInvoker.Execute(); } }
public override void OnInspectorGUI() { DrawDefaultInspector(); GameEventInvoker gameEventInvoker = (GameEventInvoker)target; if (GUILayout.Button("Execute")) { gameEventInvoker.Execute(); } }