AnimationClipEditor Class

Summary

[Editor-Only] [Pro-Only] A custom Inspector for UnityEngine.AnimationClips
Assembly
Animancer.dll
Namespace
Animancer.Editor
Base Types
  • Editor
graph BT Type-->Base0["Editor"] Type["AnimationClipEditor"] class Type type-node

Syntax

[CustomEditor(typeof(AnimationClip))]
public class AnimationClipEditor : Editor

Attributes

Type Description
CustomEditor

Methods

Name Value Summary
DrawPreview(Rect) void
GetInfoString() string
GetPreviewTitle() GUIContent
HasPreviewGUI() bool
OnDestroy() void
OnInspectorGUI() void
Draws the regular Inspector then adds a better preview for UnityEngine.Sprite animations.
OnInteractivePreviewGUI(Rect, GUIStyle) void
OnPreviewGUI(Rect, GUIStyle) void
OnPreviewSettings() void
ReloadPreviewInstances() void
RenderStaticPreview(string, Object[], int, int) Texture2D
RequiresConstantRepaint() bool
UseDefaultMargins() bool