void MakeRockets() { if (Input.GetMouseButtonDown(0) && _canShoot) { Instantiate(_rocketPrefab, _player.transform.position, Quaternion.identity); _canShoot = false; _cb.AddAction(() => { _canShoot = true; }, Settings.FireRate); } }