Exemplo n.º 1
0
 private void Start()
 {
     _player     = Player.Instance;
     _abilityUI  = AbilityUI.Instance;;
     _timeToFire = new float[magicInfo.Length];
     _manaSystem = new ManaSystem(100);
     StartCoroutine(Recotr());
 }
Exemplo n.º 2
0
 private void Awake()
 {
     Instance = this;
 }