コード例 #1
0
 private void SetPlayerData(LoginSuccessProto proto)
 {
     LogUtil.Log("SetPlayerData!!!");
     PlayerData = new PlayerData
     {
         nickname = proto.nickname,
         gender   = proto.gender,
         portrait = proto.portrait,
         ticket   = proto.ticket,
     };
     PlayerData.Account = SDKWrapper.instance.GetAccount();
 }
コード例 #2
0
 private void DoLoginSuccess(LoginSuccessProto proto)
 {
     LogUtil.Log("DoLoginSuccess!!!");
     StartCoroutine(ChangeWindow());
 }