Method
FlexMotionLayer.OnTime(float, Action<FlexMotionLayer>, bool, bool)

Summary

Syntax

public FlexMotionLayer OnTime(float time, Action<FlexMotionLayer> callback, bool isRepeat = false, bool useLoopRepeat = false)

Parameters

Name Type Description
time float The time to reach for the callback to be invoked.
callback Action<FlexMotionLayer> The method to be called when the time condition will be reached.
isRepeat bool
useLoopRepeat bool

Return Value

Type Description
FlexMotionLayer The same instance of FlexMotionLayer, allowing chained method calls.