Summary
Subscribes a callback to the stopped event which is triggered when the layer starts its "out" transition.
Please consider using
OnStopped<T>(T, Action<T, FlexMotionLayer>) instead to prevent possible closure allocations.
Syntax
public FlexMotionLayer OnStopped(FlexMotionLayer.FlexMotionLayerEventHandler callback)
Parameters
| Name | Type | Description |
|---|---|---|
| callback | FlexMotionLayer |
The method to be called when the event will be triggered. |
Return Value
| Type | Description |
|---|---|
| FlexMotionLayer | The same instance of FlexMotionLayer, allowing chained method calls. |