a
Alpha component of the color (0 is transparent, 1 is opaque).
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Field
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public float a
Examples
using UnityEngine;public class Example : MonoBehaviour{ public Color color = Color.white; void Start() { color.a = 0.42f; }}