-
Say I have a system with function signature: pub fn get_player_no_ecs(
query: Query<(Entity, &Name), With<Player>>,
player_name: impl Into<String>,
) -> Option<Entity> Looking at the system piping example, I thought maybe I should do something like this: pub fn get_player_no_ecs(
query: Query<(Entity, &Name), With<Player>>,
In(player_name): In<impl Into<String>>,
) -> Option<Entity> However, I'm not sure how to use this with |
Beta Was this translation helpful? Give feedback.
Answered by
NiklasEi
Feb 6, 2024
Replies: 1 comment 3 replies
-
It should "just" be world.run_system_once_with(player_name, get_player_no_ecs) are you running into issues with that? I do something very similar in Cinnog. It looks like |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is the
In
parameter the first Parameter of the system?