public override void Disconnect()
{
if (this.PeerState == PeerStateValue.Disconnected)
{
if (!PhotonHandler.AppQuits)
{
Debug.LogWarning(string.Format("Can't execute Disconnect() while not connected. Nothing changed. State: {0}", this.State));
}
return;
}
this.State = global::PeerState.Disconnecting;
base.Disconnect();
//this.LeftRoomCleanup();
//this.LeftLobbyCleanup();
}