Ejemplo n.º 1
0
 void Update()
 {
     if (currShootingCooldown > 0)
     {
         currShootingCooldown -= Time.deltaTime;
     }
     else
     {
         enemyMaster.ShootBolt(boltOrigin);
         SetCooldown();
     }
 }