Esempio n. 1
0
        public static void OnSelectionChange()
        {
            IToolModeOwner toolModeOwner = InternalEditorUtility.GetObjectFromInstanceID(EditMode.ownerID) as IToolModeOwner;

            if (toolModeOwner == null || !toolModeOwner.ModeSurvivesSelectionChange((int)EditMode.s_EditMode))
            {
                EditMode.QuitEditMode();
            }
        }
Esempio n. 2
0
 public static void OnSelectionChange()
 {
     EditMode.QuitEditMode();
 }