private void ClearHotspots() { foreach (HotspotWidget hotspot in m_hotspotWidgets) { m_rootWidgetGroup.RemoveWidget(hotspot); } m_hotspotWidgets = new List <HotspotWidget>(); }
public void RemoveCharacterWidget(CharacterWidget characterWidget) { m_entityGroup.RemoveWidget(characterWidget); characterWidget.OnDestroy(); }