Esempio n. 1
0
        static int _m_setSliderEvent_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 <float> _cb = translator.GetDelegate <System.Action <float> >(L, 3);

                    PUtils.setSliderEvent(_item, _child, _cb);



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