PixelCrushers.DialogueSystem.RPGKit.OverheadIconController Class Reference

Add this script to an NPC with an overhead icon UI. More...

Inheritance diagram for PixelCrushers.DialogueSystem.RPGKit.OverheadIconController:
Collaboration diagram for PixelCrushers.DialogueSystem.RPGKit.OverheadIconController:

Classes

class  IconCondition
 

Public Member Functions

void Start ()
 
void OnDestroy ()
 
void SetOverheadIcon (string iconName)
 Sets the overhead icon. More...
 
void CheckIconConditions (Unitycoding.CharacterSystem.Character character)
 

Public Attributes

GameObject[] icons
 This NPC's icons. More...
 
GameObject startingIcon
 
IconCondition[] iconConditions
 

Detailed Description

Add this script to an NPC with an overhead icon UI.

Member Function Documentation

◆ CheckIconConditions()

void PixelCrushers.DialogueSystem.RPGKit.OverheadIconController.CheckIconConditions ( Unitycoding.CharacterSystem.Character  character)

◆ OnDestroy()

void PixelCrushers.DialogueSystem.RPGKit.OverheadIconController.OnDestroy ( )

◆ SetOverheadIcon()

void PixelCrushers.DialogueSystem.RPGKit.OverheadIconController.SetOverheadIcon ( string  iconName)

Sets the overhead icon.

Deactivates all other icons and activates only the named icon.

Parameters
nameName.

◆ Start()

void PixelCrushers.DialogueSystem.RPGKit.OverheadIconController.Start ( )

Member Data Documentation

◆ iconConditions

IconCondition [] PixelCrushers.DialogueSystem.RPGKit.OverheadIconController.iconConditions

◆ icons

GameObject [] PixelCrushers.DialogueSystem.RPGKit.OverheadIconController.icons

This NPC's icons.

◆ startingIcon

GameObject PixelCrushers.DialogueSystem.RPGKit.OverheadIconController.startingIcon

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