class in UnityEngine.Animations
/
Inherits from:Behaviour
Implements interfaces:IConstraint
Switch to ManualConstrains the position of an object relative to the position of one or more source objects.
| constraintActive | Activates or deactivates the constraint. |
| locked | Locks the offset and position at rest. |
| sourceCount | The number of sources set on the component (read-only). |
| translationAtRest | The translation used when the sources have a total weight of 0. |
| translationAxis | The axes affected by the PositionConstraint. |
| translationOffset | The offset from the constrained position. |
| weight | The weight of the constraint component. |
| AddSource | Adds a constraint source. |
| GetSource | Gets a constraint source by index. |
| GetSources | Gets the list of sources. |
| RemoveSource | Removes a source from the component. |
| SetSource | Sets a source at a specified index. |
| SetSources | Sets the list of sources on the component. |
| enabled | Включенное Поведение обновляется, выключенное Поведение не обновляется. |
| isActiveAndEnabled | Has the Behaviour had active and enabled called? |
| gameObject | Игровой объект к которому прикреплён данный компонент. Компонент всегда прикреплён к игровому объекту. |
| tag | Тег данного игрового объекта. |
| transform | The Transform attached to this GameObject. |
| BroadcastMessage | Вызывает метод названный methodName на каждом MonoBehaviour этого game object-а или любого из его потомков. |
| CompareTag | Помечен ли данный игровой объект тегом tag? |
| GetComponent | Returns the component of Type type if the GameObject has one attached, null if it doesn't. Will also return disabled components. |
| GetComponentInChildren | Возвращает компонент типа type в GameObject или некоторого его потомка через поиск в глубину. |
| GetComponentInParent | Возвращает все компоненты типа type из GameObject'а или из любого его родителя. |
| GetComponents | Возвращает все компоненты типа type в GameObject. |
| GetComponentsInChildren | Возвращает все компоненты типа type в GameObject или любому из его потомков. |
| GetComponentsInParent | Возвращает все компоненты типа type в GameObject или любому из его родителей. |
| SendMessage | Вызывает метод с названием methodName в каждом MonoBehaviour в этом игровом объекте. |
| SendMessageUpwards | Вызывает метод с именем methodName в каждом MonoBehaviour в этом игровом объекте и в каждом предке поведения. |
| TryGetComponent | Gets the component of the specified type, if it exists. |