static int GetResourcesPrefab(IntPtr L) { try { ToLua.CheckArgsCount(L, 4); GameResFactory obj = (GameResFactory)ToLua.CheckObject(L, 1, typeof(GameResFactory)); string arg0 = ToLua.CheckString(L, 2); UnityEngine.Transform arg1 = (UnityEngine.Transform)ToLua.CheckUnityObject(L, 3, typeof(UnityEngine.Transform)); LuaFunction arg2 = ToLua.CheckLuaFunction(L, 4); obj.GetResourcesPrefab(arg0, arg1, arg2); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }