This commit is contained in:
2026-08-20 11:35:03 +02:00
parent 2604185ce4
commit 1db2ec9a94
7 changed files with 185 additions and 2 deletions
+11
View File
@@ -10,13 +10,24 @@ public class Shoot : MonoBehaviour
[SerializeField] bool Pistole = true;
void Start()
{
<<<<<<< HEAD
=======
if (weapon == null)
weapon = FindFirstObjectByType<WeaponReload>();
>>>>>>> parent of 392d236 (Merge branch 'main' of https://git.bib.de/PBA3H25ABU/ClearTheZone)
}
void Update()
{
<<<<<<< HEAD
if ( AR == true && Input.GetKey(KeyCode.Mouse0))
=======
if (PauseMenu.GameIsPaused) return;
if (AR == true && Input.GetKey(KeyCode.Mouse0) && Time.time >= nextShotTime)
>>>>>>> parent of 392d236 (Merge branch 'main' of https://git.bib.de/PBA3H25ABU/ClearTheZone)
{
Shot(spawnPointAR);
}