fixed UiController error

This commit is contained in:
nexovec 2022-01-29 22:46:05 +01:00
parent 78746c8ff9
commit a1b7db1ef1
1 changed files with 2 additions and 2 deletions

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();