コード例 #1
0
        static int _m_loadObj_xlua_st_(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);



                {
                    string url = LuaAPI.lua_tostring(L, 1);
                    System.Action <UnityEngine.GameObject> callBack = translator.GetDelegate <System.Action <UnityEngine.GameObject> >(L, 2);

                    LuaExtend.loadObj(url, callBack);



                    return(0);
                }
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
        }