public float a ;

Descripción

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

using UnityEngine;

public class Example : MonoBehaviour { public Color color = Color.white;

void Start() { color.a = 0.42f; } }