Hey there,
I was looking into adding LUA support for mods in my Game, and my plan is to provide an API for users to that provides them with functions to use but also limits them such that they don’t get full access to everything like spawning objects that is included in all the LUA plugins I have found for Unity so far.
Maybe my google skills are lacking for this but I can’t find something telling me how to a) generate and API for LUA and b) limit it to only use the API