public static async UniTask RegisterFormSubmit(string username, string password) { try { var response = await ApiWrapper.AuthRegister(username, password); Login(response); } catch (Exception e) { Debug.Log(e); // TODO: Show error to player throw; } }