void OnGUI() { if (GUI.Button(new Rect(10, 10, 150, 20), "Save Game")) { SaveIsEasy.SaveAll(); } if (GUI.Button(new Rect(10, 50, 150, 20), "Load Game")) { SaveIsEasy.LoadAll(true); } }
void OnGUI() { if (GUI.Button(new Rect(10, 10, 150, 20), "Save Game")) { SaveIsEasy.SaveAll(); } if (GUI.Button(new Rect(10, 50, 150, 20), "Load Game")) { SaveIsEasy.LoadAll(true); } GUI.Label(new Rect(10, 300, 200, 20), "Time: " + (int)time); }