找回密碼
 注冊帳號

掃一掃,訪問微社區

color32.operator color 運算符color

2015-1-5 01:37| 發布者: 楊炎| 查看: 1767| 評論: 0|原作者: 蠻牛|來自: unity3d腳本manual

摘要: color32.operator color 運算符colorstaticimplicitfunctioncolor(c: color32) :colordescription描述colorcan be implicitly converted to and from color32.color可以從color32隱式轉換。c#javascriptusing unitye ...

color32.operator color 運算符color

staticimplicitfunctioncolor(c: color32) :color

description描述

colorcan be implicitly converted to and from color32.

color可以從color32隱式轉換。

c#

javascript

using unityengine;

using system.collections;

public class example : monobehaviour {

publiccolorcolor = new color32(128, 255, 128, 255);

}

// convert a color32 to a color

//轉換一個color32顏色到color

var color :color= color32(128, 255, 128, 255);

相關閱讀

文章點評
相關文章
女校游泳队彩金