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

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

		try
		{
			o = ToLua.ToObject(L, 1);
			OtherEventListenner obj = (OtherEventListenner)o;
			StrValueChangeAction ret = obj.inputvalueChangeAction;
			ToLua.Push(L, ret);
			return 1;
		}
		catch(Exception e)
		{
			return LuaDLL.toluaL_exception(L, e, o, "attempt to index inputvalueChangeAction on a nil value");
		}
	}
Esempio n. 4
0
    static int set_onEditEnd(IntPtr L)
    {
        object o = null;

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

		try
		{
			o = ToLua.ToObject(L, 1);
			OtherEventListenner obj = (OtherEventListenner)o;
			StrValueChangeAction arg0 = (StrValueChangeAction)ToLua.CheckDelegate<StrValueChangeAction>(L, 2);
			obj.inputeditEndAction = arg0;
			return 0;
		}
		catch(Exception e)
		{
			return LuaDLL.toluaL_exception(L, e, o, "attempt to index inputeditEndAction on a nil value");
		}
	}