GetSelection() public method

public GetSelection ( ) : List
return List
 static public int GetSelection(IntPtr l)
 {
     try {
         FairyGUI.TreeView self = (FairyGUI.TreeView)checkSelf(l);
         var ret = self.GetSelection();
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
示例#2
0
 static int GetSelection(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         FairyGUI.TreeView obj = (FairyGUI.TreeView)ToLua.CheckObject(L, 1, typeof(FairyGUI.TreeView));
         System.Collections.Generic.List <FairyGUI.TreeNode> o = obj.GetSelection();
         ToLua.PushObject(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }