Esempio n. 1
0
        static int _m_LoadGameObject(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                LoadManager gen_to_be_invoked = (LoadManager)translator.FastGetCSObj(L, 1);



                {
                    string _path = LuaAPI.lua_tostring(L, 2);

                    UnityEngine.GameObject gen_ret = gen_to_be_invoked.LoadGameObject(_path);
                    translator.Push(L, gen_ret);



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