Пример #1
0
 private void OnEnable()
 {
     wait    = new WaitForSeconds(abilityDuration);
     attacks = GetComponent <GnomeAttacks>();
     fireworkObject.SetActive(false);
 }
Пример #2
0
 private void OnEnable()
 {
     attacks = GetComponent <GnomeAttacks>();
     moves   = GetComponent <GnomeMovement>();
     fishingRodObject.SetActive(false);
 }