What loop for a local multiplayer game?

Im new to Unity and wanna make the windows console game i created in unity.

I have a playerturn function and in this function im waiting for a input and only if the input is done the code continues. My idea was to just loop one playerturn after another but i dont know where to put this function. Cause when i put it in the update it just doesnt wait for the input and keeps calling the function every frame.

something like this might work for you

void Update() { Input.GetKeyDown(KeyCode.A) { TurnManager(); } }

void TurnManager() { //all your turn stuff }