Posición, rotación y escala de un objeto.
Every object in a Scene has a Transform. It's used to store and manipulate the position, rotation and scale of the object. Every Transform can have a parent, which allows you to apply position, rotation and scale hierarchically. This is the hierarchy seen in the Hierarchy pane. They also support enumerators so you can loop through children using:
using UnityEngine;
public class Example : MonoBehaviour { // Moves all transform children 10 units upwards! void Start() { foreach (Transform child in transform) { child.position += Vector3.up * 10.0f; } } }
See Also: The component reference, Physics class.
| childCount | The number of children the parent Transform has. | 
| eulerAngles | La rotación es ángulos Euler en grados. | 
| forward | Returns a normalized vector representing the blue axis of the transform in world space. | 
| hasChanged | Tiene el transform cambiado desde la última vez que la flag fue configura a 'false'? | 
| hierarchyCapacity | La capacidad del transform de la estructura de datos de la jerarquía del transform. | 
| hierarchyCount | La cantidad de transforms en la estructura de datos de jerarquía del transform. | 
| localEulerAngles | La rotación como ángulos Euler en grados relativo a la rotación del transform del padre. | 
| localPosition | Posición del transform relativo al transform padre. | 
| localRotation | The rotation of the transform relative to the transform rotation of the parent. | 
| localScale | The scale of the transform relative to the GameObjects parent. | 
| localToWorldMatrix | Matriz que transforma un punto del espacio local en el espacio mundial (Lectura solamente). | 
| lossyScale | La escala global del objeto (Read Only)._ | 
| parent | El padre del transform. | 
| position | The world space position of the Transform. | 
| right | El eje rojo del transform en el espacio del mundo. | 
| root | Devuelve el transform más alto de la jerarquía. | 
| rotation | A Quaternion that stores the rotation of the Transform in world space. | 
| up | El eje verde del transform en el espacio del mundo. | 
| worldToLocalMatrix | Matriz que transforma un punto del espacio mundial en espacio local (Lectura solamente). | 
| DetachChildren | Des-apadrina todos los hijos. | 
| Find | Finds a child by n and returns it. | 
| GetChild | Devuelve un transform hijo por su indice. | 
| GetSiblingIndex | Obtiene el indice del hermano. | 
| InverseTransformDirection | Transforma una direction del espacio del mundo al espacio local. Lo opuesto de Transform.TransformDirection. | 
| InverseTransformPoint | Transforma la position del espacio del mundo al espacio local. | 
| InverseTransformVector | Transforma un vector del espacio del mundo a su espacio local. Lo opuesto de Transform.TransformVector. | 
| IsChildOf | Es este transform un hijo de parent? | 
| LookAt | Gira el transform para que el vector hacia adelante apunte en la posición actual del target. | 
| Rotate | Use Transform.Rotate to rotate GameObjects in a variety of ways. The rotation is often provided as an Euler angle and not a Quaternion. | 
| RotateAround | Gira el transform alrededor del axis pasando a través del point en coordenadas del mundo por angle grados. | 
| SetAsFirstSibling | Mueve el transform al inicio de la lista local de transform. | 
| SetAsLastSibling | Mueve el transform al final de la lista local del transform. | 
| SetParent | Configure el padre del transform. | 
| SetPositionAndRotation | Sets the world space position and rotation of the Transform component. | 
| SetSiblingIndex | Configura el indice del hermano. | 
| TransformDirection | Transforma la direction de espacio local a espacio del mundo. | 
| TransformPoint | Transforma la position del espacio local al espacio del mundo. | 
| TransformVector | Transforma el vector del espacio local al espacio del mundo. | 
| Translate | Mueve el transform en la dirección y distancia de translation. | 
| gameObject | El game object que tiene este componente adjunto. Un componente siempre está adjunto a un game object. | 
| tag | El tag de este game object. | 
| transform | The Transform attached to this GameObject. | 
| hideFlags | Should the object be hidden, saved with the Scene or modifiable by the user? | 
| name | El nombre del objeto. | 
| 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 | Retorna el componente de tipo type en el GameObject o cualquiera de sus hijos utilizando depth first search (busqueda de profundidad). | 
| GetComponentInParent | Retorna el componente de tipo type en el GameObject o cualquiera de sus padres. | 
| GetComponents | Retorna todos los componentes de tipo type en el GameObject. | 
| GetComponentsInChildren | Retorna todos los componentes de tipo type en el GameObject o cualquiera de sus hijo. | 
| GetComponentsInParent | Retorna todos los componentes de tipo type en el GameObject o cualquiera 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. | 
| TryGetComponent | Gets the component of the specified type, if it exists. | 
| GetInstanceID | Devuelve el id de la instancia del objeto. | 
| 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 | Devuelve el primer objeto activo cargado de tipo type. | 
| FindObjectsOfType | Devuelve una lista de todos los objetos activos cargados de tipo type. | 
| Instantiate | Clona el objeto original y devuelve el clon. | 
| bool | ¿Existe el objeto? | 
| operator != | Compare si dos objetos se refieren a un objeto diferente. | 
| operator == | Compara dos referencias de objeto para ver si se refieren al mismo objeto. |