Hello everyone,
I'm working on a project using Unity's DOTS and I am considering a method for managing GameObjects converted to entities. My main question revolves around the feasibility and best practices of using UntypedWeakReferenceId to access these entities during runtime.
Here is the scenario:
- I want to convert a GameObject into an Entity.
- Then, I plan to use UntypedWeakReferenceId to reference and access this entity in the game.
Could anyone share insights or advice on whether this approach is recommended or if there are potential pitfalls I should be aware of? Specifically, I'm curious about the performance implications and any limitations related to the lifecycle management of such entities.
Any suggestions or examples of similar implementations would be greatly appreciated. Thank you in advance for your help!