Version: 2017.3

描述

Color32 可与 Color 隐式相互转换。

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { public Color32 color = new Color(0.5F, 1, 0.5F, 1); }