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

现在第一次onEnable方法会调用两次 #484

Closed
Yeeeeer opened this issue Jun 26, 2023 · 0 comments
Closed

现在第一次onEnable方法会调用两次 #484

Yeeeeer opened this issue Jun 26, 2023 · 0 comments

Comments

@Yeeeeer
Copy link

Yeeeeer commented Jun 26, 2023

第一种,直接打钩Active After,第一次会调用两次onEnable
第二种 ,Active After=false,在代码里调用enabled=true,第一次也会调用两次

后面再去操作enabled=true都是正常调用一次onEnable

JasonXuDeveloper added a commit that referenced this issue Jun 26, 2023
JasonXuDeveloper added a commit that referenced this issue Jun 26, 2023
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

2 participants