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
- MotionVector Effect: Object “disappears” when paused
- [GreaseMonkey] Unity Forum Fixer
- UnityHub: Make Hub application background Translucent
- Customize SpriteShapeRenderer quality (but has issues)
- Editor tool: Copy selected gameobject’s names into clipboard as rows (for Excel)
- Editor tool: Replace string in selected gameobject’s names
- UnityHub: Enable built-in Login Dialog (no more browser login/logout issues!)
- Use TikTok-TTS in Unity (with WebRequest)
- Create Scene Thumbnail Image using OnSceneSaved & OnPreviewGUI
- webgl+javascript TTS
- Using Moonsharp (LUA) + Unity Webgl
- Using 3D gameobject prefabs with Unity Tilemap + NavMesh Surface
Recent Comments
- [Asset Store] Point Cloud Viewer & Tools on
- [Asset Store] Point Cloud Viewer & Tools on
- Vector3 maths for dummies! on
- UnityHub: Make Hub application background Translucent on
- UnityHub: Make Hub application background Translucent on
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub) on
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub) on
- [Asset Store] Point Cloud Viewer & Tools on