Summary
Registers a callback that will be invoked once when the provided normalized time is reached.
Syntax
public FlexMotionLayer OnNormalizedTime<T>(T caller, float normalizedTime, Action<T, FlexMotionLayer> callback)
where T : class
Type Parameters
Name |
Description |
T |
The class type of the caller. |
Parameters
Name |
Type |
Description |
caller |
T |
The caller of this method which will be part of the callback alongside the layer. |
normalizedTime |
float |
The normalized time to reach for the callback to be invoked. |
callback |
Action<T, 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. |