Browse Source

Fix: add #if

AnnulusGames 11 months ago
parent
commit
af3a8dfdf3

+ 3 - 1
src/Lua.Unity/Assets/Lua.Unity/Runtime/AddressablesModuleLoader.cs

@@ -1,3 +1,4 @@
+#if LUA_UNITY_ADDRESSABLES
 using System;
 using System.Collections.Generic;
 using System.Linq;
@@ -79,4 +80,5 @@ namespace Lua.Unity
             }
         }
     }
-}
+}
+#endif