Reply To: How to add onFinish callback to PlayFromSection?

Forums 💬 Slate Sequencer ⚙️ Support How to add onFinish callback to PlayFromSection? Reply To: How to add onFinish callback to PlayFromSection?

#20114
mdotstrange
Participant

    [quote quote=2242]Hey, sorry for the late reply. I somehow missed your post :-/ Here is how to use lambda: <!– Crayon Syntax Highlighter v_2.7.2_beta –>

    <!– [Format Time: 0.0009 seconds] –> In case of PlayFromSection method, the existing overload that accepts callback requires to also provide a wrapping method parameter: <!– Crayon Syntax Highlighter v_2.7.2_beta –>

    <!– [Format Time: 0.0002 seconds] –> You can alternatively also replace the lambda with a method if that is easier for you. So for example: <!– Crayon Syntax Highlighter v_2.7.2_beta –>

    <!– [Format Time: 0.0002 seconds] –> Let me know if that works for you. 🙂 [/quote]

    Works perfectly- thank you!