void OnDestroy() { if (stateMachine != null) { stateMachine.Destroy(); stateMachine = null; } }
void Start() { stateMachine = new BrynhildrStateMachine(this); }