update core

This commit is contained in:
2023-04-04 18:33:51 +08:00
parent c343024804
commit dff124f0be

View File

@@ -25,11 +25,11 @@ public class AwardVideoPlayer : ADPlayer , ATRewardedVideoListener
{ {
if (this.IsReadly()) if (this.IsReadly())
{ {
this.curState = 0;
this._onVideoComplete = onVideoComplete; this._onVideoComplete = onVideoComplete;
this.adListener.onClose = onClose; this.adListener.onClose = onClose;
this.adListener.onVideoComplete = this.OnVideoComplete; this.adListener.onVideoComplete = this.OnVideoComplete;
this._atRewardedVideo.showAd(this.Key); this._atRewardedVideo.showAd(this.Key);
this.curState = 0;
} }
} }