MCPcopy Create free account
hub / github.com/esengine/esengine / canAddEffect

Method canAddEffect

packages/particle/src/ClickFxComponent.ts:194–196  ·  view source on GitHub ↗

* 是否可以添加新特效 * Whether can add new effect

()

Source from the content-addressed store, hash-verified

192 * Whether can add new effect
193 */
194 public canAddEffect(): boolean {
195 return this._activeEffects.length < this.maxConcurrent;
196 }
197
198 /**
199 * 重置状态

Callers 1

processMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected