using System; using System.Collections; using System.Collections.Generic; using System.Threading.Tasks; using DefaultNamespace.ProcessMode; using MotionFramework; using TMPro; using UnityEngine; public class MessageManager : MonoBehaviour { public TMP_Text text; void Start() { MotionEngine.GetModule().OnSendMessagePrompt += SendMessagePrompt; } private void SendMessagePrompt(string message) { text.text = message; } }