RemoveSelection() public method

public RemoveSelection ( int index ) : void
index int
return void
コード例 #1
0
 static public int RemoveSelection(IntPtr l)
 {
     try {
         FairyGUI.GList self = (FairyGUI.GList)checkSelf(l);
         System.Int32   a1;
         checkType(l, 2, out a1);
         self.RemoveSelection(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
コード例 #2
0
 static int RemoveSelection(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         FairyGUI.GList obj  = (FairyGUI.GList)ToLua.CheckObject(L, 1, typeof(FairyGUI.GList));
         int            arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
         obj.RemoveSelection(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }