Exemple #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;
 }
Exemple #2
0
    static int get_onRectValueChange(IntPtr L)
    {
        object o = null;

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

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

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

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