SetTarget() public method

public SetTarget ( string label, GObject newTarget ) : void
label string
newTarget GObject
return void
 static public int SetTarget(IntPtr l)
 {
     try {
         FairyGUI.Transition self = (FairyGUI.Transition)checkSelf(l);
         System.String       a1;
         checkType(l, 2, out a1);
         FairyGUI.GObject a2;
         checkType(l, 3, out a2);
         self.SetTarget(a1, a2);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static int SetTarget(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 3);
         FairyGUI.Transition obj = (FairyGUI.Transition)ToLua.CheckObject(L, 1, typeof(FairyGUI.Transition));
         string           arg0   = ToLua.CheckString(L, 2);
         FairyGUI.GObject arg1   = (FairyGUI.GObject)ToLua.CheckObject(L, 3, typeof(FairyGUI.GObject));
         obj.SetTarget(arg0, arg1);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }