Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. We are looking for feedback on the experimental Unity Safe Mode which is aiming to help you resolve compilation errors faster during project startup.
    Dismiss Notice
  3. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

[Suggestion] Access multiple SharedComponentData in Groups almost like GetComponentGroup

Discussion in 'Data Oriented Technology Stack' started by Mr-Mechanical, Mar 23, 2019.

  1. Mr-Mechanical

    Mr-Mechanical

    Joined:
    May 31, 2015
    Posts:
    479
    Let's say you have multiple SharedComponentDatas (they are different types) on the same entity. I would like to access those different types in groups so I can access the different SharedComponentData grouped together. I could do GetAllUniqueSharedComponentData on both types but I'm not sure they would be grouped together. Any suggestion for this situation? Maybe this should be a feature if there isn't something for this sort of thing.

    Thanks.
     
unityunity