public static void SetValue(this RadialPuppetMenu radialPuppet, float value) { radialPuppet.GetFill().SetFillAngle(value / 100 * 360); radialPuppet.UpdateDisplay(); }
public static void SetValue(this RadialPuppetMenu radialPuppet, float value) { radialPuppet.GetFill().field_Public_Single_3 = (value / 100) * 360; radialPuppet.UpdateDisplay(); }
public static void SetAngle(this RadialPuppetMenu radialPuppet, float angle) { radialPuppet.GetFill().SetFillAngle(angle); radialPuppet.UpdateDisplay(); }
public static void SetAngle(this RadialPuppetMenu radialPuppet, float angle) { radialPuppet.GetFill().field_Public_Single_3 = angle; radialPuppet.UpdateDisplay(); }