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(UIInvateComponent))] public static class UIInvateComponentSystem { [ObjectSystem] public class UIInvateComponentAwakeSystem : AwakeSystem { protected override void Awake(UIInvateComponent self, params object[] param) { ReferenceCollector rc = self.GetParent().GameObject.GetComponent(); self.InvateObj = rc.Get("InvateObj"); self.UnInvateObj = rc.Get("UnInvateObj"); self.yourInvate = rc.Get("yourInvate"); self.invateInput = rc.Get("invateInput"); self.sureBtn = rc.Get("sureBtn"); self.sureBtn.GetComponent