decline-cookies / anvil-unity-dots

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

NativeArrayExtension - ElementAt(Readonly) Allow structs #286

Closed mbaker3 closed 11 months ago

mbaker3 commented 11 months ago

Allow the EleementAt* methods to accept struct types. Not just unmanaged

What is the current behaviour?

Only primitive unamanged types are allowed.

What is the new behaviour?

All struct types are allowed to be fetched by reference.

What issues does this resolve?

What PRs does this depend on?

Does this introduce a breaking change?