示例#1
0
 static public int UpdateState(IntPtr l)
 {
     try {
         FairyGUI.GearBase self = (FairyGUI.GearBase)checkSelf(l);
         self.UpdateState();
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
示例#2
0
 static public int get_tween(IntPtr l)
 {
     try {
         FairyGUI.GearBase self = (FairyGUI.GearBase)checkSelf(l);
         pushValue(l, true);
         pushValue(l, self.tween);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
示例#3
0
 static public int get_easeType(IntPtr l)
 {
     try {
         FairyGUI.GearBase self = (FairyGUI.GearBase)checkSelf(l);
         pushValue(l, true);
         pushEnum(l, (int)self.easeType);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
示例#4
0
 static public int set_tween(IntPtr l)
 {
     try {
         FairyGUI.GearBase self = (FairyGUI.GearBase)checkSelf(l);
         System.Boolean    v;
         checkType(l, 2, out v);
         self.tween = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
示例#5
0
 static public int Setup(IntPtr l)
 {
     try {
         FairyGUI.GearBase  self = (FairyGUI.GearBase)checkSelf(l);
         FairyGUI.Utils.XML a1;
         checkType(l, 2, out a1);
         self.Setup(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
示例#6
0
 static public int set_controller(IntPtr l)
 {
     try {
         FairyGUI.GearBase   self = (FairyGUI.GearBase)checkSelf(l);
         FairyGUI.Controller v;
         checkType(l, 2, out v);
         self.controller = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
示例#7
0
 static public int set_delay(IntPtr l)
 {
     try {
         FairyGUI.GearBase self = (FairyGUI.GearBase)checkSelf(l);
         System.Single     v;
         checkType(l, 2, out v);
         self.delay = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
示例#8
0
 static public int set_easeType(IntPtr l)
 {
     try {
         FairyGUI.GearBase self = (FairyGUI.GearBase)checkSelf(l);
         DG.Tweening.Ease  v;
         checkEnum(l, 2, out v);
         self.easeType = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }