Summary
[Editor-Only] [Pro-Only]
A base
Animancer.Editor.Tools.AnimancerToolsWindow.Tool for modifying UnityEngine.AnimationClips.
- Assembly
- Animancer
.dll - Namespace
- Animancer
.Editor .Tools - Interfaces
-
- IComparable
<AnimancerToolsWindow .Tool >
- IComparable
- Base Types
-
- Object
- AnimancerToolsWindow
.Tool
- Derived Types
graph BT
Type-->Base0["AnimancerToolsWindow.Tool"]
click Base0 "/animancer/api/Animancer.Editor.Tools/Tool"
Base0-->Base1["Object"]
Type-.->Interface0["IComparable<AnimancerToolsWindow.Tool>"]
Type["AnimationModifierTool"]
class Type type-node
Derived0["RemapSpriteAnimationTool"]-->Type
click Derived0 "/animancer/api/Animancer.Editor.Tools/RemapSpriteAnimationTool"
Derived1["ModifyAnimationSpeedTool"]-->Type
click Derived1 "/animancer/api/Animancer.Editor.Tools/ModifyAnimationSpeedTool"
Derived2["LoopAnimationTool"]-->Type
click Derived2 "/animancer/api/Animancer.Editor.Tools/LoopAnimationTool"
Derived3["RemapAnimationBindingsTool"]-->Type
click Derived3 "/animancer/api/Animancer.Editor.Tools/RemapAnimationBindingsTool"
Syntax
[Serializable]
public abstract class AnimationModifierTool : AnimancerToolsWindow.Tool,
IComparable<AnimancerToolsWindow.Tool>
Remarks
Documentation:
Animancer Tools
Attributes
| Type | Description |
|---|---|
| Serializable |
Properties
| Name | Value | Summary |
|---|---|---|
| Animation | AnimationClip |
The currently selected
UnityEngine.AnimationClip asset. |
| DisplayOrder | int |
Lower numbers display first.
Inherited from AnimancerToolsWindow
|
| HelpIcon | Texture |
The help icon image used in the tool header.
Inherited from AnimancerToolsWindow
static
|
| HelpURL | string |
The URL for the help button in the header to open.
Inherited from AnimancerToolsWindow
|
| Instructions | string |
The usage instructions to display at the top of this tool.
Inherited from AnimancerToolsWindow
|
| IsExpanded | bool |
Is the body of this tool currently visible?
Inherited from AnimancerToolsWindow
|
| IsVisible | bool |
Is this tool currently visible?
Inherited from AnimancerToolsWindow
|
| Name | string |
The display name of this tool.
Inherited from AnimancerToolsWindow
|
Methods
| Name | Value | Summary |
|---|---|---|
| CompareTo |
int |
Compares the
Animancer.Editor.Tools.AnimancerToolsWindow.Tool.DisplayOrder to put lower numbers first.Inherited from AnimancerToolsWindow
|
| DoBodyGUI |
void |
Draws the Body GUI for this tool which is only displayed while it is expanded.
|
| DoGUI |
void |
Draws the GUI for this tool.
Inherited from AnimancerToolsWindow
|
| DoHeaderGUI |
void |
Draws the Header GUI for this tool which is displayed regardless of whether it is expanded or not.
Inherited from AnimancerToolsWindow
|
| Handle |
void |
Adds any objects dropped in the `area` to the `list`.
Inherited from AnimancerToolsWindow
|
| Modify |
void |
Override this to apply the desired modifications to the `animation` before it is saved.
|
| OnAnimationChanged |
void |
Called whenever the selected
Animancer.Editor.Tools.AnimationModifierTool.Animation changes. |
| OnDisable |
void |
Called by
Animancer.Editor.Tools.AnimancerToolsWindow.OnDisable.Inherited from AnimancerToolsWindow
|
| OnEnable |
void |
Called by
Animancer.Editor.Tools.AnimancerToolsWindow.OnEnable. |
| OnSelectionChanged |
void |
Called whenever the
UnityEditor.Selection changes. |
| SaveAs |
bool |
Calls
Animancer.Editor.Tools.AnimancerToolsWindow.Tool.SaveModifiedAsset``1(System.String,System.String,``0,System.Action{``0}) on the animation. |
| SaveModifiedAsset |
bool |
Asks the user where they want to save a modified asset, calls `modify` on it, and saves it.
Inherited from AnimancerToolsWindow
static
|