头像闹测
This commit is contained in:
parent
0264d1f162
commit
4a7ba77ae7
@ -44,9 +44,8 @@ public class HeadTanchuang : MonoBehaviour
|
||||
|
||||
async void UpdateShow()
|
||||
{
|
||||
|
||||
|
||||
this.Name.text = _AssetsPanel._PlayerInfoData.nickname.ToString();
|
||||
this.Id.text = _AssetsPanel._PlayerInfoData.uid.ToString();
|
||||
PlayerInfoData _PlayerInfoData = await Scene_main_jiekou.instance.PlayerInfos();
|
||||
this.Name.text =_PlayerInfoData.nickname.ToString();
|
||||
this.Id.text = _PlayerInfoData.uid.ToString();
|
||||
}
|
||||
}
|
||||
|
@ -25,10 +25,7 @@ public class AssetsPanel : MonoBehaviour
|
||||
public Image UserHead;
|
||||
public Text PersonaText;
|
||||
public Text PersonID;
|
||||
|
||||
|
||||
|
||||
public PlayerInfoData _PlayerInfoData;
|
||||
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
@ -69,7 +66,7 @@ public class AssetsPanel : MonoBehaviour
|
||||
|
||||
async void UpdateTaxt()
|
||||
{
|
||||
_PlayerInfoData = await Scene_main_jiekou.instance.PlayerInfos();
|
||||
PlayerInfoData _PlayerInfoData = await Scene_main_jiekou.instance.PlayerInfos();
|
||||
Stone.text = _PlayerInfoData.gem.ToString();
|
||||
Coin.text = _PlayerInfoData.gold.ToString();
|
||||
Ore.text = _PlayerInfoData.water.ToString();
|
||||
|
@ -41,7 +41,7 @@ public class Scene_main_jiekou :MonoBehaviour
|
||||
IsTaskLoging=true;
|
||||
}*/
|
||||
|
||||
//await _Login.TastLogin();
|
||||
await _Login.TastLogin();
|
||||
|
||||
playerInfo playerInfo=new playerInfo();
|
||||
PlayerIndfo _PlayerIndfo = await playerInfo.PalyerInfo();
|
||||
|
Loading…
Reference in New Issue
Block a user