Unity3d-Finite-State-Machine
Unity3d-Finite-State-Machine copied to clipboard
Does that mean I can't have a separate class per state?
Hi,
Thank you for the great code.
I want to make sure i understand correctly. In the sample code there're 4 states. Init, Play, Win, and Lose. So I can't have 4 classes one for each state instead only the main class passed to the StateMachine constructor can have the functions of the state implemented like this STATENAME_METHODNAME?
Thank you for advance.