編集

次の方法で共有


ExplosionAfterEventSignal Class

Manages callbacks that are connected to when an explosion occurs.

Methods

subscribe

subscribe(callback: (arg: ExplosionAfterEvent) => void): (arg: ExplosionAfterEvent) => void

Adds a callback that will be called when an explosion occurs.

Parameters

Returns (arg: ExplosionAfterEvent) => void

Important

This function can't be called in read-only mode.

unsubscribe

unsubscribe(callback: (arg: ExplosionAfterEvent) => void): void

Removes a callback from being called when an explosion occurs.

Parameters

Important

This function can't be called in read-only mode.