Base class for all entities in Unity scenes.
是Unity场景里面所有实体的基类.
-
Editor only API that specifies if a game object is static.
只有在API指定一个游戏物体是静态的时候编辑。
-
The Transform attached to this GameObject. (null if there is none attached)
附属于这个游戏物体上的变换。(如果没有则为空)
-
The Rigidbody attached to this GameObject (Read Only). (null if there is none attached)
附属于这个游戏物体上的刚体(只读)。(如果没有则为空)
-
The Camera attached to this GameObject (Read Only). (null if there is none attached)
附属于这个游戏物体上的相机(只读)。(如果没有则为空)
-
The Light attached to this GameObject (Read Only). (null if there is none attached)
附属于这个游戏物体上的光(只读)。(如果没有则为空)
-
The Animation attached to this GameObject (Read Only). (null if there is none attached)
附属于这个游戏物体上的动画(只读)。(如果没有则为空)
-
The ConstantForce attached to this GameObject (Read Only). (null if there is none attached)
附属于这个游戏物体上的恒定的力(只读)。(如果没有则为空)
-
The Renderer attached to this GameObject (Read Only). (null if there is none attached)
附属于这个游戏物体上的渲染器(只读)。(如果没有则为空)
-
The AudioSource attached to this GameObject (Read Only). (null if there is none attached)
附属于这个游戏物体上的音频资源(只读)。(如果没有则为空)
-
The GUIText attached to this GameObject (Read Only). (null if there is none attached)
附属于这个游戏物体上的GUI文本(只读)。(如果没有则为空)
-
The NetworkView attached to this GameObject (Read Only). (null if there is none attached)
附属于这个游戏物体上的网络视图(只读)。(如果没有则为空)
-
The GUITexture attached to this GameObject (Read Only). (null if there is none attached)
附属于这个游戏物体上的GUI纹理(只读)。(如果没有则为空)
-
The Collider attached to this GameObject (Read Only). (null if there is none attached)
附属于这个游戏物体上的碰撞器(只读)。(如果没有则为空)
-
The HingeJoint attached to this GameObject (Read Only). (null if there is none attached)
附属于这个游戏物体上的铰链关节(只读)。(如果没有则为空)
-
The ParticleEmitter attached to this GameObject (Read Only). (null if there is none attached)
附属于这个游戏物体上的粒子发射器(只读)。(如果没有则为空)
-
The layer the game object is in. A layer is in the range [0...32]
游戏物体所在的层.一个层的范围是在[0...32]之间。
-
Is the GameObject active? Activates/Deactivates the GameObject.
标识游戏物体是否是活动的.使这个游戏物体活动/不活动。
-
The tag of this game object.
游戏物体的标签。
-
Returns the component of Type type if the game object has one attached, null if it doesn't. You can access both builtin components or scripts with this function.
如果这个游戏物体包含一个类型为type的组件,则返回它.如果没有则为空.通过这个函数,你可以访问内建的组件或者脚本的组件.
-
-
Returns the component with name type if the game object has one attached, null if it doesn't.
如果游戏物体有一个附加组件,则返回名为type的组件,如果没有则为空。
-
Returns the component of Type type in the GameObject or any of its children using depth first search.
返回这个游戏物体或者它的所有子物体上(深度优先)的类型为type的组件.
-
-
Returns all components of Type type in the GameObject.
返回这个游戏物体上的所有类型为type的组件.
-
-
Returns all components of Type type in the GameObject or any of its children.
得到游戏物体或者其所有子物体上的所有类型为type的组件.
-
-
Sets the active state of this and all the game objects children to state.
设置游戏物体及其子物体的状态为state.
-
Is this game object tagged with tag?
是否这个游戏物体用tag标识?
-
Calls the method named methodName on every MonoBehaviour in this game object and on every ancestor of the behaviour
在这个游戏物体及其祖先物体的所有MonoBehaviour中调用名称为methodName的方法.
-
Calls the method named methodName on every MonoBehaviour in this game object.
在这个游戏物体上的所有MonoBehaviour上调用名称为methodName的方法.
-
Calls the method named methodName on every MonoBehaviour in this game object or any of its children.
在这个游戏物体及其子物体的所有MonoBehaviour中调用名称为methodName的方法.
-
Adds a component class named className to the game object.
添加一个名称为className的组件到游戏物体.
-
-
Samples an animation at a given time for any animated properties.
为所有动画属性在某个给定时间为一个动画采样.