Color32(byte, byte, byte, byte)
Constructs a new Color32 with given r, g, b, a components.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Constructor
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public Color32(byte r, byte g, byte b, byte a)
Parameters
Examples
using UnityEngine;public class Example : MonoBehaviour{ Color32 color = new Color32(64, 128, 192, 255);}