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
老师你好 我在运行项目时发现这样的问题 在将app切至后台之后再切出来会崩,问题在于多次初始化context,在将初始化移至init块之后避免了这个问题,但是仍然会多次实例化bevy ps. 我并不懂安卓,因为想把bevy塞进app才开始研究
根据描述,本案例是作为开屏小游戏 我这边是想把bevy作为主要内容,所以出现了此问题 请老师指点
The text was updated successfully, but these errors were encountered:
Sorry, 我电脑上的安卓开发环境坏掉了,可能近期没有时间去修复这个崩溃的问题。 会多次实例化 bevy 是因为我将 bevy 的实例化放在了 create_breakout_app 这个方法内了。
从后台恢复,实际上需要的只是重新实例化并添加 AppViewPlugin,至于如何修改,可能需要去看看 bevy 提供的接口,或者,参考 bevy 官方的 android 示例。
Sorry, something went wrong.
No branches or pull requests
老师你好
我在运行项目时发现这样的问题
在将app切至后台之后再切出来会崩,问题在于多次初始化context,在将初始化移至init块之后避免了这个问题,但是仍然会多次实例化bevy
ps. 我并不懂安卓,因为想把bevy塞进app才开始研究
根据描述,本案例是作为开屏小游戏
我这边是想把bevy作为主要内容,所以出现了此问题
请老师指点
The text was updated successfully, but these errors were encountered: