13
2024
Using Moonsharp (LUA) + Unity Webgl

Moonsharp has some issues in webgl builds, but here’s working repo and some notes.
REPO ( unity 2022.3.7f1 )
– https://github.com/unitycoder/MoonSharpWebGL
WEBGL DEMO
– https://unitycoder.com/upload/demos/moonsharpwebgl/
NOTES
– You need to grab this webgl fix: https://github.com/moonsharp-devs/moonsharp/pull/146
– You need to do hard wiring (or at least i didn’t get the link.xml file to work properly, it stripped my methods from LuaAPI class?) https://www.moonsharp.org/hardwire.html )
– And then call that generated class.initialize, to keep it from getting stripped (i have that code inside Interpreter.cs Start() now as a test)
Related Posts
Leave a comment
Recent posts
- Adding Real World Location to Ice Fishing Prototype
- [web tool] Image Channel Inspector : AlphaScope
- Editor Tool: Smart Recompile (don’t recompile if edit comments)
- Editor Tool: Scene Size Analyzer
- LudumDare 60: Old Tech
- uBasic Scripting Language for Unity
- GreaseMonkey+Editor Plugin: 1-Click Copy script from ChatGPT (Web) to Unity Editor (as script)
- Editor Tool: Property Watcher
- .unityignore : Hide files from Project window
- PostBuild Script to Create Single exe Standalone File
- Game Loop Designer
- Favorites in PackageManager
Recent Comments
Coin:
CUgDSbRqFcAumDSAcdKDvuXsw26VdkJe8C8WGUQHBAGS
An article by











