UnityEditor.Unsupported.CopyStateMachineDataToPasteboard C# (CSharp) Method

CopyStateMachineDataToPasteboard() public static method

public static CopyStateMachineDataToPasteboard ( Object stateMachineObject, AnimatorController controller, int layerIndex ) : void
stateMachineObject Object
controller AnimatorController
layerIndex int
return void
        public static void CopyStateMachineDataToPasteboard(Object stateMachineObject, AnimatorController controller, int layerIndex)
        {
            Object[] stateMachineObjects = new Object[] { stateMachineObject };
            Vector3[] monoPositions = new Vector3[] { new Vector3() };
            CopyStateMachineDataToPasteboard(stateMachineObjects, monoPositions, controller, layerIndex);
        }

Same methods

Unsupported::CopyStateMachineDataToPasteboard ( Object stateMachineObjects, Vector3 monoPositions, AnimatorController controller, int layerIndex ) : void

Usage Example

Exemplo n.º 1
0
 public static void CopyStateMachineDataToPasteboard(UnityEngine.Object stateMachineObject, AnimatorController controller, int layerIndex)
 {
     Unsupported.CopyStateMachineDataToPasteboard(new UnityEngine.Object[]
     {
         stateMachineObject
     }, new Vector3[]
     {
         default(Vector3)
     }, controller, layerIndex);
 }