Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Question Wait for multiple UWR to be posted

Discussion in 'Multiplayer' started by Studio6D, Jan 3, 2022.

  1. Studio6D

    Studio6D

    Joined:
    Jun 10, 2021
    Posts:
    11
    Hello,

    I have a claim reward system for a PVP quiz game. Once the match is finished the user claim his reward. Even if he's offline he can claim for all his pending rewards and I save them in a list of objects.

    When he gets his connection back, I'd like to send all of them simultaneously, clear the list, if one of them failed it's added back into the list and know if one of them has failed.

    Long story short, I'd like to know how I can yield return for a Coroutine that post several UWR.

    Thanks a lot for your advices and tips :)