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(UIRuleComponent))] public static class UIRuleComponentSystem { [ObjectSystem] public class UIRuleComponentAwakeSystem : AwakeSystem { protected override void Awake(UIRuleComponent self, params object[] param) { ReferenceCollector rc = self.GetParent().GameObject.GetComponent(); self.noStatsTxt = rc.Get("noStatsTxt"); self.closeBtn = rc.Get("closeBtn"); self.closeBtn.GetComponent