public ControllerJumpingState( ControllerStateMachine stateMachine, BetterCharacterController controller )
 {
     this.stateMachine = stateMachine;
     this.controller = controller;
 }
示例#2
0
 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 );
 }