Entitas
Entitas copied to clipboard
how do I create 2 separate "Context" ?
Hi,
Thank you for sharing your software. How do I create 2 separate "Context" to be able to create entities? for example: I want my Game entities to be created separate from UI entities.
I tried different system and features but it won't work.
Cheers Kamran
Make separate contexts like GameContext and UiContext, no? You can make a different contexts in preferences.
I use Entitas in csharp. I do NOT use Unity.
You should modify config file that generator reads from and add context name to Entitas.CodeGeneration.Plugins.Contexts
see https://github.com/sschmid/Match-One/blob/master/Jenny.properties for example
@bayganik
See Entitas-Standalone
It's a pure C# console app. Contexts can be defined in Jenny.properties
by specifying a comma separated list of context names for Entitas.CodeGeneration.Plugins.Contexts