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