Version: 2023.1
言語: 日本語
public float a ;

説明

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; } }