// 显示暂停 public void GamePause() { if (m_GamePauseUI.IsVisible() == false) { m_GamePauseUI.ShowGamePause(m_AchievementSystem.CreateSaveData()); } else { m_GamePauseUI.Hide(); } }
private void SaveData() { AchievementSaveData saveData = achievementSystem.CreateSaveData(); saveData.SaveData(); }