|
|
@@ -1,12 +1,13 @@
|
|
|
-using System;
|
|
|
using System.Net;
|
|
|
+using ET.Server;
|
|
|
+using ET.Client;
|
|
|
|
|
|
namespace ET
|
|
|
{
|
|
|
[Event(SceneType.Process)]
|
|
|
- public class AppStart_Init: AEvent<Scene, EventType.AppStart>
|
|
|
+ public class AppStart_Init: AEvent<Scene, ET.EventType.AppStart>
|
|
|
{
|
|
|
- protected override async ETTask Run(Scene scene, EventType.AppStart args)
|
|
|
+ protected override async ETTask Run(Scene scene, ET.EventType.AppStart args)
|
|
|
{
|
|
|
Game.Scene.AddComponent<ConfigComponent>();
|
|
|
await ConfigComponent.Instance.LoadAsync();
|
|
|
@@ -31,7 +32,7 @@ namespace ET
|
|
|
|
|
|
#region 机器人使用
|
|
|
|
|
|
- Game.Scene.AddComponent<Client.ClientSceneManagerComponent>();
|
|
|
+ Game.Scene.AddComponent<ClientSceneManagerComponent>();
|
|
|
Game.Scene.AddComponent<RobotCaseDispatcherComponent>();
|
|
|
Game.Scene.AddComponent<RobotCaseComponent>();
|
|
|
|