1234567891011121314151617181920212223242526272829303132333435363738 |
- using SC.XR.Unity;
- using UnityEngine;
- using static WindowsManager;
- public class RoomInfo : SingletonMono<RoomInfo>
- {
- 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();
- }
- }
- }
|