public void ShowTestRewarded1() { if (TestRewarded1.IsReady) { TestRewarded1.Show(); } else { Debug.Log("Test TestRewarded1 is no ready"); } }
public async void ShowRewarded1Await() { // Show the add UnityEngine.Advertisements.ShowResult result; try { Debug.Log("Awiting for: " + TestRewarded1.name); result = await TestRewarded1.Show(); } catch (System.Exception) { result = UnityEngine.Advertisements.ShowResult.Failed; } Debug.Log("Result: " + result); }