Summary
Syntax
public FlexMotionLayer OnNormalizedTime(float normalizedTime, bool isRepeat, bool useLoopRepeat, Action<FlexMotionLayer> callback)
Parameters
Name |
Type |
Description |
normalizedTime |
float |
The normalized time to reach for the callback to be invoked. |
isRepeat |
bool |
Should the callback be repeated or only invoked once? |
useLoopRepeat |
bool |
Is the repeat based on the added time or on animation loops. |
callback |
Action<FlexMotionLayer> |
The method to be called when the time condition will be reached. |
Return Value
Type |
Description |
FlexMotionLayer |
The same instance of FlexMotionLayer , allowing chained method calls. |