예제 #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();
            }
        }
예제 #2
0
 public static void OnSelectionChange()
 {
     EditMode.QuitEditMode();
 }