Description

Color32 可与 Color 隐式相互转换。

using UnityEngine;
using System.Collections;

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