ready for matchmaking
This commit is contained in:
@@ -11,6 +11,8 @@ public class GameCanvas : MonoBehaviour
|
||||
void Awake()
|
||||
{
|
||||
instance = this;
|
||||
|
||||
ShowWaitingForOpponentPanel();
|
||||
}
|
||||
|
||||
public EventTrigger gameInputPanel;
|
||||
@@ -22,8 +24,16 @@ public class GameCanvas : MonoBehaviour
|
||||
public TMP_Text txtTurnTimer;
|
||||
public Image turnTimerRound;
|
||||
|
||||
public GameObject waitingForOpponentPanel;
|
||||
|
||||
|
||||
public void ShowWaitingForOpponentPanel(){
|
||||
waitingForOpponentPanel.SetActive(true);
|
||||
}
|
||||
public void HideWaitingForOpponentPanel(){
|
||||
waitingForOpponentPanel.SetActive(false);
|
||||
}
|
||||
|
||||
void Update(){
|
||||
UpdateTurnTimer();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user