예제 #1
0
        public static void SetAlpha(this PedalGraphic pedalGraphic, float amount)
        {
            var temp = pedalGraphic.color;

            temp.a             = amount;
            pedalGraphic.color = temp;
        }
예제 #2
0
 public static float GetFillAngle(this PedalGraphic pedalGraphic)
 {
     return(pedalGraphic.field_Public_Single_3);
 }
예제 #3
0
 //These things might change, just a bit tricky to identify the correct ones using reflection
 public static void SetFillAngle(this PedalGraphic pedalGraphic, float angle)
 {
     pedalGraphic.field_Public_Single_3 = angle;
 }