Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


a

Alpha component of the color.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public byte a

Examples

using UnityEngine;public class Example : MonoBehaviour{ Color32 color = Color.white; void Start() { color.a = 0; }}