Color32 Constructor

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); }