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(); }
private void DoLoginSuccess(LoginSuccessProto proto) { LogUtil.Log("DoLoginSuccess!!!"); StartCoroutine(ChangeWindow()); }