Skip to content
New issue

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

粒子系统在5.2.10版本Android端无法停止 #40

Open
Eschere opened this issue Oct 8, 2018 · 0 comments
Open

粒子系统在5.2.10版本Android端无法停止 #40

Eschere opened this issue Oct 8, 2018 · 0 comments

Comments

@Eschere
Copy link

Eschere commented Oct 8, 2018

官方demo中加入如下代码

        this.btn3 = new egret.TextField();
        this.btn3.text = "停止";
        this.addChild(this.btn3);

        this.btn3.x = 180;
        this.btn3.y = 100;
        this.btn3.width = 100;
        this.btn3.height = 50;
        this.btn3.touchEnabled = true;
        this.btn3.addEventListener(egret.TouchEvent.TOUCH_TAP, function () {
            this.system.stop()
            egret.log('need stop')
        }, this);

在网页端可以正常运行,在Android项目中无法停止。
在5.1.x版本可正常运行。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant