Example #1
0
        private IEnumerator EnergyUp(float lifeTime)
        {
            yield return(new WaitForSeconds(lifeTime));

            playerManager.AddEnergy(.2f);
        }