Ejemplo 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();
            }
        }
Ejemplo n.º 2
0
 public static void OnSelectionChange()
 {
     EditMode.QuitEditMode();
 }