Beispiel #1
0
    public override void Init(int id)
    {
        attackSet = gameObject.AddComponent <AttackSet>();

        base.Init(id);
        attackSet.Init(_attackDmg, _timeBetweenAttacks);
    }
Beispiel #2
0
 public override void Init(int id)
 {
     base.Init(id);
     heal.Init(_abilityPwr, _timeBetweenAbilities);
     attackSet.Init(_attackDmg, _timeBetweenAttacks);
     attackSet.enabled = false;
 }
Beispiel #3
0
 public override void Init(int id)
 {
     base.Init(id);
     gainStatSet.Init();
     attackSet.Init(_attackDmg, _timeBetweenAttacks);
 }