UniLua icon indicating copy to clipboard operation
UniLua copied to clipboard

Unable to map Object static functions

Open plasmalasgun opened this issue 11 years ago • 0 comments

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!

plasmalasgun avatar Jul 25 '14 03:07 plasmalasgun