Helper file for Duplicating Lightmapped objects.
Note: This script orignally belonged to user Xuan yu song on bitbucket. This project was modified while I was working on Lightmaps for unity 5.4 as the origanl project did not supported Precomputed Realtime GI.
- Import the script in project.
- Bake the lighting in scene.
- Press Ctrl+Shift+D instead of normal Ctrl+D to duplicate.
- Voila and you have your Lightmapped object duplicated.
- Origanlly the script did not allowed user to edit the duplicated objects. But now you can edit just by clicking on the flag "isEnableEdit" in the script and Update the flag settings in the game by clicking "updateNow".