Associates GameObjects (e.g., world space canvas elements) with indicator levels. More...
Public Member Functions | |
void | SetIndicatorLevel (QuestStateListener listener, int indicatorLevel) |
void | UpdateIndicator () |
Public Attributes | |
GameObject[] | indicators = new GameObject[0] |
Associates GameObjects (e.g., world space canvas elements) with indicator levels.
A typical use is to associate indicator level 0 = nothing (unassigned), level 1 = question mark, and level 2 = exclamation mark. Other scripts such as QuestStateListener can specify their indicator level. This script then shows the GameObject of the highest indicator level that's in use.
void PixelCrushers.DialogueSystem.QuestStateIndicator.SetIndicatorLevel | ( | QuestStateListener | listener, |
int | indicatorLevel | ||
) |
void PixelCrushers.DialogueSystem.QuestStateIndicator.UpdateIndicator | ( | ) |
GameObject [] PixelCrushers.DialogueSystem.QuestStateIndicator.indicators = new GameObject[0] |