Photon Unity Networking 2
2.52
Public Member Functions | |
| void | OnTurnBegins (int turn) |
| Called the turn begins event. More... | |
| void | OnTurnCompleted (int turn) |
| Called when a turn is completed (finished by all players) More... | |
| void | OnPlayerMove (Player player, int turn, object move) |
| Called when a player moved (but did not finish the turn) More... | |
| void | OnPlayerFinished (Player player, int turn, object move) |
| When a player finishes a turn (includes the action/move of that player) More... | |
| void | OnTurnTimeEnds (int turn) |
| Called when a turn completes due to a time constraint (timeout for a turn) More... | |
| void OnPlayerFinished | ( | Player | player, |
| int | turn, | ||
| object | move | ||
| ) |
When a player finishes a turn (includes the action/move of that player)
| player | Player reference |
| turn | Turn index |
| move | Move Object data |
| void OnPlayerMove | ( | Player | player, |
| int | turn, | ||
| object | move | ||
| ) |
Called when a player moved (but did not finish the turn)
| player | Player reference |
| turn | Turn Index |
| move | Move Object data |
| void OnTurnBegins | ( | int | turn | ) |
Called the turn begins event.
| turn | Turn Index |
| void OnTurnCompleted | ( | int | turn | ) |
Called when a turn is completed (finished by all players)
| turn | Turn Index |
| void OnTurnTimeEnds | ( | int | turn | ) |
Called when a turn completes due to a time constraint (timeout for a turn)
| turn | Turn index |