Effect Handlers

These components control different visual or audio effects. You can add them to the list on the Trap Mechanism components.

  • Delay: how many seconds after the command executes after triggering.

Methods you can call with the commands in the mechanism or directly from code. Not all of these are available for every handler type.

// Only plays the effect once.
void PlayOnce() 

// Start playing the effect indefinitely
void Play()      

// Paused the effect. When the play called, it resumes.
void Pause()     

// Stops the effect and resets it
void Stop()    

Last updated