Auki::ConjureKit::ECS::SystemManager
Public Functions
Name | |
---|---|
void | RegisterSystem(ISystem system, Action onComplete) Registers all the components of a system asynchronously and calls the onComplete when all components have been registered. |
void | UnregisterSystem(ISystem system) Unregisters the specified system. System is unsubscribed from subscribed component types updates and stops receiving updates. |
void | UnregisterAllSystems() Unregisters all registered systems. |
IList< ISystem > | GetRegisteredSystemsForComponentType(string componentTypeName) Queries SystemManager for all registered Systems handling the specified component type. |
Public Functions Documentation
function RegisterSystem
void RegisterSystem(
ISystem system,
Action onComplete
)
Registers all the components of a system asynchronously and calls the onComplete when all components have been registered.
function UnregisterSystem
void UnregisterSystem(
ISystem system
)
Unregisters the specified system. System is unsubscribed from subscribed component types updates and stops receiving updates.
function UnregisterAllSystems
void UnregisterAllSystems()
Unregisters all registered systems.
function GetRegisteredSystemsForComponentType
IList< ISystem > GetRegisteredSystemsForComponentType(
string componentTypeName
)
Queries SystemManager for all registered Systems handling the specified component type.