Esempio n. 1
0
    void FetchClientInterface()
    {
        _clientInterface = OnlineService.ClientInterface;

        if (_clientInterface != null)
        {
            _clientInterface.OnTerminate          += OnOnlineInterfaceTerminated;
            _clientInterface.OnSessionListUpdated += OnSessionListUpdated;
            _clientInterface.GetAvailableSessions(ref _sessions);
        }

        UpdateSessionButtonList();
    }
Esempio n. 2
0
 void OnSessionListUpdated()
 {
     _spinnerIcon.SetActive(false);
     _clientInterface?.GetAvailableSessions(ref _sessions);
     UpdateSessionButtonList();
 }