Summary
[Pro-Only] Sets the
Animancer.AnimancerEvent.normalizedTime
of the matching `animancerEvent`.- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- AnimancerEvent
.Sequence
Syntax
public int SetNormalizedTime(AnimancerEvent animancerEvent, float normalizedTime)
Remarks
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.
Parameters
Name | Type | Description |
---|---|---|
animancerEvent | AnimancerEvent | |
normalizedTime | float |
Return Value
Type | Description |
---|---|
int |
See Also
- Animancer.AnimancerEvent.Sequence.IndexOfRequired(Animancer.AnimancerEvent)