Class PlayerJoinCard
This class represents a player join card, displaying the player's number and preview in the game lobby.
Inheritance
object
PlayerJoinCard
Namespace: Game
Assembly: cs.temp.dll.dll
Syntax
public class PlayerJoinCard : MonoBehaviour
Fields
playerNumber
The number assigned to the player.
Declaration
public int playerNumber
Field Value
| Type | Description |
|---|---|
| int |
playerNumberText
The text element displaying the player's number.
Declaration
public TextMeshProUGUI playerNumberText
Field Value
| Type | Description |
|---|---|
| TextMeshProUGUI |
playerPreview
The preview object representing the player.
Declaration
public GameObject playerPreview
Field Value
| Type | Description |
|---|---|
| GameObject |