using System; using Model; using UnityEngine; using UnityEngine.UI; namespace Hotfix { [ObjectEvent] public class UILobbyComponentEvent : ObjectEvent, IAwake { public void Awake() { this.Get().Awake(); } } public class UILobbyComponent : Component { private GameObject sendBtn; private GameObject sendRpcBtn; private GameObject transfer1Btn; private GameObject transfer2Btn; public void Awake() { ReferenceCollector rc = this.GetEntity().GameObject.GetComponent(); this.sendBtn = rc.Get("Send"); this.sendRpcBtn = rc.Get("SendRpc"); this.sendBtn.GetComponent