public ControllerJumpingState( ControllerStateMachine stateMachine, BetterCharacterController controller ) { this.stateMachine = stateMachine; this.controller = controller; }
void Awake() { stateMachine = new ControllerStateMachine(this); groundController = new GroundController(this, environmentLayer); }
public ControllerMovingState(ControllerStateMachine stateMachine, BetterCharacterController controller) { this.stateMachine = stateMachine; this.controller = controller; }
void Awake() { stateMachine = new ControllerStateMachine( this ); groundController = new GroundController ( this, environmentLayer ); }