// Start is called before the first frame update void Start() { // Initialize components cam = Camera.main; crosshairsTf = crosshairs.transform; crosshairsAnim = crosshairs.GetComponentInChildren <Animator>(); // Set player values currAmmo = 15; maxAmmo = 15; fireRate = 0.1f; canShoot = false; isGrabbing = false; canReload = false; fireTimer = 0.0f; reloadPromptTime = 1.0f; reloadPromptTimer = 0.0f; reloadPromptCount = 0; // Initialize ammo UI ammoSystem.DrawShells(currAmmo, maxAmmo); }