Adventure Creator  1.79.1
An adventure game toolkit for Unity, by Chris Burton, ICEBOX Studios 2013-2022
AC.HotspotLabelData Class Reference

Public Member Functions

void SetData (MenuElement _menuElement, int slot, string label)
 
void SetData (MenuElement _menuElement, int slot, Hotspot _hotspot, string label)
 
void SetData (MenuElement _menuElement, int slot, InvInstance _invInstance, string label)
 
void SetData (Hotspot _hotspot, string label)
 
void SetData (Hotspot _hotspot, InvInstance _invInstance, string label)
 
void SetData (InvInstance _invInstance, string label)
 
void SetData (string label)
 
void ClearString ()
 
bool SourceMatches (HotspotLabelData data)
 
void Copy (HotspotLabelData data)
 
void UpdateAutoPosition (Menu menu)
 

Properties

string HotspotLabel [get]
 
bool HasLabel [get]
 
Hotspot Hotspot [get]
 
InvInstance InvInstance [get]
 
bool HasData [get]
 

Property Documentation

◆ HasLabel

bool AC.HotspotLabelData.HasLabel
get

If True, the label text is set

◆ Hotspot

Hotspot AC.HotspotLabelData.Hotspot
get

The Hotspot that the label is sourced from

◆ HotspotLabel

string AC.HotspotLabelData.HotspotLabel
get

The label text to display