UniLua
UniLua copied to clipboard
Unable to map Object static functions
unity_engine.lua
class("Object")
:static_method("Object Instantiate(Object, Vector3, Quaternion)")
:static_method("Object Instantiate(Object)")
:static_method("Destroy(Object, float)")
mapping any of this these will give you errors " Exception: @lib\ffi.lua:291: Instantiate LuaScriptController.Awake () (at Assets/Behaviour/LuaScriptController.cs:32) " Any way to properly map these (necessary) functions? Thanks in advance!