找回密碼
 注冊帳號

掃一掃,訪問微社區

color32.operator color32 運算符color32

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

摘要: color32.operator color32 運算符color32staticimplicitfunctioncolor32(c:color) : color32description描述color32 can be implicitly converted to and fromcolor.color32可以從color隱式轉換。c#javascriptusing ...

color32.operator color32 運算符color32

staticimplicitfunctioncolor32(c:color) : color32

description描述

color32 can be implicitly converted to and fromcolor.

color32可以從color隱式轉換。

c#

javascript

using unityengine;

using system.collections;

public class example :monobehaviour{

public color32 color = newcolor(0.5f, 1, 0.5f, 1);

}

// convert a color to a color32

//轉換一個color到color32

var color : color32 = color(0.5,1,0.5,1);

相關閱讀

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