Exemple #1
0
        public override void OnInspectorGUI()
        {
            DrawDefaultInspector();

            GameEventInvoker gameEventInvoker = (GameEventInvoker)target;

            if (GUILayout.Button("Execute"))
            {
                gameEventInvoker.Execute();
            }
        }