CachedEditor Class

Summary

[Editor-Only] A utility for manually drawing a UnityEditor.Editor.
Assembly
Animancer.dll
Namespace
Animancer.Editor
Interfaces
  • IDisposable
Base Types
  • Object
graph BT Type-->Base0["Object"] Type-.->Interface0["IDisposable"] Type["CachedEditor"] class Type type-node

Syntax

public class CachedEditor : IDisposable

Methods

Name Value Summary
Dispose() void
Destroys the cached UnityEditor.Editor.
GetEditor(Object) Editor
Creates a UnityEditor.Editor for the `target` and caches it to be returned by subsequent calls with the same `target`.
GetEditor(Object[]) Editor
Creates a UnityEditor.Editor for the `targets` and caches it to be returned by subsequent calls with the same `targets`.