static public int get_duration(IntPtr l)
 {
     try {
         UIButtonRotation self = (UIButtonRotation)checkSelf(l);
         pushValue(l, true);
         pushValue(l, self.duration);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int set_pressed(IntPtr l)
 {
     try {
         UIButtonRotation    self = (UIButtonRotation)checkSelf(l);
         UnityEngine.Vector3 v;
         checkType(l, 2, out v);
         self.pressed = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int set_tweenTarget(IntPtr l)
 {
     try {
         UIButtonRotation      self = (UIButtonRotation)checkSelf(l);
         UnityEngine.Transform v;
         checkType(l, 2, out v);
         self.tweenTarget = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int set_duration(IntPtr l)
 {
     try {
         UIButtonRotation self = (UIButtonRotation)checkSelf(l);
         System.Single    v;
         checkType(l, 2, out v);
         self.duration = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Beispiel #5
0
    public static float $Get2(object instance, int index)
    {
        UIButtonRotation expr_06_cp_0 = (UIButtonRotation)instance;

        switch (index)
        {
        case 0:
            return(expr_06_cp_0.pressed.x);

        case 1:
            return(expr_06_cp_0.pressed.y);

        case 2:
            return(expr_06_cp_0.pressed.z);

        default:
            throw new ArgumentOutOfRangeException("index");
        }
    }
Beispiel #6
0
    public static void $Set2(object instance, float value, int index)
    {
        UIButtonRotation expr_06_cp_0 = (UIButtonRotation)instance;

        switch (index)
        {
        case 0:
            expr_06_cp_0.pressed.x = value;
            return;

        case 1:
            expr_06_cp_0.pressed.y = value;
            return;

        case 2:
            expr_06_cp_0.pressed.z = value;
            return;

        default:
            throw new ArgumentOutOfRangeException("index");
        }
    }