a
Alpha component of the color (0 is transparent, 1 is opaque).
Read time 1 minuteLast updated 6 days ago
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; }}