TransitionAssetBase.

ObsoleteEventsMessage Field

Summary

Explains why Transition Assets warn about accessing their events.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
TransitionAssetBase

Syntax

public const string ObsoleteEventsMessage

Constant Value

Value Type
Directly accessing the Events of a Transition Asset is generally not recommended because any modifications will affect all characters who share the same asset and will persist until the asset is destroyed (usually when the application exits). In most cases, the recommended approach is to initialize events on the AnimancerState returned when you Play the Transition rather than modifying the Asset itself. If you really need to access these events, you can use the asset.Transition.Events. String