Выберите подходящий для вас язык программирования. Все примеры кода будут представлены на выбранном языке.
class in UnityEngine
/
Наследует от:Motion
Благодарим вас за то, что вы помогаете нам улучшить качество документации по Unity. Однако, мы не можем принять любой перевод. Мы проверяем каждый предложенный вами вариант перевода и принимаем его только если он соответствует оригиналу.
ЗакрытьПо определённым причинам предложенный вами перевод не может быть принят. Пожалуйста <a>попробуйте снова</a> через пару минут. И выражаем вам свою благодарность за то, что вы уделяете время, чтобы улучшить документацию по Unity.
ЗакрытьХранит анимации основанные на ключевых кадрах (keyframes).
AnimationClip использует Animation для воспроизведения анимаций.
events | Добавляет событие анимации к клипу. |
frameRate | Frame rate at which keyframes are sampled. (Read Only) |
humanMotion | Returns true if the animation contains curve that drives a humanoid rig. |
legacy | Set to true if the AnimationClip will be used with the Legacy Animation component ( instead of the Animator ). |
length | Продолжительность анимации в секундах. (Read Only) |
localBounds | AABB of this Animation Clip in local space of Animation component that it is attached too. |
wrapMode | Устанавливает режим переноса по умолчанию, используемый в состоянии анимации. |
AnimationClip | Создает новый анимационный клип. |
AddEvent | Добавляет событие анимации к клипу. |
ClearCurves | Очищает все кривые из клипа. |
EnsureQuaternionContinuity | In order to insure better interpolation of quaternions, call this function after you are finished setting animation curves. |
SampleAnimation | Проигрывает анимацию любого анимированного свойства в заданный интервал времени. |
SetCurve | Назначает кривую для анимации конкретного свойства. |
hideFlags | Should the object be hidden, saved with the scene or modifiable by the user? |
name | The name of the object. |
GetInstanceID | Returns the instance id of the object. |
ToString | Returns the name of the game object. |
Destroy | Removes a gameobject, component or asset. |
DestroyImmediate | Destroys the object obj immediately. You are strongly recommended to use Destroy instead. |
DontDestroyOnLoad | Makes the object target not be destroyed automatically when loading a new scene. |
FindObjectOfType | Returns the first active loaded object of Type type. |
FindObjectsOfType | Returns a list of all active loaded objects of Type type. |
Instantiate | Returns a copy of the object original. |
bool | Does the object exist? |
operator != | Compares if two objects refer to a different object. |
operator == | Compares two object references to see if they refer to the same object. |