IsChildInView() public method

public IsChildInView ( GObject obj ) : bool
obj GObject obj must be the direct child of this container
return bool
Beispiel #1
0
 static public int IsChildInView(IntPtr l)
 {
     try {
         FairyGUI.ScrollPane self = (FairyGUI.ScrollPane)checkSelf(l);
         FairyGUI.GObject    a1;
         checkType(l, 2, out a1);
         var ret = self.IsChildInView(a1);
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static int IsChildInView(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         FairyGUI.ScrollPane obj  = (FairyGUI.ScrollPane)ToLua.CheckObject(L, 1, typeof(FairyGUI.ScrollPane));
         FairyGUI.GObject    arg0 = (FairyGUI.GObject)ToLua.CheckObject(L, 2, typeof(FairyGUI.GObject));
         bool o = obj.IsChildInView(arg0);
         LuaDLL.lua_pushboolean(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }