private void Update() { curTime += Time.deltaTime; if (curTime >= bulletDelayTime) { bulletManager.FireBullets(this.transform.position); curTime = 0f; } }