The previous implementation leaked four materials per marker, since access to the material field actually copies the material.
Also updates the C# language version to latest. There are certain runtime-dependent features (range indexing ^1, static-method-in-interface, &c.) that don't work, but the vast majority of syntax sugar is fine.
The previous implementation leaked four materials per marker, since access to the
material
field actually copies the material.Also updates the C# language version to
latest
. There are certain runtime-dependent features (range indexing^1
, static-method-in-interface, &c.) that don't work, but the vast majority of syntax sugar is fine.