기술 자료

Unity Engine

Unity Engine

a

Alpha component of the color (0 is transparent, 1 is opaque).
읽는 시간 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; }}