Summary
An Animancer Event is
being added to an
Animancer.AnimancerEvent.Sequence
which already contains an identical event.
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- OptionalWarning
Syntax
DuplicateEvent
Remarks
This warning often occurs due to a misunderstanding about the way events are
Automatically
Cleared.
If you play an
UnityEngine.AnimationClip
, its Animancer.AnimancerState.Events
will be empty so you
can add whatever events you want.
But Transitions store their own
events, so if you play one then modify its Animancer.AnimancerState.Events
you are actually modifying
the transition's events. Then if you play the same transition again, you will modify the events again,
often leading to the same event being added multiple times.
If that is not the case, you can simply disable this warning. There is nothing inherently wrong with having
multiple identical events in the same sequence.
Constant Value
Value | Type |
---|---|
64 | Int32 |