I am a user of PUN.
I am trying to make a turn based game like chess or card games.
I already checked the code of Rock Paper Scissors Demo.
PunTurnManager worked as expected in Rock Paper Scissors.
In this demo all of turns will proceed simultaneously.
But in a general turn based game each player operates separately.
I think that it is necessary to add the following processing.
I will set who's turn in PunTurnManager.
ex
public PhotonPlayer GetWhoseTurn();
public bool IsMyTurn();
etc...
Then if it is not my turn, I will end the turn.
But, I think this is a NOT beautiful logic.
Is there a good strategy for this case?
I am trying to make a turn based game like chess or card games.
I already checked the code of Rock Paper Scissors Demo.
PunTurnManager worked as expected in Rock Paper Scissors.
In this demo all of turns will proceed simultaneously.
But in a general turn based game each player operates separately.
I think that it is necessary to add the following processing.
I will set who's turn in PunTurnManager.
ex
public PhotonPlayer GetWhoseTurn();
public bool IsMyTurn();
etc...
Then if it is not my turn, I will end the turn.
But, I think this is a NOT beautiful logic.
Is there a good strategy for this case?