Slate Forums › Support › How to add onFinish callback to PlayFromSection? › Reply To: How to add onFinish callback to PlayFromSection?
Hey, sorry for the late reply. I somehow missed your post :-/
Here is how to use lambda:
In case of PlayFromSection method, the existing overload that accepts callback requires to also provide a wrapping method parameter:
You can alternatively also replace the lambda with a method if that is easier for you. So for example:
Let me know if that works for you.
🙂
Join us on Discord: https://discord.gg/97q2Rjh
Username
Password
Remember Me
By registering on this website you agree to our Privacy Policy.
Email
Username or Email