示例#1
0
 public virtual void OnApplicationQuit()
 {
     this.inputvalueChangeAction      = null;
     this.inputeditEndAction          = null;
     this.togglevalueChangeAction     = null;
     this.scrollbarvalueChangeAction  = null;
     this.slidervalueChangeAction     = null;
     this.dropdownvalueChangeAction   = null;
     this.scrollrectvalueChangeAction = null;
     this.onEvent = null;
 }
示例#2
0
    static int get_onIntValueChange(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            UGUIMsgHandler       obj = (UGUIMsgHandler)o;
            IntValueChangeAction ret = obj.onIntValueChange;
            ToLua.Push(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index onIntValueChange on a nil value"));
        }
    }
示例#3
0
    static int set_onIntValueChange(IntPtr L)
    {
        object o = null;

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

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

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