Unity3d-Finite-State-Machine icon indicating copy to clipboard operation
Unity3d-Finite-State-Machine copied to clipboard

When the Component that StateMachine bind to has be destroyed, it will output error.

Open xiaoTN opened this issue 1 year ago • 1 comments

image

There only have stateMachineList.Add(fsm), but don't have stateMachineList.Remove(fsm) when component has be destroyed.

xiaoTN avatar Jan 09 '24 03:01 xiaoTN

image

It will throw a NullReference error

xiaoTN avatar Jan 09 '24 03:01 xiaoTN