PixelCrushers.DialogueSystem.Examples.AddRemoveDatabaseTrigger Class Reference

Adds a dialogue database to the master database on trigger enter, and removes the database on trigger exit. More...

Inheritance diagram for PixelCrushers.DialogueSystem.Examples.AddRemoveDatabaseTrigger:
Collaboration diagram for PixelCrushers.DialogueSystem.Examples.AddRemoveDatabaseTrigger:

Public Attributes

DialogueDatabase database
 The database to add/remove. More...
 
Condition condition
 The condition that must be true in order to add/remove the database. More...
 
bool debug = false
 If true, temporarily sets the debug level to Info while adding and removing the database. More...
 

Detailed Description

Adds a dialogue database to the master database on trigger enter, and removes the database on trigger exit.

Member Data Documentation

◆ condition

Condition PixelCrushers.DialogueSystem.Examples.AddRemoveDatabaseTrigger.condition

The condition that must be true in order to add/remove the database.

You could, for example, limit the trigger to only work if the Player GameObject enters or exits it.

◆ database

DialogueDatabase PixelCrushers.DialogueSystem.Examples.AddRemoveDatabaseTrigger.database

The database to add/remove.

◆ debug

bool PixelCrushers.DialogueSystem.Examples.AddRemoveDatabaseTrigger.debug = false

If true, temporarily sets the debug level to Info while adding and removing the database.


The documentation for this class was generated from the following file: