Color32.g 绿色

var g : byte

Description描述

Green component of the color.

颜色中的绿色组件。

using UnityEngine;

using System.Collections;



public class example : MonoBehaviour {

	public Color32 color = Color.white;

	void Awake() {

		color.g = 0;

	}

}
var color : Color32 = Color.white;

color.g = 0;
Page last updated: 2011-9-15