#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
3 likes 0 replies
?