public static async void Load() { try { var response = await ApiWrapper.AuthSession(); Login(response); } catch (Exception e) { Instance.OnNext(null); Debug.Log(e); // TODO: Show error to player } }
public static async void Load() { try { var response = await ApiWrapper.AuthSession(); Login(response); } catch (Exception e) { Instance.OnNext(null); Debug.Log(e); // TODO: Show error to player } }