Add this script to an NPC with an overhead icon UI. More...
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 |
Add this script to an NPC with an overhead icon UI.
void PixelCrushers.DialogueSystem.RPGKit.OverheadIconController.CheckIconConditions | ( | Unitycoding.CharacterSystem.Character | character | ) |
void PixelCrushers.DialogueSystem.RPGKit.OverheadIconController.OnDestroy | ( | ) |
void PixelCrushers.DialogueSystem.RPGKit.OverheadIconController.SetOverheadIcon | ( | string | iconName | ) |
Sets the overhead icon.
Deactivates all other icons and activates only the named icon.
name | Name. |
void PixelCrushers.DialogueSystem.RPGKit.OverheadIconController.Start | ( | ) |
IconCondition [] PixelCrushers.DialogueSystem.RPGKit.OverheadIconController.iconConditions |
GameObject [] PixelCrushers.DialogueSystem.RPGKit.OverheadIconController.icons |
This NPC's icons.
GameObject PixelCrushers.DialogueSystem.RPGKit.OverheadIconController.startingIcon |