railroader-setons-special-s.../src
seton eb6699f23f Fix proxy box color, mesh leak, and stale comment
The Mesh LOD proxy box rendered flat gray instead of the car's color. It was
being given a shared material tinted via Material.color (the legacy _Color
property), which URP ignores in favor of _BaseColor, and a single shared
material cannot match each car anyway. Reuse the car's own material so the box
matches its color again.

Also destroy the proxy box mesh when tearing down or refreshing a car's LOD
(the GameObject was destroyed but the Mesh leaked until scene unload), and
prune dead weak-refs from the tracked-car list periodically so it cannot grow
unbounded across a long session.

Fix a stale comment in PhysicsTimer that still referenced PhysicsOverlayGUI
after the overlay moved to the Profiler module.
2026-06-25 20:14:52 -04:00
..
Core Map: fix T key teleport in overlay and popout; pass M through when module disabled 2026-06-25 18:16:49 -04:00
Modules Fix proxy box color, mesh leak, and stale comment 2026-06-25 20:14:52 -04:00
Main.cs Profiler: new unified overlay module; absorb PhysicsOverlayGUI 2026-06-25 19:06:46 -04:00
S3.csproj v0.2.2 - map module themes, custom colors, in-game overlay 2026-06-18 21:30:53 -04:00