Skip to content

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

@Eschere

Description

@Eschere

官方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版本可正常运行。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions