private LobbyControl GetLobbyUiControl() { if (m_LobbyControl == null) { m_LobbyControl = FindObjectOfType <LobbyControl>(); } return(m_LobbyControl); }
void Start() { lobby = transform.parent.parent.GetComponent <LobbyControl>(); UpdatePlayersInTeam(); }
void Awake() { instance = this; }
// Start is called before the first frame update void Start() { animator = GetComponent <Animator>(); lobbyControl = PreStartPanel.GetComponent <LobbyControl>(); }