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