// For logic state public void AddStatePlayable(LogicState state, LogicMotionMatchingLayer layer) { state.SetPlayable(AnimationMixerPlayable.Create(this.graph)); layer.GetPlayable().AddInput(state.GetPlayable(), 0); }
public void SetBasic(LogicState logicState, MotionMatching mmAnimator, Transform transform) { this.logicState = logicState; this.mmAnimator = mmAnimator; this.transform = transform; }