decline-cookies / anvil-unity-dots

Unity DOTS and ECS specific additions and extensions to Anvil
MIT License
4 stars 1 forks source link

ComponentTypeExtension.ToReadOnly - Add IEnumerable overload #263

Closed mbaker3 closed 1 year ago

mbaker3 commented 1 year ago

What is the current behaviour?

ToReadOnly can only be called on ComponentType[]

What is the new behaviour?

ToReadOnly can now be called on any IEnumerable<ComponentType>

What issues does this resolve?

What PRs does this depend on?

Does this introduce a breaking change?