|
void | Awake () |
|
async void | OnMatchMakingUpdate (MatchmakingStatus status) |
|
async void | OnCancel () |
|
void | OnInit () |
| Once players have joined the game session, prompt them to hit the ready button, move timer to a visible location, and set the matchmaking display to false. More...
|
|
void | SetPlayerReady (bool activeState, long dbid) |
| Sets the correct player to a ready state. More...
|
|
void | OnGameStart () |
| Close the matchmaking screen, and start the game More...
|
|
void | UpdatePlacards (int player, long dbid) |
| Verifies that the playercard to update, matches the currently affected player, and then sets the player's position based on what player number they are 1-4. More...
|
|
Vector2[] | SetPlayerPosition (int player) |
| Sets vectors to place player positions with respect to which player they are in the game. More...
|
|
|
TextMeshProUGUI | queueTimeRemaining |
|
Image | loadingBarForward |
|
Image | loadingBarBackward |
|
Sprite | loadingBarEnding |
|
List< MatchmakingPlacard > | playerPlacards |
|
List< GameObject > | gameParts |
|
GameObject[] | readyButtons |
|
CanvasGroup | UIbackground |
|
List< long > | currentPlayers |
|
GameObject | startText |
|
GameObject | readyButton |
|
GameObject | readyTimer |
|
GameObject | loadingGameObject |
|
◆ OnGameStart()
void MatchMakingUI.OnGameStart |
( |
| ) |
|
|
inline |
Close the matchmaking screen, and start the game
◆ OnInit()
void MatchMakingUI.OnInit |
( |
| ) |
|
|
inline |
Once players have joined the game session, prompt them to hit the ready button, move timer to a visible location, and set the matchmaking display to false.
◆ SetPlayerPosition()
Vector2 [] MatchMakingUI.SetPlayerPosition |
( |
int |
player | ) |
|
|
inline |
Sets vectors to place player positions with respect to which player they are in the game.
- Parameters
-
player | Player number in the game |
- Returns
◆ SetPlayerReady()
void MatchMakingUI.SetPlayerReady |
( |
bool |
activeState, |
|
|
long |
dbid |
|
) |
| |
|
inline |
Sets the correct player to a ready state.
- Parameters
-
activeState | Whether play is ready or not |
dbid | player's state to be changed |
◆ UpdatePlacards()
void MatchMakingUI.UpdatePlacards |
( |
int |
player, |
|
|
long |
dbid |
|
) |
| |
|
inline |
Verifies that the playercard to update, matches the currently affected player, and then sets the player's position based on what player number they are 1-4.
- Parameters
-
The documentation for this class was generated from the following file:
- client/Assets/DemoGame/Scripts/MatchMakingUI.cs