示例#1
0
 void Start()
 {
     _rb2D         = GetComponent <Rigidbody2D>();
     _facingLeft   = true;
     _stateMachine = new ClownBoxStateMachine(this);
     Anim          = GetComponent <Animator>();
 }
示例#2
0
 public ClownBoxAttackState(ClownBoxStateMachine clownState)
 {
     this._stateMachine = clownState;
     this._timeCounter  = 0f;
     flip = false;
 }
 public ClownBoxIdleState(ClownBoxStateMachine clownBoxState)
 {
     _stateMachine = clownBoxState;
     _timeCounter  = 0f;
 }