Color32 Constructor

Declaration

public Color32(byte r, byte g, byte b, byte a);

Description

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

using UnityEngine;

public class Example : MonoBehaviour { Color32 color = new Color32(64, 128, 192, 255); }

Did you find this page useful? Please give it a rating: