RemoveSelection() public method

public RemoveSelection ( FairyGUI.TreeNode node ) : void
node FairyGUI.TreeNode
return void
 static public int RemoveSelection(IntPtr l)
 {
     try {
         FairyGUI.TreeView self = (FairyGUI.TreeView)checkSelf(l);
         FairyGUI.TreeNode 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.TreeView obj  = (FairyGUI.TreeView)ToLua.CheckObject(L, 1, typeof(FairyGUI.TreeView));
         FairyGUI.TreeNode arg0 = (FairyGUI.TreeNode)ToLua.CheckObject(L, 2, typeof(FairyGUI.TreeNode));
         obj.RemoveSelection(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }