Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


AnimationWindow

Use the AnimationWindow class to select and edit Animation clips.
Read time 7 minutesLast updated 2 days ago

Definition

[EditorWindowTitle(title = "Animation", useTypeNameAsIconName = true)]public sealed class AnimationWindow : EditorWindow, IHasCustomMenu

Remarks

The Animation window will update when selecting Animation clips in the Project window or game objects with Animation players (such as Animator or Animation) in the Scene hierarchy.

Properties

Property

Description

animationClipThe animation clip selected in the Animation window.
canPreviewTrue if Animation window can enable preview mode. False otherwise. (Read Only)
canRecordTrue if Animation window can enable recording mode. False otherwise. (Read Only)
frameThe frame number at which the Animation window playhead is located.
playingThis property toggles animation playback in the Animation window.
previewingThis property toggles previewing in the Animation window.
recordingThis property toggles recording in the Animation window.
timeThe time value at which the Animation window playhead is located.

Inheritance

Inherited Members

Operators

Operator

Description

operator ==Compares two object references to see if they refer to the same object.
boolDetermines whether the object exists.
operator !=Compares if two objects refer to a different object.