Exemple #1
0
 public static void QuitEditMode()
 {
     if (Tools.current == Tool.None && EditMode.editMode != EditMode.SceneViewEditMode.None)
     {
         EditMode.ResetToolToPrevious();
     }
     EditMode.EndSceneViewEditing();
 }