UnityEditor.Unsupported.PasteGameObjectsFromPasteboard C# (CSharp) Méthode

PasteGameObjectsFromPasteboard() private méthode

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

Usage Example

Exemple #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