Hmm… I think that adding an optional bool parameter for StopBehaviour like in your first suggestion, makes total sense and I can definitely add this in the next version officially:
1
2
3
4
5
6
7
8
9
10
11
///Stop the current running graph
publicvoidStopBehaviour(boolsuccess=true){
if(graph!=null){
graph.Stop(success);
if(onOwnerBehaviourStateChange!=null){
onOwnerBehaviourStateChange(this);
}
}
}
Would that work for you?
I could of course also add your second suggestion ClearOnFinishActions() if required 🙂
Let me know.
Thank you!
Join us on Discord: https://discord.gg/97q2Rjh
Login
Register
By registering on this website you agree to our Privacy Policy.