ドキュメント

Unity Engine

Unity Engine

AnimationWindow

Use the AnimationWindow class to select and edit Animation clips.
読み終わるまでの所要時間 7 分最終更新 1ヶ月前

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.

Methods

Method

Description

DiscardChangesDiscards unsaved changes to the contents of the window.
SaveChangesPerforms a save action on the contents of the window.

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.