-
Notifications
You must be signed in to change notification settings - Fork 42
Service
jiepengtan edited this page Nov 20, 2019
·
2 revisions
-
需要在文件 __DllSourceFiles/Tools.UnsafeECS.ECDefine/Src/Unsafe/Service.cs 中进行声明,
-
生成的代码的主体可以在 __DllSourceFiles/Game.Model/Src/__UnsafeECS/Generated/CodeGen_Service_SystemExt.cs 看到
-
在ECDefine.dll 中进行声明
namespace Lockstep.UnsafeECSDefine {
public partial class GameStateService : IGameService{}
public partial class GameConfigService : IGameService{}
public partial class GameEventService : IGameService{}
}