using System.Collections; using System.Collections.Generic; using TMPro; using UnityEngine; using UnityEngine.UI; public class GameOverScreen : MonoBehaviour { public static GameOverScreen instance; void Awake(){ instance = this; } public GameObject gameOverScreen; public TMP_Text winnerTxt; public GameObject processingText; public GameObject leaveButton; // Update is called once per frame void Start(){ gameOverScreen.SetActive(false); leaveButton.GetComponent