AnimancerComponent.

ActionOnDisable Property

Summary

[UnityEngine.SerializeField] Determines what happens when this component is disabled or its UnityEngine.GameObject becomes inactive (i.e. in Animancer.AnimancerComponent.OnDisable).
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
AnimancerComponent

Syntax

public AnimancerComponent.DisableAction ActionOnDisable { get; }

Remarks

The default value is Animancer.AnimancerComponent.DisableAction.Stop.

If you're only destroying objects and not disabling them, using Animancer.AnimancerComponent.DisableAction.Continue is the most efficient because it avoids wasting performance stopping things that will be destroyed anyway.

Value