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 enterMap; private Text text; public void Awake() { ReferenceCollector rc = this.GetEntity().GameObject.GetComponent(); GameObject sendBtn = rc.Get("Send"); GameObject sendRpcBtn = rc.Get("SendRpc"); sendBtn.GetComponent