TransitionLibraryWindow Class

Summary

[Editor-Only] An UnityEditor.EditorWindow for configuring Animancer.TransitionLibraries.TransitionLibraryAsset.
graph BT Type-->Base0["SerializedDataEditorWindow<TransitionLibraryAsset, TransitionLibraryDefinition>"] Base0-->Base1["EditorWindow"] Type["TransitionLibraryWindow"] class Type type-node

Syntax

public class TransitionLibraryWindow : 
    SerializedDataEditorWindow<TransitionLibraryAsset, TransitionLibraryDefinition>

Fields

Name Constant Value Summary
Highlighter
Object highlight manager.
Items
Transitions and groups ordered by group.

Properties

Name Value Summary
CurrentPage TransitionLibraryWindowPage
The currently selected page.
EditorData TransitionLibraryEditorDataInternal
A copy of the Animancer.Editor.TransitionLibraries.TransitionLibraryWindow.SourceEditorData being managed by this window.
HasDataChanged bool
Is the Animancer.Editor.SerializedDataEditorWindow`2.Data managed by this window different to the Animancer.Editor.SerializedDataEditorWindow`2.SourceData?
Instance TransitionLibraryWindow
The current window instance.
static
Selection TransitionLibrarySelection
Manages the objects which can be selected within a library.
SourceData TransitionLibraryDefinition
The Animancer.Editor.SerializedDataEditorWindow`2.Data field of the Animancer.Editor.SerializedDataEditorWindow`2.SourceObject.
SourceEditorData TransitionLibraryEditorDataInternal
The Animancer.Editor.TransitionLibraries.TransitionLibraryEditorDataInternal of the source asset.

Methods

Name Value Summary
Apply() void
Saves the edited Animancer.Editor.SerializedDataEditorWindow`2.Data into the Animancer.Editor.SerializedDataEditorWindow`2.SourceObject.
CaptureData() void
Stores a copy of the Animancer.Editor.SerializedDataEditorWindow`2.SourceData in the Animancer.Editor.SerializedDataEditorWindow`2.Data.
IsShowing(Object) bool
Is a window currently showing the `library`.
static
OnDestroy() void
Prompts the user to Animancer.Editor.SerializedDataEditorWindow`2.Apply or Animancer.Editor.SerializedDataEditorWindow`2.Revert if there are changes in the Animancer.Editor.SerializedDataEditorWindow`2.Data when this window is closed.
OnDisable() void
Cleans up this window.
OnEnable() void
Initializes this window.
OnGUI() void
Draws the GUI of this window.
OnSelectionChange() void
Called when an object is selected.
Open(TransitionLibraryAsset) TransitionLibraryWindow
Opens a window for the `library`.
static
TryGetPage<T>(T) bool
Tries to find a page of the specified type and returns true if successful.

Extension Methods