AddAfterMe() public method

Add another object after this object. 在显示列表中,将另一个对象插入到这个对象的后面。
public AddAfterMe ( GObject target ) : void
target GObject Target object.
return void
 static public int AddAfterMe(IntPtr l)
 {
     try {
         FairyGUI.GGraph  self = (FairyGUI.GGraph)checkSelf(l);
         FairyGUI.GObject a1;
         checkType(l, 2, out a1);
         self.AddAfterMe(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Exemplo n.º 2
0
 static int AddAfterMe(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         FairyGUI.GGraph  obj  = (FairyGUI.GGraph)ToLua.CheckObject <FairyGUI.GGraph>(L, 1);
         FairyGUI.GObject arg0 = (FairyGUI.GObject)ToLua.CheckObject <FairyGUI.GObject>(L, 2);
         obj.AddAfterMe(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }