AnimancerGraphCleanup Class

Summary

[Editor-Only] Keeps track of Animancer.AnimancerGraph instances to ensure that they're properly cleaned up.
Assembly
Animancer.dll
Namespace
Animancer.Editor
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["AnimancerGraphCleanup"] class Type type-node

Syntax

public static class AnimancerGraphCleanup

Methods

Name Value Summary
AddGraph(AnimancerGraph) void
[Editor-Only] Registers a `graph` to make sure it gets cleaned up properly.
static
HasChangedToOrFromAnimatePhysics(Nullable<AnimatorUpdateMode>, AnimatorUpdateMode) bool
[Editor-Only] Returns true if the `initial` mode was UnityEngine.AnimatorUpdateMode.AnimatePhysics and the `current` has changed to another mode or if the `initial` mode was something else and the `current` has changed to UnityEngine.AnimatorUpdateMode.AnimatePhysics.
static
RemoveGraph(AnimancerGraph) void
[Editor-Only] Removes the `graph` from the list of instances.
static