--

Thank you for pointing that out. I've made some changes. Structs are not immutable, they're passed by value.

They are often stored on the stack. But if for example, if you have an array of structs, they'll be on the heap in the array.

--

--

Natalia DaLomba

A Unity C# developer inspired by game design logic used to create digital adventures. https://www.starforce.games/devlog/