Summary
[Editor-Only]
A custom Inspector for
UnityEngine.Sprites which allows you to directly edit them instead of just showing
their details like the default one does.
- Assembly
- Animancer
.dll - Namespace
- Animancer
.Editor - Base Types
-
- Editor
graph BT
Type-->Base0["Editor"]
Type["SpriteEditor"]
class Type type-node
Syntax
[CustomEditor(typeof(Sprite), true), CanEditMultipleObjects]
public class SpriteEditor : Editor
Attributes
| Type | Description |
|---|---|
| CustomEditor | |
| Can |
Methods
| Name | Value | Summary |
|---|---|---|
| GetInfoString |
string | |
| HasPreviewGUI |
bool | |
| OnDisable |
void |
Cleans up this editor.
|
| OnEnable |
void |
Initializes this editor.
|
| OnInspectorGUI |
void |
Called by the Unity editor to draw the custom Inspector GUI elements.
|
| OnPreviewGUI |
void | |
| RenderStaticPreview |
Texture2D |