Closed santutu closed 4 months ago
Usecase easily track ActiveState changing.
Simple Usage fsm.OnActiveStateChanged += (state)=> Debug.Log(state.name);
fsm.OnActiveStateChanged += (state)=> Debug.Log(state.name);
I didn't add invoking event method in ActiveState's setter for minimum code changing. I added it in StateMachine class's ChangeState method and OnExit method. but i am willing to fix it.
Usecase easily track ActiveState changing.
Simple Usage
fsm.OnActiveStateChanged += (state)=> Debug.Log(state.name);
I didn't add invoking event method in ActiveState's setter for minimum code changing. I added it in StateMachine class's ChangeState method and OnExit method. but i am willing to fix it.