Method to add an action to the next prompt.
The target phase for the prompt.
The mode of the UI.
The callback function to execute.
Optional
expireFn: (() => void)The function to determine if the prompt has expired.
m2m to set mode.
Rest
...args: any[]Remove the current phase from the phase interceptor.
Do not call this unless absolutely necessary. This function is intended for cleaning up the phase interceptor when, for whatever reason, a phase is manually ended without using the phase interceptor.
Whether or not the current scene should also be run.
Constructor to initialize the scene and properties, and to start the phase handling.