using TMPro; using UnityEngine; namespace LobbyRelaySample.UI { /// /// Controls a button which will set the local player's emote state when pressed. This demonstrates a player updating their data within the room. /// public class EmoteButtonUI : MonoBehaviour { [SerializeField] private EmoteType m_emoteType; public void SetPlayerEmote() { Locator.Get.Messenger.OnReceiveMessage(MessageType.UserSetEmote, m_emoteType); } } }