UnityEditor.Unsupported.PasteGameObjectsFromPasteboard C# (CSharp) Method

PasteGameObjectsFromPasteboard() private method

private PasteGameObjectsFromPasteboard ( ) : void
return void
        public static extern void PasteGameObjectsFromPasteboard();
        public static void PasteToStateMachineFromPasteboard(AnimatorStateMachine sm, AnimatorController controller, int layerIndex, Vector3 position)

Usage Example

示例#1
0
 internal static void PasteGO(Transform fallbackParent)
 {
     if (CutBoard.hasCutboardData)
     {
         CutBoard.PasteGameObjects(fallbackParent);
     }
     // If it is not a Cut operation, execute regular paste
     else
     {
         bool customParentIsSelected = GetIsCustomParentSelected(fallbackParent);
         Unsupported.PasteGameObjectsFromPasteboard();
         if (customParentIsSelected)
         {
             Selection.activeTransform.SetParent(fallbackParent, true);
         }
     }
 }
All Usage Examples Of UnityEditor.Unsupported::PasteGameObjectsFromPasteboard