About Timer

Options
Hey I am working quiz game and i have two slider bar in game first is own player and second is network player.

if own player click answer button then stop own slider and another player is second slider

how to do this i want next question in same time...

Comments

  • [Deleted User]
    Options
    Hi @bipin,

    one option you have is to use RaiseEvent(...) function to let the other client know that the local client has given an answer. Therefore you need to use OnEvent callback. You can read about this way on the related section in the RPCs And RaiseEvent guide.

    You can also take a look at the Rock Paper Scissors demo that is included in the PUN package. I think it's basically similar to what you are looking for and uses the PunTurnManager which also uses RaiseEvent function.