SUSMachine icon indicating copy to clipboard operation
SUSMachine copied to clipboard

pick a monobehaviour to update enable status?

Open JamesYFC opened this issue 2 years ago • 0 comments

due to the fact that these state machines are independent of MonoBehaviour, users may unwittingly expect SUSMachine update functions to only be active when the creator script is active and enabled.

E.G. we could have an option (in the constructor perhaps, seeing as we already have the game object param there?) to input a monobehaviour and check on update its enabled status to mirror update functions on/off in the StateMachineManager

JamesYFC avatar Oct 22 '23 14:10 JamesYFC