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 | El estado activo local de este GameObject. (Solo lectura) |
| isStatic | Gets and sets the GameObject's StaticEditorFlags. |
| layer | The layer the game object is in. |
| scene | Escena de la que forma parte el GameObject. |
| sceneCullingMask | Scene culling mask Unity uses to determine which scene to render the GameObject in. |
| tag | El tag de este game object. |
| transform | El Transform adjuntado a este GameObject. |
| GameObject | Crea un nuevo game object, llamado name. |
| AddComponent | Agrega una clase componente llamada className al game object. |
| BroadcastMessage | Llama al método denominado methodName de todos los MonoBehaviour en este game objecto en cualquiera de sus hijos. |
| CompareTag | ¿Este game object está etiquetado con tag? |
| GetComponent | Devuelve un componente de tipo type si el game object tiene a alguno adjuntado, o null si no lo tiene. |
| GetComponentInChildren | Devuelve el componente del tipo type en el GameObject o en alguno de sus hijos usando búsqueda de primero en profundidad. |
| GetComponentInParent | Retrieves the component of Type type in the GameObject or any of its parents. |
| GetComponents | Devuelve todos los componentes del tipo type en el GameObject. |
| GetComponentsInChildren | Devuelve todos los componentes del tipo type en el GameObject, o alguno de sus hijos. |
| GetComponentsInParent | Devuelve todos los componentes del tipo type en el GameObject o en alguno de sus padres. |
| SendMessage | Llama al método denominado methodName en cada MonoBehaviour de este game object. |
| SendMessageUpwards | Llama al método denominado methodName en todos los MonoBehaviour de este juego y en todos los ancestros del behaviour. |
| 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 | Crea un game object con un mesh renderer primitivo y un collider apropiado. |
| Find | Encuentra un GameObject por el name y lo retorna. |
| FindGameObjectsWithTag | Returns an array of active GameObjects tagged tag. Returns empty array if no GameObject was found. |
| FindWithTag | Devuelve un GameObject activo etiquetado con tag. Devuelve null si ningún GameObject fue encontrado. |