// Start is called before the first frame update void Start() { errorPanel = this; GetComponentInChildren <Button>().onClick.AddListener(OkButton); }
private void OnError(PlayFabError error) { spinnerScreen.SetActive(false); Debug.Log(error); PopupError.ShowErrorMessage("PlayFab", error.GenerateErrorReport()); }