Closed xufeifeiWHU closed 1 year ago
Hi! thanks, yes it is possible. Use state hierarchy for that. Add a parent for your states, and put transition into it. If you don't need additional parent you can put transition into state machine itself. All child states will inherit this transition, and even can override it if necessary.
Please read "Nested states" section in docs https://nsk90.github.io/kstatemachine/
it really works thanks
Hi , sir it is a great job , when I try to apply it into project , I need to add a transition for all states , whatever the src state , I have tried several times ,but still could not add such transition .
thanls for your