Hi,
ok, This doesn't look too bad actually. Are you concerned about performances?
I never reset fsm, never had the need too. Maybe because I use a a different technic when I need to "reset" a behaviour. Basically, then, I never rely on the component serialization to restart, but simply store the values myself in a system like a database or something simpler, and simply manually create a Reset system within my Fsm, calling a event "RESET" or something, that will read what ever data is needs to reset.
It is an overhead, but it feels more confortable this way, as I have true control over all aspect of the behavior.
bye,
Jean
Bye,
Jean