コード例 #1
0
        public static EcsService CreateECSManager()
        {
            if (!_assembliesScanned)
            {
                throw new Exception($"Unable to create ECS Service. Call method '{nameof(ScanAssemblies)}' before creating ECS Manager");
            }

            EcsService result = new EcsService(AvailableTemplates);

            return(result);
        }
コード例 #2
0
ファイル: Entity.cs プロジェクト: denisgoriachev/monoentities
 internal Entity(EcsService service)
 {
     Service = service;
 }