包含此页的版本:
不含此页的版本:
颜色的 Alpha 分量(0 为透明,1 为不透明)。
using UnityEngine; using System.Collections;public class ExampleClass : MonoBehaviour { public Color color = Color.white; void Example() { color.a = 0; } }