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