The above condition is no longer needed, as seek_state() can also manage siblings.
Overall performance could be marginally improved by passing in a NodePath instead of a State, since get_path_to() could be skipped, but this is a breaking change, so it can wait 'til later.
The above condition is no longer needed, as seek_state() can also manage siblings.
Overall performance could be marginally improved by passing in a NodePath instead of a State, since get_path_to() could be skipped, but this is a breaking change, so it can wait 'til later.