예제 #1
0
 public void ConfirmYes()
 {
     //确认姓名 写入游戏数据
     DataManager.GetInstance().gameData.heroXing = xing;
     DataManager.GetInstance().gameData.heroMing = ming;
     duiManager.SetHeroName();
     //关闭界面
     transform.gameObject.SetActive(false);
     clickCon.SetActive(true);
     callback();
 }
예제 #2
0
 public void ConfirmYes()
 {
     //确认姓名 写入游戏
     DataManager.GetInstance().SetGameVar("姓", xing);
     DataManager.GetInstance().SetGameVar("名", ming);
     duiManager.SetHeroName();
     //关闭界面
     transform.gameObject.SetActive(false);
     clickCon.SetActive(true);
     callback();
 }