public void ReConnect()
 {
     this.m_state        = PlatformConnectState.Initializing;
     this.currentAccount = this.GetAccount();
     this.currentName    = this.GetName();
     if (this.currentAccount != null)
     {
         PlatformPlayerIdentity identity = new PlatformPlayerIdentity();
         identity.id       = this.currentAccount.playerId;
         identity.userName = this.currentName;
         this.m_identity   = identity;
         this.m_state      = PlatformConnectState.Connected;
         App.Binder.EventBus.PlatformProfileUpdated(PlatformConnectType.GameCenter, this.m_identity);
     }
     else
     {
         this.m_state = PlatformConnectState.Unconnected;
     }
 }
 private void ChangeState(PlatformConnectState newState)
 {
     this.m_state = newState;
     App.Binder.EventBus.PlatformConnectStateChanged(PlatformConnectType.GooglePlay);
 }
 public void Disconnect()
 {
     this.m_identity = null;
     this.m_state    = PlatformConnectState.Unconnected;
 }
 private void Awake()
 {
     this.m_state = PlatformConnectState.Initializing;
 }