public CustomColor LevelColor(int value, int min, int max) { return(CustomColor.Lerp(new CustomColor(1, 0, 0), new CustomColor(0, 1, 0), (float)(value - min) / (max - min))); }
public CustomColor LevelColor(int value, int min, int max) { return(CustomColor.Lerp(new CustomColor(1, 0, 0), new CustomColor(0, 1, 0), (float)(value - min) / (max - min))); }