描述

Color32 可与 Color 隐式相互转换。

using UnityEngine;

public class Example : MonoBehaviour { void Start() { Color color = new Color32(128, 255, 128, 255); } }