World Dialogue Trigger

World dialogue trigger component.

The world dialogue trigger component helps trigger quest dialogue at a certain time and place, depending on the trigger method.

Properties

Trigger Method: How or when it's triggered.

  1. On Collision Enter 2D or 3D: Triggered when the triggerer collides with a collider attached to this GameObject.

  2. On Collision Exit 2D or 3D: Triggered when the triggerer exits collision with a collider attached to this GameObject.

  3. On Awake: Triggered when the component's Awake method is called.

  4. On Start: Triggered when the component's Start method is called.

  5. On Disable: Triggered when the GameObject becomes inactive.

  6. On Enable: Triggered when the GameObject becomes active.

  7. On Destroy: Triggered when the GameObject is destroyed.

  8. Manually Call Trigger: There is no automatic trigger. The Trigger method must be called manually through code.

Triggerer: The GameObject that causes the trigger on collision.

Quest Key: The key of the relevant quest.

State: The state that the quest should be in for it to be triggered.

Trigger Node Key: The key of the dialogue trigger node.

Destroy Component On Trigger: If the component should be destroyed when triggered.

Last updated