static int set_rightOrDown(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UI.UIScrollTips obj = (UI.UIScrollTips)o; UnityEngine.GameObject arg0 = (UnityEngine.GameObject)ToLua.CheckUnityObject(L, 2, typeof(UnityEngine.GameObject)); obj.rightOrDown = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index rightOrDown on a nil value" : e.Message)); } }
static int get_rightOrDown(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UI.UIScrollTips obj = (UI.UIScrollTips)o; UnityEngine.GameObject ret = obj.rightOrDown; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index rightOrDown on a nil value" : e.Message)); } }
public void SwitchToItem(int index) { UIScrollTips.ScrollPos(m_scroll, index); }