using System.Collections; using System.Collections.Generic; using UnityEngine; using TMPro; public class ShowRoomName : MonoSingleton { public TMP_Text roomName; private void OnEnable() { if (MachineRoomManager.Instance.data != null) roomName.text = MachineRoomManager.Instance.data.roomName; } }