sounds and screens with improved matchmaker
This commit is contained in:
@@ -23,6 +23,7 @@ public class GameCanvas : MonoBehaviour
|
||||
public Color blueColor = Color.blue;
|
||||
public TMP_Text blueTurnTimer;
|
||||
[FormerlySerializedAs("txtTurnTimer")] public TMP_Text redTurnTimer;
|
||||
public TMP_Text redName,blueName;
|
||||
public TMP_Text txtWhosTurn;
|
||||
public Image blueTurnTimerRound;
|
||||
[FormerlySerializedAs("turnTimerRound")] public Image redTurnTimerRound;
|
||||
@@ -30,6 +31,11 @@ public class GameCanvas : MonoBehaviour
|
||||
public GameObject waitingForOpponentPanel;
|
||||
|
||||
|
||||
void Start(){
|
||||
redName.text = GameManager.RedPlayer.Name;
|
||||
blueName.text = GameManager.BluePlayer.Name;
|
||||
}
|
||||
|
||||
public void ShowWaitingForOpponentPanel(){
|
||||
waitingForOpponentPanel.SetActive(true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user