15 lines
301 B
C#
15 lines
301 B
C#
using TMPro;
|
|
using UnityEngine;
|
|
|
|
public class PlayerJoinCard : MonoBehaviour
|
|
{
|
|
public GameObject playerPreview;
|
|
public int playerNumber;
|
|
public TextMeshProUGUI playerNumberText;
|
|
|
|
void Start() // Sets player number
|
|
{
|
|
playerNumberText.text = playerNumber.ToString();
|
|
}
|
|
}
|