I understand this function switches to another state when an FSM gets to a certain state. Is this correct? Because I can't make it work.
I have an FSM and then another one, on another game object.
I want to make it so that when the game object goes in Idle state, the first object switches to a new state. Attached are some screenshots of the two FSM. Maybe I haven't understood how the FSM State Switch works, can you clarify it to me? Thanks!