internal static void CopyGO()
 {
     CutBoard.Reset();
     FilterSelection(canCopyGameObject);
     copyingGameObjects?.Invoke(Selection.gameObjects);
     Unsupported.CopyGameObjectsToPasteboard();
 }
示例#2
0
 internal static void ResetCutboardAndRepaintHierarchyWindows()
 {
     if (CutBoard.hasCutboardData)
     {
         CutBoard.Reset();
         RepaintHierarchyWindowsAfterPaste();
     }
 }
示例#3
0
        internal static void DuplicateGO(Transform fallbackParent)
        {
            CutBoard.Reset();
            bool customParentIsSelected = GetIsCustomParentSelected(fallbackParent);

            Unsupported.DuplicateGameObjectsUsingPasteboard();
            if (customParentIsSelected)
            {
                Selection.activeTransform.SetParent(fallbackParent, true);
            }
        }
示例#4
0
 internal static void CopyGO()
 {
     CutBoard.Reset();
     Unsupported.CopyGameObjectsToPasteboard();
 }