Version: 2017.2

描述

Color32 可与 Color 隐式相互转换。

using UnityEngine;
using System.Collections;

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