using System; using UnityEngine; using UnityEngine.EventSystems; public class UIMonoBase : MonoBase { public void EventClick(GameObject ga, Action func, int soundId = 0, int effectId = 2004003, bool isAnim = true, float clickCD = 0.5f) { UITool.EventClick(ga, func, soundId, effectId, isAnim, clickCD); } public void RemoveClick(GameObject ga) { UITool.RemoveClick(ga); } public void EventDown(GameObject ga, Action func) { UITool.EventDown(ga, func); } public void SetBtnInteractable(GameObject go, bool interactable) { UITool.SetBtnInteractable(go, interactable); } }