#UnityTip#csharp spans are ref structs which enables changing value types stored in them. This allows convenient enumeration of parts of arrays, allocation free.
Here is a short example updating a slice of an array and working directly on the enumerator 👇#gamedev #indiedev pic.twitter.com/uv0nMjCsQ0
— Binary Impact (@BinaryImpactG) April 9, 2024