OnScroll() публичный Метод

Allow scrolling of the text list.
public OnScroll ( float val ) : void
val float
Результат void
Пример #1
0
 static public int OnScroll(IntPtr l)
 {
     try {
         UITextList    self = (UITextList)checkSelf(l);
         System.Single a1;
         checkType(l, 2, out a1);
         self.OnScroll(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Пример #2
0
 static int OnScroll(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         UITextList obj  = (UITextList)ToLua.CheckObject <UITextList>(L, 1);
         float      arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
         obj.OnScroll(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }