Summary
[Editor-Only] [Pro-Only] Base class for tools in the
Animancer.Editor.Tools.AnimancerToolsWindow
.- Assembly
- Animancer
.dll - Namespace
- Animancer
.Editor .Tools - Interfaces
-
- IComparable
<AnimancerToolsWindow .Tool >
- IComparable
- Base Types
-
- Object
- Derived Types
graph BT
Type-->Base0["Object"]
Type-.->Interface0["IComparable<AnimancerToolsWindow.Tool>"]
Type["AnimancerToolsWindow.Tool"]
class Type type-node
Derived0["PackTexturesTool"]-->Type
click Derived0 "/animancer/api/Animancer.Editor.Tools/PackTexturesTool"
Derived1["SpriteModifierTool"]-->Type
click Derived1 "/animancer/api/Animancer.Editor.Tools/SpriteModifierTool"
Derived2["AnimancerSettingsTool"]-->Type
click Derived2 "/animancer/api/Animancer.Editor.Tools/AnimancerSettingsTool"
Derived3["AnimationModifierTool"]-->Type
click Derived3 "/animancer/api/Animancer.Editor.Tools/AnimationModifierTool"
Syntax
[Serializable]
public abstract class AnimancerToolsWindow.Tool : IComparable<AnimancerToolsWindow.Tool>
Remarks
Documentation:
Animancer Tools
Attributes
Type | Description |
---|---|
Serializable |
Properties
Name | Value | Summary |
---|---|---|
DisplayOrder | int |
Lower numbers display first.
|
HelpIcon | Texture |
The help icon image used in the tool header.
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?
|
IsVisible | bool |
Is this tool currently visible?
|
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. |
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.
|
DoHeaderGUI |
void |
Draws the Header GUI for this tool which is displayed regardless of whether it is expanded or not.
|
Handle |
void |
Adds any objects dropped in the `area` to the `list`.
|
OnDisable |
void |
Called by
Animancer.Editor.Tools.AnimancerToolsWindow.OnDisable . |
OnEnable |
void |
Called by
Animancer.Editor.Tools.AnimancerToolsWindow.OnEnable . |
OnSelectionChanged |
void |
Called whenever the
UnityEditor.Selection changes. |
SaveModifiedAsset |
bool |
Asks the user where they want to save a modified asset, calls `modify` on it, and saves it.
static
|