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

public AddSelection ( int index, bool scrollItToView ) : void
index int
scrollItToView bool
Результат void
Пример #1
0
 static public int AddSelection(IntPtr l)
 {
     try {
         FairyGUI.GList self = (FairyGUI.GList)checkSelf(l);
         System.Int32   a1;
         checkType(l, 2, out a1);
         System.Boolean a2;
         checkType(l, 3, out a2);
         self.AddSelection(a1, a2);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static int AddSelection(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 3);
         FairyGUI.GList obj  = (FairyGUI.GList)ToLua.CheckObject(L, 1, typeof(FairyGUI.GList));
         int            arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
         bool           arg1 = LuaDLL.luaL_checkboolean(L, 3);
         obj.AddSelection(arg0, arg1);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }