UnityEngine.Color32.Color32 C# (CSharp) Method

Color32() public method

Constructs a new Color32 with given r, g, b, a components.

public Color32 ( byte r, byte g, byte b, byte a ) : System
r byte
g byte
b byte
a byte
return System
        public Color32(byte r, byte g, byte b, byte a)
        {
            this.r = r;
            this.g = g;
            this.b = b;
            this.a = a;
        }