public float a ;

描述

Alpha component of the color (0 is transparent, 1 is opaque).

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { public Color color = Color.white; void Example() { color.a = 0; } }