Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


g

Green component of the color.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public byte g

Examples

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