AnimancerState.

Destroy() Method

Summary

Destroys the UnityEngine.Playables.Playable and cleans up this state.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
AnimancerState

Syntax

public virtual void Destroy()

Remarks

This method is NOT called automatically, so when implementing a custom state type you must use Animancer.AnimancerGraph.Disposables if you need to guarantee that things will get cleaned up.

Return Value

Type Description
void