private SetMotion ( AnimatorState state, int layerIndex, |
||
state | AnimatorState | |
layerIndex | int | |
motion | ||
return | void |
private void SetMotion(AnimatorState state, int layerIndex, Motion motion)
{
AnimatorControllerLayer[] layers = this.m_Controller.layers;
state.motion = motion;
this.m_Controller.layers = layers;
}