using System; using System.Collections.Generic; using System.Threading.Tasks; using UnityEngine; using UnityEngine.UI; using static System.Net.Mime.MediaTypeNames; namespace ET.Client { [FriendOf(typeof(UIAlertComponent))] public static class UIAlertComponentSystem { [ObjectSystem] public class UIAlertComponentAwakeSystem : AwakeSystem { protected override void Awake(UIAlertComponent self, params object[] param) { ReferenceCollector rc = self.GetParent().GameObject.GetComponent(); self.cancelTxt = rc.Get("cancelTxt"); self.sureTxt = rc.Get("sureTxt"); self.contentTxt = rc.Get("contentTxt"); self.titleTxt = rc.Get("titleTxt"); self.cancelBtn = rc.Get("cancelBtn"); self.cancelBtn.GetComponent