Currently there are extension methods in ManagedReferenceExtension and ComponentSystemBaseExtension that will call functions on a ComponentSystemBase such as GetSingleton.
These functions will be going away as they are marked as Obsolete and the correct usage is to call SystemAPI.GetSingleton instead.
This is fine, however Unity's codegen detects that SystemAPI was called outside of the System and won't compile.
We may have to add these functions to our own AbstractAnvilSystemBase and call SystemAPI in there.
Currently there are extension methods in
ManagedReferenceExtension
andComponentSystemBaseExtension
that will call functions on aComponentSystemBase
such asGetSingleton
.These functions will be going away as they are marked as
Obsolete
and the correct usage is to callSystemAPI.GetSingleton
instead.This is fine, however Unity's codegen detects that
SystemAPI
was called outside of the System and won't compile.We may have to add these functions to our own
AbstractAnvilSystemBase
and callSystemAPI
in there.