protected void Awake() { _sprayAttack = this.SearchComponent <SprayAttack>(); _rend = GetComponent <SpriteRenderer>(); _coll = GetComponent <Collider2D>(); _rb = GetComponent <Rigidbody2D>(); gameObject.SetActive(false); }
public SprayingState(AttackStateMachine ASM, SprayAttack sprayAttack) : base(ASM, sprayAttack) { }
protected SprayAttackState(AttackStateMachine ASM, SprayAttack sprayAttack) : base(ASM) { _sprayAttack = sprayAttack; }