Hi k2022,
currently it is not supported to manually pause the flow, because the flow traversal is done as quickly as possible, so there wouldn't be really time to pause "in between". When the flow player pauses it pauses on node types you marked in
PauseOn. If you don't want to traverse the flow just don't call
Start again after one of those pauses. If you check our demo project "Maniac Manfred" you will see this in action: When you click on something a dialogue might appear, driven by the flow player, and after the last sentence the dialogue UI disappears but the flow player is still pausing at the last node. I you still need a pause, your approach should work just fine, remember: Everytime a node type is hit on traversal that is in PauseOn the flow player will not continue traversal until you call StartOn again or any Play() method.
I'd also like to create the flowplayer from code rather than set the StartOn from the Unity UI.
This sounds like two different questions: You can create the ArticyFlowPlayer Component from code with unitys AddComponent() and you can call StartOn in code just as well, but be careful to not use the field
startOn in Code please use
StartOn with a capital S.
Hope that helps
Best regards
Nico