this is sample stateflow. When I making a game(in unity), I want generate state class and uml for share. so I'm writing custom class generator, and uml exporter for that work.
It inspired by bitcraftCoLtd/finite-state-machine. you will like that also.
- input_state.ss
(def-fsm HelloFSM
(GenerateColor (EvtNext (color) ValidateColor))
(ValidateColor (EvtInvalid () GenerateColor))
(ValidateColor (EvtValid (color) DisplayColor))
(DisplayColor (EvtNext () GenerateColor))
)
-
rake
- unity preference - auto execute plugin
- refactoring macro
- doc
- make distributable