// used for in-editor functionality protected static IEnumerator InvokeCallbackNextFrame(string state, string tag) { yield return(null); // wait a frame HZOfferWallAd.SetCallbackStateAndTag(state, tag); }
// received from native SDK public void SetCallback(string message) { string[] displayStateParams = message.Split(','); HZOfferWallAd.SetCallbackStateAndTag(displayStateParams[0], displayStateParams[1]); }