Adds a dialogue database to the master database on trigger enter, and removes the database on trigger exit. More...
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... | |
Adds a dialogue database to the master database on trigger enter, and removes the database on trigger exit.
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.
DialogueDatabase PixelCrushers.DialogueSystem.Examples.AddRemoveDatabaseTrigger.database |
The database to add/remove.
bool PixelCrushers.DialogueSystem.Examples.AddRemoveDatabaseTrigger.debug = false |
If true
, temporarily sets the debug level to Info while adding and removing the database.