public bool Reload() { if (ammo == 0) { return(false); //if out of ammo, dont continue } if (reloading) { return(false); //if reloading is in process, dont continue } if (currentClip == GetClipSize()) { return(false); //if clip is full, dont continue } StartCoroutine(ReloadRoutine()); //start reloading coroutine TDS.Reloading(); //fire the reload event AudioManager.PlaySound(reloadSFX); //play the sound return(true); }