Major ECS API overhaul: added ComponentSet, refactored ComponentRegistry, and updated all entity/component creation methods. Introduced robust custom serialization infrastructure and per-component source generators for registration and (de)serialization. Updated editor, engine, and test code to use new APIs. Improved code quality, naming, and performance throughout. Removed obsolete code and updated dependencies.
89 lines
2.9 KiB
XML
89 lines
2.9 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net10.0</TargetFramework>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
|
<IsAotCompatible>False</IsAotCompatible>
|
|
<IsTrimmable>False</IsTrimmable>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
|
<IsAotCompatible>True</IsAotCompatible>
|
|
<IsTrimmable>True</IsTrimmable>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<None Include="Templates\EntityQuery.ForEach.gen.cs">
|
|
<DesignTime>True</DesignTime>
|
|
<AutoGen>True</AutoGen>
|
|
<DependentUpon>EntityQuery.ForEach.tt</DependentUpon>
|
|
</None>
|
|
<None Include="Templates\ForEach.gen.cs">
|
|
<DependentUpon>ForEach.tt</DependentUpon>
|
|
<DesignTime>True</DesignTime>
|
|
<AutoGen>True</AutoGen>
|
|
</None>
|
|
<None Include="Templates\QueryBuilder.With.gen.cs">
|
|
<DesignTime>True</DesignTime>
|
|
<AutoGen>True</AutoGen>
|
|
<DependentUpon>QueryBuilder.With.tt</DependentUpon>
|
|
</None>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\Ghost.Core\Ghost.Core.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<None Update="Templates\EntityQuery.ForEach.tt">
|
|
<Generator>TextTemplatingFileGenerator</Generator>
|
|
<LastGenOutput>EntityQuery.ForEach.gen.cs</LastGenOutput>
|
|
</None>
|
|
<None Update="Templates\ForEach.tt">
|
|
<LastGenOutput>ForEach.gen.cs</LastGenOutput>
|
|
<Generator>TextTemplatingFileGenerator</Generator>
|
|
</None>
|
|
<None Update="Templates\EntityQuery.JobEntityParallel.tt">
|
|
<Generator>TextTemplatingFileGenerator</Generator>
|
|
<LastGenOutput>EntityQuery.JobEntityParallel.gen.cs</LastGenOutput>
|
|
</None>
|
|
<None Update="Templates\QueryBuilder.With.tt">
|
|
<Generator>TextTemplatingFileGenerator</Generator>
|
|
<LastGenOutput>QueryBuilder.With.gen.cs</LastGenOutput>
|
|
</None>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Service Include="{508349b6-6b84-4df5-91f0-309beebad82d}" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Update="Templates\EntityQuery.ForEach.gen.cs">
|
|
<DesignTime>True</DesignTime>
|
|
<AutoGen>True</AutoGen>
|
|
<DependentUpon>EntityQuery.ForEach.tt</DependentUpon>
|
|
</Compile>
|
|
<Compile Update="Templates\EntityQuery.JobEntityParallel.gen.cs">
|
|
<DesignTime>True</DesignTime>
|
|
<AutoGen>True</AutoGen>
|
|
<DependentUpon>EntityQuery.JobEntityParallel.tt</DependentUpon>
|
|
</Compile>
|
|
<Compile Update="Templates\ForEach.gen.cs">
|
|
<DesignTime>True</DesignTime>
|
|
<AutoGen>True</AutoGen>
|
|
<DependentUpon>ForEach.tt</DependentUpon>
|
|
</Compile>
|
|
<Compile Update="Templates\QueryBuilder.With.gen.cs">
|
|
<DesignTime>True</DesignTime>
|
|
<AutoGen>True</AutoGen>
|
|
<DependentUpon>QueryBuilder.With.tt</DependentUpon>
|
|
</Compile>
|
|
</ItemGroup>
|
|
|
|
</Project>
|