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.
11 lines
228 B
C#
11 lines
228 B
C#
using Ghost.Entities;
|
|
using Misaki.HighPerformance.Mathematics;
|
|
using System.Runtime.CompilerServices;
|
|
|
|
namespace Ghost.Engine.Components;
|
|
|
|
[SkipLocalsInit]
|
|
public struct LocalToWorld : IComponent
|
|
{
|
|
public float4x4 matrix;
|
|
} |