Пример #1
0
 void OnGUI()
 {
     GUI.Box(new Rect(Screen.width - 130, 10, 120, 70), "timer: " + (int)Clock.GetTotalSecondsFromStart()
             + "\nday: " + Clock.GetCurrentDay()
             + "\ncash: " + depot.GetCash()
             + "\ncrimes failed: " + crimeRing.GetNumCrimesCompleted());
 }