@dcl/playground-assets 7.23.2-25670347846.commit-ae6c2f7 → 7.23.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/alpha.d.ts
CHANGED
|
@@ -9050,6 +9050,11 @@ export declare interface TriggerAreaEventsSystem {
|
|
|
9050
9050
|
* Execute callback when an entity stays in the Trigger Area
|
|
9051
9051
|
* @param entity - The entity that already has the TriggerArea component
|
|
9052
9052
|
* @param cb - Function to execute the 'Stay' type of result is detected
|
|
9053
|
+
*
|
|
9054
|
+
* Note: stay callbacks are synthesized by the SDK on every tick between a wire ENTER and a wire EXIT.
|
|
9055
|
+
* Wire-level TAET_STAY events (still emitted by legacy Explorers) are ignored entirely — they neither
|
|
9056
|
+
* fire callbacks nor mutate state. The SDK is the sole source of onTriggerStay dispatches, driven
|
|
9057
|
+
* from the ENTER/EXIT state machine.
|
|
9053
9058
|
*/
|
|
9054
9059
|
onTriggerStay(entity: Entity, cb: TriggerAreaEventSystemCallback): void;
|
|
9055
9060
|
/**
|
package/dist/beta.d.ts
CHANGED
|
@@ -9017,6 +9017,11 @@ export declare interface TriggerAreaEventsSystem {
|
|
|
9017
9017
|
* Execute callback when an entity stays in the Trigger Area
|
|
9018
9018
|
* @param entity - The entity that already has the TriggerArea component
|
|
9019
9019
|
* @param cb - Function to execute the 'Stay' type of result is detected
|
|
9020
|
+
*
|
|
9021
|
+
* Note: stay callbacks are synthesized by the SDK on every tick between a wire ENTER and a wire EXIT.
|
|
9022
|
+
* Wire-level TAET_STAY events (still emitted by legacy Explorers) are ignored entirely — they neither
|
|
9023
|
+
* fire callbacks nor mutate state. The SDK is the sole source of onTriggerStay dispatches, driven
|
|
9024
|
+
* from the ENTER/EXIT state machine.
|
|
9020
9025
|
*/
|
|
9021
9026
|
onTriggerStay(entity: Entity, cb: TriggerAreaEventSystemCallback): void;
|
|
9022
9027
|
/**
|
package/dist/index.bundled.d.ts
CHANGED
|
@@ -9017,6 +9017,11 @@ export declare interface TriggerAreaEventsSystem {
|
|
|
9017
9017
|
* Execute callback when an entity stays in the Trigger Area
|
|
9018
9018
|
* @param entity - The entity that already has the TriggerArea component
|
|
9019
9019
|
* @param cb - Function to execute the 'Stay' type of result is detected
|
|
9020
|
+
*
|
|
9021
|
+
* Note: stay callbacks are synthesized by the SDK on every tick between a wire ENTER and a wire EXIT.
|
|
9022
|
+
* Wire-level TAET_STAY events (still emitted by legacy Explorers) are ignored entirely — they neither
|
|
9023
|
+
* fire callbacks nor mutate state. The SDK is the sole source of onTriggerStay dispatches, driven
|
|
9024
|
+
* from the ENTER/EXIT state machine.
|
|
9020
9025
|
*/
|
|
9021
9026
|
onTriggerStay(entity: Entity, cb: TriggerAreaEventSystemCallback): void;
|
|
9022
9027
|
/**
|