#UnityTips You can use #csharp ReadOnlySpan to avoid heap allocation which is expensive for the garbage collector.
Here is a simple example code to show the usage 👇
Bonus tip: also a very nice example for the range operator!#gamedev #indiedev pic.twitter.com/tLkD3esJcp
— Binary Impact (@BinaryImpactG) September 12, 2023