Beispiel #1
0
 void Move()
 {
     forceCurrent = Mathf.Clamp(forceCurrent + forceAdd, 0f, forceMax);
     timer.ToggleTime(true);
     snd.PlayOneShot(stepsSound[Random.Range(0, stepsSound.Count)]);
 }