void Update() { if (!foundReferences) { return; } coolDownTimer.rate = nextFire; coolDownTimer.ManualUpdate(); var shootButton = keyboardInputManager.RightClickHold(); if (!shootButton) { return; } FireShots(); }