コード例 #1
0
 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);
 }
コード例 #3
0
 public ControllerMovingState(ControllerStateMachine stateMachine, BetterCharacterController controller)
 {
     this.stateMachine = stateMachine;
     this.controller   = controller;
 }
 void Awake()
 {
     stateMachine = new ControllerStateMachine( this );
     groundController = new GroundController ( this, environmentLayer );
 }