Contains() public method

public Contains ( GObject target ) : bool
target GObject
return bool
 static public int Contains(IntPtr l)
 {
     try {
         FairyGUI.Relations self = (FairyGUI.Relations)checkSelf(l);
         FairyGUI.GObject   a1;
         checkType(l, 2, out a1);
         var ret = self.Contains(a1);
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Ejemplo n.º 2
0
 static int Contains(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         FairyGUI.Relations obj  = (FairyGUI.Relations)ToLua.CheckObject(L, 1, typeof(FairyGUI.Relations));
         FairyGUI.GObject   arg0 = (FairyGUI.GObject)ToLua.CheckObject(L, 2, typeof(FairyGUI.GObject));
         bool o = obj.Contains(arg0);
         LuaDLL.lua_pushboolean(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }