Description

Color32 可与 Color 隐式相互转换。

using UnityEngine;

public class Example : MonoBehaviour { void Start() { Color32 color = new Color(0.5f, 1f, 0.5f, 1f); } }