GlorifiedStudios / Protomod

Protomod is a moddable Unity project with Lua scripting support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Protomod

Protomod was created to prototype Unity's modding potential for future Glorified Studios projects. I have decided to make the project public so other people may be able to learn from it.

It features a fully working console made with ImGui, as well as a publisher-subscriber event system made in C# and hooked into Lua for an easy way to communicate events.

How does it work?

Protomod implements MoonSharp into Unity to enable Lua scripting support. We then auto-include all Lua files under the {ApplicationPath}/Mods folder.

You can find most of the meat under the Assets/Scripts/Lua folder.

Press F1 to toggle the ingame console.

Screenshot of the in-game console

About

Protomod is a moddable Unity project with Lua scripting support

License:MIT License


Languages

Language:C# 93.6%Language:ShaderLab 5.6%Language:HLSL 0.8%Language:Lua 0.0%