it is run on update to be able to update the icon when deselecting inventory item on top of a hotspot. But even when using event manager for this the .GetMainIcon() throws a compile error.
Hotspot _hotspot = KickStarter.playerInteraction.GetActiveHotspot();
MenuGraphic hotspotIcon = PlayerMenus.GetElementWithName("Hotspot", "Icon") as MenuGraphic;
hotspotIcon.graphic = _hotspot.GetMainIcon();
this is the piece of …