using SC.XR.Unity; using UnityEngine; using static WindowsManager; public class RoomInfo : SingletonMono { public GameObject chatShowBT; public ChatTextManager ctManager; void initShow() { //ctManager.DeletText(); //ctManager.joinRoom(); showChat(); } public void showChat() { chatShowBT.SetActive(false); ctManager.gameObject.SetActive(true); } public void closeChat() { chatShowBT.SetActive(true); ctManager.gameObject.SetActive(false); } public void ResetChatText() { if (!ctManager.gameObject.activeSelf) { showChat(); } } }