예제 #1
0
 public static Player GetInstance()
 {
     if (Instance == null)
     {
         Instance = new Player();
         SaveLoadGame.LoadGame();
     }
     return(Instance);
 }
예제 #2
0
    private void Start()
    {
        timerCheck = 0.11f;

        if (PlayerPrefs.HasKey("Load") && PlayerPrefs.GetInt("Load") == 1)
        {
            if (Ini.FileExists("Save.sv"))
            {
                Saving.LoadGame();
                StartGame();
            }
        }
    }
예제 #3
0
 public void Continue() => svGame.LoadGame();