2025-02-16 16:47:45 -05:00
|
|
|
using TMPro;
|
2025-04-16 19:57:54 -04:00
|
|
|
using UnityEngine; using Game; using Music; using Player;
|
|
|
|
|
namespace Game
|
|
|
|
|
{
|
2025-02-16 16:47:45 -05:00
|
|
|
|
|
|
|
|
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();
|
|
|
|
|
}
|
|
|
|
|
}
|
2025-04-16 19:57:54 -04:00
|
|
|
}
|