GUITexture.color 颜色

var color : Color

Description描述

The color of the GUI texture.

GUI纹理的颜色。

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
	public void Awake() {
		guiTexture.color = Color.green;
	}
}
// change the color of the texture to green
//改变纹理的颜色到绿色

guiTexture.color = Color.green;
Page last updated: 2011-1-24