Color32.a Alpha

var a : byte

Description描述

Alpha component of the color.

颜色中的Alpha组件。

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
	public Color32 color = Color.white;
	void Awake() {
		color.a = 0;
	}
}
var color : Color32 = Color.white;
color.a = 0;
Page last updated: 2011-9-15