Хранит анимации основанные на ключевых кадрах (keyframes).
AnimationClip использует Animation для воспроизведения анимаций.
empty | Returns true if the animation clip has no curves and no events. |
events | Добавляет событие анимации к клипу. |
frameRate | Frame rate at which keyframes are sampled. (Read Only) |
hasGenericRootTransform | Returns true if the Animation has animation on the root transform. |
hasMotionCurves | Returns true if the AnimationClip has root motion curves. |
hasMotionFloatCurves | Returns true if the AnimationClip has editor curves for its root motion. |
hasRootCurves | Returns true if the AnimationClip has root Curves. |
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 | Realigns quaternion keys to ensure shortest interpolation paths. |
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 GameObject. |
Destroy | Удаляет GameObject, Component или 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 | Returns the first active loaded object of Type type. |
FindObjectsOfType | Returns a list of all active loaded objects of Type type. |
Instantiate | Clones the object original and returns the clone. |
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. |