Exemplo n.º 1
0
        static int _m_setToggleEvent_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);
                    System.Action <bool> _cb = translator.GetDelegate <System.Action <bool> >(L, 3);

                    PUtils.setToggleEvent(_item, _child, _cb);



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