added comments and organized project files
This commit is contained in:
14
Assets/Scripts/Game/PlayerJoinCard.cs
Normal file
14
Assets/Scripts/Game/PlayerJoinCard.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user