public override void OnInspectorGUI()
 {
     //base.OnInspectorGUI();
     Undo.RecordObject(Camera, "RTS_CAmera");
     tabs.Draw();
     if (GUI.changed)
     {
         Camera.LastTab = tabs.CurrentMethodIndex;
     }
     EditorUtility.SetDirty(Camera);
 }
예제 #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);
 }