PixelCrushers.DialogueSystem.QuestStateIndicator Class Reference

Associates GameObjects (e.g., world space canvas elements) with indicator levels. More...

Inheritance diagram for PixelCrushers.DialogueSystem.QuestStateIndicator:
Collaboration diagram for PixelCrushers.DialogueSystem.QuestStateIndicator:

Public Member Functions

void SetIndicatorLevel (QuestStateListener listener, int indicatorLevel)
 
void UpdateIndicator ()
 

Public Attributes

GameObject[] indicators = new GameObject[0]
 

Detailed Description

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.

Member Function Documentation

◆ SetIndicatorLevel()

void PixelCrushers.DialogueSystem.QuestStateIndicator.SetIndicatorLevel ( QuestStateListener  listener,
int  indicatorLevel 
)

◆ UpdateIndicator()

void PixelCrushers.DialogueSystem.QuestStateIndicator.UpdateIndicator ( )

Member Data Documentation

◆ indicators

GameObject [] PixelCrushers.DialogueSystem.QuestStateIndicator.indicators = new GameObject[0]

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