Summary
[Editor-Only] [Pro-Only]
A
Animancer.Editor.Tools.AnimancerToolsWindow.Tool for ensuring that the last keyframe of an animation matches the first.
- Assembly
- Animancer
.dll - Namespace
- Animancer
.Editor .Tools - Interfaces
-
- IComparable
<AnimancerToolsWindow .Tool >
- IComparable
- Base Types
graph BT
Type-->Base0["AnimationModifierTool"]
click Base0 "/animancer-v7-4/api/Animancer.Editor.Tools/AnimationModifierTool"
Base0-->Base1["AnimancerToolsWindow.Tool"]
click Base1 "/animancer-v7-4/api/Animancer.Editor.Tools/Tool"
Base1-->Base2["Object"]
Type-.->Interface0["IComparable<AnimancerToolsWindow.Tool>"]
Type["LoopAnimationTool"]
class Type type-node
Syntax
[Serializable]
public class LoopAnimationTool : AnimationModifierTool, IComparable<AnimancerToolsWindow.Tool>
Remarks
Documentation: Loop Animation
Attributes
| Type | Description |
|---|---|
| Serializable |
Properties
| Name | Value | Summary |
|---|---|---|
| Animation | AnimationClip |
The currently selected
UnityEngine.AnimationClip asset.Inherited from Animation
|
| DisplayOrder | int |
Lower numbers display first.
|
| 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.
|
| Instructions | string |
The usage instructions to display at the top of this tool.
|
| 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.
|
Methods
| Name | Value | Summary |
|---|---|---|
| CompareTo |
int |
Compares the
Animancer.Editor.Tools.AnimancerToolsWindow.Tool.DisplayOrder to put lower numbers first.Inherited from AnimancerToolsWindow
|
| DoBodyGUI |
void | |
| 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.Inherited from Animation
|
| OnDisable |
void |
Called by
Animancer.Editor.Tools.AnimancerToolsWindow.OnDisable.Inherited from AnimancerToolsWindow
|
| OnEnable |
void |
Called by
Animancer.Editor.Tools.AnimancerToolsWindow.OnEnable.Inherited from Animation
|
| OnSelectionChanged |
void |
Called whenever the
UnityEditor.Selection changes.Inherited from Animation
|
| SaveAs |
bool |
Calls
Animancer.Editor.Tools.AnimancerToolsWindow.Tool.SaveModifiedAsset``1(System.String,System.String,``0,System.Action{``0}) on the animation.Inherited from 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
|