Skip to content

Conversation

@Suancaiyuzy1
Copy link
Contributor

1212

Copy link
Contributor

@Kxnrl Kxnrl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

countdown效率过于地下, 可以尝试fys script parameters template

Instance.OnActivate(() => {
if (CFG.AUTO_ACTIVE) {
Instance.SetNextThink(now() + 1);
Instance.SetThink(() => Instance.OnScriptInput("Activate", {}));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

应使用变量进行状态管理, 而不是Alloc新的callback进行覆盖

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

Successfully merging this pull request may close these issues.

2 participants