using System; using System.Collections; using System.Collections.Generic; using System.Data; using UnityEngine; using UnityEngine.UI; public class ShowHintUIController : MonoBehaviour { private void OnEnable() { YogaManager.Instance.ShowHint -= ShowHint; YogaManager.Instance.ShowHint += ShowHint; } private void OnDisable() { YogaManager.Instance.ShowHint -= ShowHint; } private void ShowHint(string hintText) { this.GetComponent().text = hintText; } }