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

17 lines
358 B
C#
Raw Normal View History

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;
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
}