private MatchLobbyScene EnsureGetMatchLobbyScene() { if (matchLobbyScene == null) { matchLobbyScene = FindObjectOfType(typeof(MatchLobbyScene)) as MatchLobbyScene; } return(matchLobbyScene); }
private void Awake() { matchLobbyScene = FindObjectOfType(typeof(MatchLobbyScene)) as MatchLobbyScene; }