public void Awake() { locomotion = GetComponent <StationaryLocomotion>(); stateMachine = new WIPStateMachine(locomotion, this); }
public WIPState(WIPStateMachine stateMachine, StationaryLocomotion locomotion, WalkInPlace wip) { this.stateMachine = stateMachine; this.locomotion = locomotion; this.walkInPlace = wip; }