r
Red component of the color.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Field
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public byte r
Examples
using UnityEngine;public class Example : MonoBehaviour{ Color32 color = Color.white; void Start() { color.r = 0; }}