You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the settings you can specify a lot of things about ecsact. Things such as your default registry and where your default runtime is loaded from. These apis are all scattered everywhere. The idea here is to create a single static class that holds these defaults and makes them available anywhere, easily.
namespaceEcsact{publicstaticclassDefaults{// Optional. Only set if runtime successfully loaded and was configured correctly.publicstaticEcsactRuntime?Runtime;// Optional. Only set if a default registry is set in the settings.publicstaticEcsactRegistry?Registry;// Optional. Only here if unity sync is enabled.publicstaticEntityGameObjectPool?Pool;// Optional. Only set if you have a default registry _AND_ your runner is set to something other than "none".publicstaticEcsact.Runner?Runner;}}
NOTE: We should not allow these to be set by the user. Maybe doing a getter/setter to prevent that would work.
The text was updated successfully, but these errors were encountered:
In the settings you can specify a lot of things about ecsact. Things such as your default registry and where your default runtime is loaded from. These apis are all scattered everywhere. The idea here is to create a single static class that holds these defaults and makes them available anywhere, easily.
NOTE: We should not allow these to be set by the user. Maybe doing a getter/setter to prevent that would work.
The text was updated successfully, but these errors were encountered: