When the turn changes from one player to another in my game, I have an coroutine animation that shows the new active player's avatar and name.
However, also when the turn changes, my server runs a bunch of "at beginning of turn" effects for the player. I want my server to wait until the coroutine on both clients, showing who's turn it is now, finishes.
I tried doing it in a convoluted way such that I run a serverrpc on only the active player's client that goes back to the server and tells it to run all the effects but I couldn't get that working. Is that the best way to do it or is there a simpler way I'm not thinking of?
Thanks!