Tile - YToolMode - Show Entity Catalog – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search

Show Entity Catalog(On entity type chosen, On Selection Canceled)

YlandsTile-1457.png

static showEntityCatalog(onEntityTypeChosen: (entityType: YEntityType) => void, onSelectionCanceled: () => void): void;

Parameters

onEntityTypeChosen

onSelectionCanceled

Availability

Description

Opens the Entity Catalog. Returns an entity type based on the choice from the catalog.

Notes

  • script is paused when the catalog is open