void Start() { //_poolAttack = new List<IAttackBehavior>(); _moveStrategy = new MoveHorizontal(); _jumpStrategy = new JumpNormal(); _attackStrategy = new Semiautomatic(); initPoolAttack(); }
void Start() { anim = GetComponent <Animator>(); hitbox = GetComponentInChildren <Hitbox>(); mover = GetComponent <MoveHorizontal>(); }