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