using System; using Model; using UnityEngine; using UnityEngine.UI; namespace Hotfix { [ObjectEvent] public class UILoginComponentEvent : ObjectEvent, IAwake { public void Awake() { this.Get().Awake(); } } public class UILoginComponent: Component { private GameObject account; private GameObject loginBtn; public void Awake() { ReferenceCollector rc = this.GetOwner().GameObject.GetComponent(); loginBtn = rc.Get("LoginBtn"); loginBtn.GetComponent