5 public static Color RandomHSV(
float minS,
float maxS,
float minV,
float maxV)
31 int num2 = (int)Mathf.Floor(num);
32 float num3 = num - (float)num2;
33 float num4 = V * (1f - S);
34 float num5 = V * (1f - S * num3);
35 float num6 = V * (1f - S * (1f - num3));
79 white.r = Mathf.Clamp(white.r, 0f, 1f);
80 white.g = Mathf.Clamp(white.g, 0f, 1f);
81 white.b = Mathf.Clamp(white.b, 0f, 1f);
static Color RandomHSV(float minS, float maxS, float minV, float maxV)
static Color HSVToRGB(float H, float S, float V)
static int Range(int min, int max)