Whinarn / UnityMeshSimplifier

Mesh simplification for Unity.
MIT License
1.74k stars 276 forks source link

Added Button to copy LODGroup visibility changes #21

Closed hybridherbst closed 4 years ago

hybridherbst commented 5 years ago

I find myself often doing this workflow with LODGeneratorHelper: Create LODs Adjust visibility settings on the LODGroup component Destroy LODs enter the changed visibility values Create LODs ... repeat.

This PR adds a button that detects visibility changes in the LODGroup and allows copying them back to the Levels: image (button becomes active once there are changes)

Ultimately, an "interactive" workflow would be better, where Levels is still shown and I can adjust visibility and reduction settings "on the fly" with a LODGroup already present (manually updating only changed LODs as necessary, or updating automatically in the background). However, as a first step this already helps my workflow a lot.