fn get_list_item_idx(
curr_entity: Entity,
target: &Query<'_, '_, &CarriageListItem>,
children: &Query<'_, '_, &ChildOf>,
) -> Option<usize>Expand description
Find parent with CarriageListItem component and returns the index.
fn get_list_item_idx(
curr_entity: Entity,
target: &Query<'_, '_, &CarriageListItem>,
children: &Query<'_, '_, &ChildOf>,
) -> Option<usize>Find parent with CarriageListItem component and returns the index.