Remove() public method

public Remove ( GObject target, RelationType relationType ) : void
target GObject
relationType RelationType
return void
 static public int Remove(IntPtr l)
 {
     try {
         FairyGUI.Relations self = (FairyGUI.Relations)checkSelf(l);
         FairyGUI.GObject   a1;
         checkType(l, 2, out a1);
         FairyGUI.RelationType a2;
         checkEnum(l, 3, out a2);
         self.Remove(a1, a2);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
示例#2
0
 static int Remove(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 3);
         FairyGUI.Relations    obj  = (FairyGUI.Relations)ToLua.CheckObject(L, 1, typeof(FairyGUI.Relations));
         FairyGUI.GObject      arg0 = (FairyGUI.GObject)ToLua.CheckObject(L, 2, typeof(FairyGUI.GObject));
         FairyGUI.RelationType arg1 = (FairyGUI.RelationType)ToLua.CheckObject(L, 3, typeof(FairyGUI.RelationType));
         obj.Remove(arg0, arg1);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }