void OnDrawGizmos() { if (ShowGizmos) { if (currentData != null) { currentData.DrawGizmos(); } if (stateMachine != null) { stateMachine.DrawGizmos(); } } }