Inheritance: MonoBehaviour, IBeginDragHandler, IEndDragHandler
Exemplo n.º 1
0
    static int get_pageCount(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            UIScrollPage obj = (UIScrollPage)o;
            int          ret = obj.pageCount;
            LuaDLL.lua_pushinteger(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index pageCount on a nil value" : e.Message));
        }
    }
Exemplo n.º 2
0
    static int get_autoInterval(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            UIScrollPage obj = (UIScrollPage)o;
            float        ret = obj.autoInterval;
            LuaDLL.lua_pushnumber(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index autoInterval on a nil value" : e.Message));
        }
    }
Exemplo n.º 3
0
    static int get_uiMod(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            UIScrollPage obj = (UIScrollPage)o;
            UIMod        ret = obj.uiMod;
            ToLua.Push(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index uiMod on a nil value" : e.Message));
        }
    }