Beispiel #1
0
    IEnumerator ProcessAmmo(Ammo ammo)
    {
        yield return(new WaitForSeconds(0.5f));

        Debug.Log("Ammo Released!");
        ammo.DestroySelf();
        ammoGenerated = false;
    }