Exemplo n.º 1
0
        static int _m_setText_xlua_st_(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);



                {
                    UnityEngine.Transform _item = (UnityEngine.Transform)translator.GetObject(L, 1, typeof(UnityEngine.Transform));
                    string _child = LuaAPI.lua_tostring(L, 2);
                    string _text  = LuaAPI.lua_tostring(L, 3);

                    PUtils.setText(_item, _child, _text);



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