Explosion.Trigger


Declaration

public enum Trigger

Description

A type of trigger that causes an explosion.

Properties

ManualThe explosion is triggered manually.
OnStartTriggers the explosion on the start of the script.
OnCollisionEnterTriggers the explosion when a collision occurs on the object.
OnCollisionExitTriggers the explosion after a collision exits on the object.
OnTriggerEnterTriggers the explosion when entering a trigger collider.
OnTriggerExitTriggers the explosion after exiting a trigger collider.