laurenth-personal / lightmap-switching-tool

Tool that allows switching different baked lightmap sets on a unity scene at runtime.
MIT License
682 stars 90 forks source link

Optimize #33

Closed Bian-Sh closed 3 years ago

Bian-Sh commented 3 years ago
  1. As you use SceneAsset to store the reference of scene, you can directly get the path of the target scene.
  2. On the other hand , AssetDatabase.FindAssets will get incorrect asset when there is a same named file .
  3. Simplify Code such as decrease function parameter and so on.
laurenth-personal commented 3 years ago

Hi, Thank you very much for this contribution. I'll take a deeper look tomorrow or thursday but it looks like I'll probably integrate all your changes.

laurenth-personal commented 3 years ago

Do you need a release on OpenUPM ?