Esempio n. 1
0
    void Start()
    {
        //_poolAttack = new List<IAttackBehavior>();
        _moveStrategy   = new MoveHorizontal();
        _jumpStrategy   = new JumpNormal();
        _attackStrategy = new Semiautomatic();

        initPoolAttack();
    }
Esempio n. 2
0
 void Start()
 {
     anim   = GetComponent <Animator>();
     hitbox = GetComponentInChildren <Hitbox>();
     mover  = GetComponent <MoveHorizontal>();
 }