using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class UIAnswerItem : MonoBehaviour { public Button openRightAnswer; private void Awake() { openRightAnswer.onClick.AddListener(()=> { UIManager.Instance.OpenUI(UIType.UIRightAnswer); }); } }