unity-curves
unity-curves copied to clipboard
Readonly modifiers is a good practice to avoid unintended copies
Using readonly modifiers in struct properties and methods can help to avoid unintended copies. Link to docs. This will only work for Unity with C# 8.0 support (Unity 2020+ if I'm not mistaken), so if you plan to support older versions, may not want to merge.