UnityEditor.Unsupported.PasteToStateMachineFromPasteboardInternal C# (CSharp) Method

PasteToStateMachineFromPasteboardInternal() static private method

static private PasteToStateMachineFromPasteboardInternal ( AnimatorStateMachine sm, AnimatorController controller, int layerIndex, Vector3 position ) : void
sm AnimatorStateMachine
controller AnimatorController
layerIndex int
position Vector3
return void
        internal static void PasteToStateMachineFromPasteboardInternal(AnimatorStateMachine sm, AnimatorController controller, int layerIndex, Vector3 position)
        {
            INTERNAL_CALL_PasteToStateMachineFromPasteboardInternal(sm, controller, layerIndex, ref position);
        }

Usage Example

示例#1
0
 public static void PasteToStateMachineFromPasteboard(AnimatorStateMachine sm, AnimatorController controller, int layerIndex, Vector3 position)
 {
     Undo.RegisterCompleteObjectUndo(sm, "Paste to StateMachine");
     Unsupported.PasteToStateMachineFromPasteboardInternal(sm, controller, layerIndex, position);
 }