using TMPro; using UnityEngine; namespace LobbyRelaySample.UI { public class PlayerNameUI : ObserverPanel { [SerializeField] TMP_Text m_TextField; public override void ObservedUpdated(LobbyUser observed) { m_TextField.SetText(observed.DisplayName); } } }