void Shoot() { SceenShake.ShakeScreen(0.02f); Instantiate(rockets[curRockets], transform.position, Quaternion.identity); BackGroundSetting.FundsComsumed(bulletCost); boom.pitch = 1 * Random.Range(0.8f, 1.2f); boom.Play(); }
void Shoot() { SceenShake.ShakeScreen(0.005f); Instantiate(bullets, transform.position, Quaternion.identity); BackGroundSetting.FundsComsumed(bulletCost); }