Skip to content

NewIconGeComponent

15.22

Inheritance 1 ancestor · 47 siblings

Class Documentation

Edit documentation

The entity component that shows the minimap icon of a NewIconGeComponentDef.

When the entity spawns, the component registers the entity with the icon manager. If the definition has a Config, the component creates the icon, applies its GameEntityIconData and shows or hides it from Enabled.

The component also registers with the entity's SequencerGeComponent, so sequences can change the icon data and its visibility. Other code changes the icon through the same component: