DEV Community

Discussion on: State machine controller for Unity

Collapse
 
nottesla profile image
NotTesla

Nice, I do a similar thing. Usually I put my states on a stack though, guess it depends on your use case. Any particular reason behind making those methods internal?

Collapse
 
jushii profile image
Jussi Tuomi

No special reason really. I made them internal instead of public out of force of habit of following coding conventions at my day job.