See:
https://discussions.unity.com/t/896589/4
As for the how to attach - use either EntityManager.AddComponentObject in runtime, or baker to add UnityEngine.Object during baking stage.
See:
https://discussions.unity.com/t/896589/4
As for the how to attach - use either EntityManager.AddComponentObject in runtime, or baker to add UnityEngine.Object during baking stage.