/// <summary> /// uses BlockingPanel /// </summary> public async UniTask Start(UniTask operation) { await BlockingPanel.Show(); try { await operation; BlockingPanel.Hide(); } catch (BadUserInputException) //todo test if you can get bad user input exc here { BlockingPanel.Done("operation is not allowed"); throw; } }
private void OnHuaweiLoginFailure(HMSException exc) { BlockingPanel.Done("failed huawei login with exception: " + exc); }