Summary
[Pro-Only] Sets the Animancer.AnimancerEvent.normalizedTime
of the matching `animancerEvent`.
Syntax
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public int SetNormalizedTime(AnimancerEvent animancerEvent, float normalizedTime)
If multiple events have the same Animancer.AnimancerEvent.normalizedTime
, this method will
avoid re-arranging them where calling Animancer.AnimancerEvent.Sequence.Remove(System.Int32)
then
Animancer.AnimancerEvent.Sequence.Add(Animancer.AnimancerEvent)
would always re-add the moved event
as the last one with that time.
Attributes
Type |
Description |
MethodImplAttribute |
|
Parameters
Name |
Type |
Description |
animancerEvent |
AnimancerEvent |
|
normalizedTime |
float |
|
Return Value
See Also
- Animancer.AnimancerEvent.Sequence.IndexOfRequired(Animancer.AnimancerEvent)