fixed UiController error
This commit is contained in:
1 parent
78746c8ff9
commit
a1b7db1ef1
1 file changed
+2
-2
@@ -19,9 +19,9 @@ public class UiController : MonoBehaviour
|
|||||||
Cursor.lockState = CursorLockMode.None;
|
Cursor.lockState = CursorLockMode.None;
|
||||||
Cursor.visible = true;
|
Cursor.visible = true;
|
||||||
|
|
||||||
PlayerController.LoadSave();
|
this.LoadSave();
|
||||||
}
|
}
|
||||||
static void SaveGame()
|
void SaveGame()
|
||||||
{
|
{
|
||||||
PlayerPrefs.SetInt(PlayerController.highScore);
|
PlayerPrefs.SetInt(PlayerController.highScore);
|
||||||
PlayerPrefs.Save();
|
PlayerPrefs.Save();
|
||||||
|
|||||||
Reference in new issue
Block a user