public virtual void OnApplicationQuit()
 {
     this.inputvalueChangeAction     = null;
     this.inputeditEndAction         = null;
     this.togglevalueChangeAction    = null;
     this.scrollbarvalueChangeAction = null;
     this.slidervalueChangeAction    = null;
     this.onEvent = null;
 }
Beispiel #2
0
    static int get_onFloatValueChange(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            UGUIMsgHandler         obj = (UGUIMsgHandler)o;
            FloatValueChangeAction ret = obj.onFloatValueChange;
            ToLua.Push(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index onFloatValueChange on a nil value"));
        }
    }
	static int set_slidervalueChangeAction(IntPtr L)
	{
		object o = null;

		try
		{
			o = ToLua.ToObject(L, 1);
			OtherEventListenner obj = (OtherEventListenner)o;
			FloatValueChangeAction arg0 = (FloatValueChangeAction)ToLua.CheckDelegate<FloatValueChangeAction>(L, 2);
			obj.slidervalueChangeAction = arg0;
			return 0;
		}
		catch(Exception e)
		{
			return LuaDLL.toluaL_exception(L, e, o, "attempt to index slidervalueChangeAction on a nil value");
		}
	}
Beispiel #4
0
    static int set_onFloatValueChange(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            UGUIMsgHandler         obj  = (UGUIMsgHandler)o;
            FloatValueChangeAction arg0 = (FloatValueChangeAction)ToLua.CheckDelegate <FloatValueChangeAction>(L, 2);
            obj.onFloatValueChange = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index onFloatValueChange on a nil value"));
        }
    }
	static int get_slidervalueChangeAction(IntPtr L)
	{
		object o = null;

		try
		{
			o = ToLua.ToObject(L, 1);
			OtherEventListenner obj = (OtherEventListenner)o;
			FloatValueChangeAction ret = obj.slidervalueChangeAction;
			ToLua.Push(L, ret);
			return 1;
		}
		catch(Exception e)
		{
			return LuaDLL.toluaL_exception(L, e, o, "attempt to index slidervalueChangeAction on a nil value");
		}
	}