public override void OnInspectorGUI() { base.OnInspectorGUI(); IGameEvent gEvent = this.target as IGameEvent; serializedObject.Update(); gEvent.ShowInspector(); serializedObject.ApplyModifiedProperties(); }
public override void OnInspectorGUI() { base.OnInspectorGUI(); IGameEvent gEvent = this.target as IGameEvent; serializedObject.Update(); gEvent.ShowInspector(); serializedObject.ApplyModifiedProperties(); }