fixed UiController error

This commit is contained in:
nexovec 2022-01-29 22:46:05 +01:00
parent 78746c8ff9
commit a1b7db1ef1

View File

@ -19,9 +19,9 @@ public class UiController : MonoBehaviour
Cursor.lockState = CursorLockMode.None;
Cursor.visible = true;
PlayerController.LoadSave();
this.LoadSave();
}
static void SaveGame()
void SaveGame()
{
PlayerPrefs.SetInt(PlayerController.highScore);
PlayerPrefs.Save();