Luny Manual Available
I released the first draft of the Luny Manual. This is for v0.3. The Manual is a Google Document in which you can leave inline comments. Please make use of this feature to leave questions or feedback. You can also…
I released the first draft of the Luny Manual. This is for v0.3. The Manual is a Google Document in which you can leave inline comments. Please make use of this feature to leave questions or feedback. You can also…
I ported Unity Learn’s Tanks! project to Luny. It’s a major milestone for Luny – the Lua solution for Unity. The Code Is Lua, Literally! You read that right: Lua, not lava! The demo runs Lua code!😀 In the browser!!😃…
In Lua both dot . and colon : separate identifiers. But when to use which? Dot Syntax Nothing out of the ordinary: In fact, besides the missing semicolon ; this would be legal C# code. Colon Syntax So why is…
Use Case You need to create a LunyScript subclass with an associated Lua script. Create Asset Menu The Create Asset menu has been extended. Under the Scripting category you will find two new options: Choose Empty LunyScript to create a…
Use Case Your C# LunyScript subclass needs to expose Lua script values to other C# scripts. Lua Implementation Your Lua script defines a script.currentHealth value that you wish to make available in C#: C# Implementation You can implement a C#…
Use Case Your C# script needs to expose values to the Lua script before it even runs its Awake() function. C# Implementation The OnBeforeScriptAwake() method, when overridden in your LunyScript subclass, runs just before the script’s Awake() function. Use it…
Luny is the first workable Lua scripting solution for Unity! Since early 2025 I have been busy doing the thing I’ve wanted to do for a decade but didn’t consider it viable: Lua scripting for Unity. 🤓 Not like existing…