Version: 2018.3 (switch to 2019.1)
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; } }

Did you find this page useful? Please give it a rating: