|
@@ -51,6 +51,7 @@ public class UserPlayer : JCEntity
|
|
|
|
|
|
|
|
public void Close() {
|
|
public void Close() {
|
|
|
PlayerPrefs.DeleteKey("IdAndToken");
|
|
PlayerPrefs.DeleteKey("IdAndToken");
|
|
|
|
|
+ LoginMgr.myUserInfo.id = 0;
|
|
|
if (ins == this) ins = null;
|
|
if (ins == this) ins = null;
|
|
|
this.canReconnnect = false;
|
|
this.canReconnnect = false;
|
|
|
this.channel.close();
|
|
this.channel.close();
|