Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

Color32.g

public byte g;

Description

Green component of the color.

using UnityEngine;

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