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

Color32.r

public byte r;

Description

Red component of the color.

using UnityEngine;

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