Base class for all entities in Unity Scenes.
Note: Many variables in the GameObject class have been removed. To access,
for example GameObject.renderer in csharp use GetComponent<Renderer>() instead.
See Also: Component.
| activeInHierarchy | Defines whether the GameObject is active in the Scene. |
| activeSelf | ゲームオブジェクトのローカルのアクティブ状態(読み取り専用) |
| isStatic | Gets and sets the GameObject's StaticEditorFlags. |
| layer | The layer the GameObject is in. |
| scene | ゲームオブジェクトが属しているシーン |
| sceneCullingMask | Scene culling mask Unity uses to determine which scene to render the GameObject in. |
| tag | ゲームオブジェクトのタグ |
| transform | GameObject にアタッチされている Transform |
| GameObject | name という名のゲームオブジェクトを作成します |
| AddComponent | ゲームオブジェクトに className という名のコンポーネントクラスを追加します |
| BroadcastMessage | ゲームオブジェクトまたは子オブジェクトにあるすべての MonoBehaviour を継承したクラスにある methodName 名のメソッドを呼び出します。 |
| CompareTag | このゲームオブジェクトは tag とタグ付けされているかどうか |
| GetComponent | ゲームオブジェクトに type がアタッチされている場合は type のタイプを使用してコンポーネントを返します。ない場合は null です |
| GetComponentInChildren | 深さ優先探索でゲームオブジェクトまたはゲームオブジェクトの子たちの type からコンポーネントを取得します。 |
| GetComponentInParent | Retrieves the component of Type type in the GameObject or any of its parents. |
| GetComponents | ゲームオブジェクトの type のすべてのコンポーネントを返します |
| GetComponentsInChildren | ゲームオブジェクトまたはゲームオブジェクトの子たちから type のすべてのコンポーネントを取得します。 |
| GetComponentsInParent | ゲームオブジェクトまたはその親たちから type のすべてのコンポーネントを返します |
| SendMessage | ゲームオブジェクトにアタッチされているすべての MonoBehaviour にある methodName と名付けたメソッドを呼び出します |
| SendMessageUpwards | ゲームオブジェクトと親(の親、さらに親 ... )にアタッチされているすべての MonoBehaviour にある methodName と名付けたメソッドを呼び出します |
| SetActive | Activates/Deactivates the GameObject, depending on the given true or false value. |
| TryGetComponent | Gets the component of the specified type, if it exists. |
| CreatePrimitive | プリミティブメッシュレンダラーと適切なコライダーを作成します |
| Find | name で GameObject を検索し返します。 |
| FindGameObjectsWithTag | Returns an array of active GameObjects tagged tag. Returns empty array if no GameObject was found. |
| FindWithTag | /tag/でタグ付けされたアクティブなゲームオブジェクトを返します。もし見つからない場合は null を返します |
| hideFlags | Should the object be hidden, saved with the Scene or modifiable by the user? |
| name | オブジェクト名 |
| GetInstanceID | Gets the instance ID of the object. |
| ToString | Returns the name of the object. |
| Destroy | Removes a GameObject, component or asset. |
| DestroyImmediate | Destroys the object obj immediately. You are strongly recommended to use Destroy instead. |
| DontDestroyOnLoad | Do not destroy the target Object when loading a new Scene. |
| FindObjectOfType | タイプ type から最初に見つけたアクティブのオブジェクトを返します |
| FindObjectsOfType | Gets a list of all loaded objects of Type type. |
| Instantiate | original のオブジェクトをクローンします |
| bool | オブジェクトが存在するかどうか |
| operator != | 二つのオブジェクトが異なるオブジェクトを参照しているか比較します |
| operator == | 2つのオブジェクト参照が同じオブジェクトを参照しているか比較します。 |