I've searched around and there seems to be a lot of different ways to do this. I'm not sure which of them are actual good ideas - seeing some of the suggestions are pretty old. Even the newer ones i found was from before 1.0 (or mostly atleast).
I have experience with UI Toolkit and wondered if i should just go ahead and do that and run it off a normal MonoBehaviour? Then comes my next question, how would i communicate - i need to send some user input back to my ISystem(s).
I found this code example and was wondering if using World.EntityManager.CreateEntity to create a single entity and then load it with IComponentData is the correct approach? The UI is mostly just the UI components holding the data and can pass it onto a component, but i might later want to track positions of the mouse - does the example in the code below demonstrate a good way of doing that? (adding positions to a DynamicBuffer)?
Sorry if this is a noob question, but i did spend time researching it but right now, i'm not sure what advice/example to follow