Files
Crash-Course/Assets/Scripts/Game/PlayerJoinCard.cs

15 lines
301 B
C#
Raw Normal View History

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;
void Start() // Sets player number
2025-02-16 16:47:45 -05:00
{
playerNumberText.text = playerNumber.ToString();
}
}