|
@@ -12,6 +12,11 @@ namespace ET.Client
|
|
|
{
|
|
|
// 创建一个ETModel层的Session
|
|
|
clientScene.RemoveComponent<RouterAddressComponent>();
|
|
|
+ clientScene.RemoveComponent<NetClientComponent>();
|
|
|
+ clientScene.RemoveComponent<SessionComponent>();
|
|
|
+ clientScene.RemoveComponent<AccountInfoComponent>();
|
|
|
+
|
|
|
+
|
|
|
// 获取路由跟realmDispatcher地址
|
|
|
RouterAddressComponent routerAddressComponent = clientScene.GetComponent<RouterAddressComponent>();
|
|
|
if (routerAddressComponent == null)
|