Ejemplo n.º 1
0
        public static float $Get0(object instance, int index)
        {
            ButtonTap expr_06_cp_0 = (ButtonTap)instance;

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

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

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

            default:
                throw new ArgumentOutOfRangeException("index");
            }
        }
Ejemplo n.º 2
0
        public static void $Set0(object instance, float value, int index)
        {
            ButtonTap expr_06_cp_0 = (ButtonTap)instance;

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

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

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

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