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