public void Throw(Throwable throwable, Vector3 position, Quaternion rotation) { if (amtOfThrowables > 0 && Time.time > lastThrowTime + throwCoolDown) { lastThrowTime = Time.time; amtOfThrowables--; uiController.Ammo(amtOfThrowables); Throwable throwableClone = (Throwable)Instantiate(throwable, position, rotation); throwableClone.Fire(lastMove); } }