Color.r 红色
var r : float
Description描述
Red component of the color.
颜色中的红色组件。
三基色之一的红色通道。
using UnityEngine;using System.Collections;public class example : MonoBehaviour {public Color color = Color.white;public void Awake() {color.r = 0;}}
var color : Color = Color.white;color.r = 0;
,