找回密碼
 注冊帳號

掃一掃,訪問微社區

component 組件

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

摘要: component 組件inherits fromobjectbase class for everything attached to gameobjects.一切附加到游戲物體的基類。variables變量transformthetransformattached to thisgameobject(null if there is none attached ...

component 組件

inherits fromobject

base class for everything attached to gameobjects.

一切附加到游戲物體的基類。

variables變量

transform

thetransformattached to thisgameobject(null if there is none attached).

transform附加到gameobject(游戲物體)(如無附加則為空)。

rigidbody

therigidbodyattached to thisgameobject(null if there is none attached).

rigidbody附加到gameobject(游戲物體)(如無附加則為空)。

camera

thecameraattached to thisgameobject(null if there is none attached).

camera附加到gameobject(游戲物體)(如無附加則為空)。

light

thelightattached to thisgameobject(null if there is none attached).

light附加到gameobject(游戲物體)(如無附加則為空)。

animation

theanimationattached to thisgameobject(null if there is none attached).

animation附加到gameobject(游戲物體)(如無附加則為空)。

constantforce

theconstantforceattached to thisgameobject(null if there is none attached).

constantforce附加到gameobject(游戲物體)(如無附加則為空)。

renderer

therendererattached to thisgameobject(null if there is none attached).

renderer附加到gameobject(游戲物體)(如無附加則為空)。

audio

theaudiosourceattached to thisgameobject(null if there is none attached).

audiosource附加到gameobject(游戲物體)(如無附加則為空)。

guitext

theguitextattached to thisgameobject(null if there is none attached).

guitext附加到gameobject(游戲物體)(如無附加則為空)。

networkview

thenetworkviewattached to thisgameobject(read only). (null if there is none attached)

networkview附加到gameobject(游戲物體)(只讀)(如無附加則為空)。

guitexture

theguitextureattached to thisgameobject(read only). (null if there is none attached)

guitexture附加到gameobject(游戲物體)(只讀)(如無附加則為空)。

collider

thecolliderattached to thisgameobject(null if there is none attached).

collider附加到gameobject(游戲物體)(如無附加則為空)。

hingejoint

thehingejointattached to thisgameobject(null if there is none attached).

hingejoint附加到gameobject(游戲物體)(如無附加則為空)。

particleemitter

theparticleemitterattached to thisgameobject(null if there is none attached).

particleemitter附加到gameobject(游戲物體)(如無附加則為空)。

gameobject

the game object this component is attached to. a component is always attached to a game object.

組件附加的游戲物體。一個組件總是被附加到一個游戲物體。

tag

the tag of this game object.

游戲物體的標簽。

相關閱讀

文章點評
相關文章
送書《UE材質完全學習教程》!
女校游泳队彩金 pc蛋蛋游戏 股票配资骗局 怎么在线看股票 幸运快三是什么 合肥小姐电话 内蒙古11选5走势图表 soso搜搜三级片 36选7彩票走势图 安徽快3时时彩遗漏 山西快乐10分基础走势 15选5浙走势图 最新双色球一码定蓝 大地棋牌唯一官网下载 幸运飞艇群 麻将app开发 *走势图今天江苏快