📚
Deadly Dungeons
  • Initial page
  • Traps
    • Introduction
    • Trap Triggers
    • Raycast Triggers
    • Disabling Traps with Triggers
    • Trap
    • Trap Mechanism
      • Animator
      • Launcher
      • Particle (Trap Mechanism)
      • Physics
    • Effect Handlers
      • Audio Handler
      • Particle (Effect Handler)
      • Ray Handler
      • Custom Effect Handler
    • Damage System
      • Damage Source
      • IDamageable
      • Damage Result
    • Damageable Example
    • Utility
      • AutoConnect Joint
      • Texture Mover
Powered by GitBook
On this page

Was this helpful?

  1. Traps

Effect Handlers

PreviousPhysicsNextAudio Handler

Last updated 4 years ago

Was this helpful?

These components control different visual or audio effects. You can add them to the list on the 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()    

Trap Mechanism
Audio Handler
Particle (Effect Handler)
Custom Effect Handler