using System; using Base; using UnityEngine; using UnityEngine.UI; namespace Model { [EntityEvent(EntityEventId.UILobbyComponent)] public static class UILobbyComponentE { public static void Awake(this UILobbyComponent self) { ReferenceCollector rc = self.GetOwner().GameObject.GetComponent(); GameObject createRoom = rc.Get("CreateRoom"); GameObject joinRoom = rc.Get("JoinRoom"); createRoom.GetComponent