Ejemplo n.º 1
0
 void UpdateStats(Action action)
 {
     pointer.value += action.statModifier;
     clock.AddMinutes((int)Random.Range(action.duration * .9f, action.duration * 1.1f));
     PlayerPrefs.SetFloat(action.tag, clock.currentGameTime);
 }