We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ui::Text is not displayed at the "onSuccess" event after purchase (sdkbox IAP).
void ShopLayer::onSuccess(const Product &p) { ui::Text *text = ui::Text::create(); text->setPosition(Vec2(300.f, 300.f)); text->setString("aaaaa"); text->setFontSize(33); addChild(text); }
It is displayed in 3.17.1
can work this issue below
void ShopLayer::onSuccess(const Product &p) { scheduleOnce( [this](float f){ ui::Text *text = ui::Text::create(); text->setPosition(Vec2(300.f, 300.f)); text->setString("aaaaa"); text->setFontSize(33); addChild(text); }, 0.1f, "aaa"); }
The text was updated successfully, but these errors were encountered:
I think i may caused by #19256. You can un comment super.onPause();.
super.onPause();
Sorry, something went wrong.
It worked when commenting out super.onPause(); of Cocos2dxGLSurfaceView.java
i sent #19996 to fix it
No branches or pull requests
ui::Text is not displayed at the "onSuccess" event after purchase (sdkbox IAP).
It is displayed in 3.17.1
can work this issue below
The text was updated successfully, but these errors were encountered: