public override void OnInspectorGUI()
 {
     //base.OnInspectorGUI();
     Undo.RecordObject(Camera, "RTS_CAmera");
     tabs.Draw();
     if (GUI.changed)
     {
         Camera.LastTab = tabs.CurrentMethodIndex;
     }
     EditorUtility.SetDirty(Camera);
 }
Example #2
0
 public override void OnInspectorGUI()
 {
     //base.OnInspectorGUI();
     Undo.RecordObject(camera, "RTS_CameraManager");
     tabs.Draw();
     if (GUI.changed)
     {
         camera.lastTab = tabs.curMethodIndex;
     }
     EditorUtility.SetDirty(camera);
 }