public float grayscale ;

描述

The grayscale value of the color. (Read Only)

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { public Color color = new Color(0.3F, 0.4F, 0.6F); void Example() { print(color.grayscale); } }