CobeyH / Leora

2D Moth Puzzle Game written in Unity
4 stars 1 forks source link

Fixing build errors #263

Closed CobeyH closed 1 year ago

CobeyH commented 1 year ago

The build errors were caused by some code in the light builder script that should only run while in editor mode. I added a #if UNITY_EDITOR statement to prevent the code from running in the production build.

image\ Resolves #247