2025-02-16 16:47:45 -05:00
|
|
|
using TMPro;
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
|
|
public class PlayerJoinCard : MonoBehaviour
|
|
|
|
|
{
|
|
|
|
|
public GameObject playerPreview;
|
|
|
|
|
public int playerNumber;
|
|
|
|
|
public TextMeshProUGUI playerNumberText;
|
|
|
|
|
|
2025-03-28 17:39:07 -04:00
|
|
|
void Start() // Sets player number
|
2025-02-16 16:47:45 -05:00
|
|
|
{
|
|
|
|
|
playerNumberText.text = playerNumber.ToString();
|
|
|
|
|
}
|
|
|
|
|
}
|