Native AOT
Friflo.Engine.ECS supports Native AOT deployment.
Note JSON serialization is currently not support by Native AOT.
Using Friflo.Engine.ECS does not require a source generator - aka Roslyn Analyzer. A source generator could be used to register component types automatically.
Because of this component types used by an application must be registered on startup as shown below.
In case using an unregistered component a TypeInitializationException
will be thrown. E.g.
On console to the exception log looks like
Last updated