Class: EffectAddAfterEventSignal
event effectBeta
管理与将效果添加到实体时相关的回调。
Manages callbacks that are connected to when an effect is added to an entity.
Methods
subscribe()
subscribe(
callback,options?): (arg0) =>void
World Mutation Early Execution Beta
Parameters
callback
(arg0) => void
options?
Returns
(arg0) => void
Remarks
添加一个回调,当效果被添加到实体时将被调用。
Adds a callback that will be called when an effect is added to an entity.
unsubscribe()
unsubscribe(
callback):void
World Mutation Early Execution Beta
Parameters
callback
(arg0) => void
Returns
void
Remarks
移除一个回调,使其在效果被添加到实体时不再被调用。
Removes a callback from being called when an effect is added to an entity.
