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

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