Exemple #1
0
 private void Awake()
 {
     cdTimer   = 0;
     pool      = GameObject.Find("BulletPool").GetComponent <BulletPool>();
     reloading = false;
     SetStats();
     currentClip = stats.GetClipSize();
     cooldown    = 1 / stats.GetAtkSpeed();
     cdTimer     = cooldown;
 }