Skip to content

AssetUse beta ​

Interface of @v12-engine/editor

ts
export interface AssetUse

Where an asset is used: what uses it and where, with what selects it on the map when it is a thing of the map's

Members ​

select ​

ts
select?: Named;

The thing of the map, when it is one: a click selects it

type ​

ts
type?: string;

The type, when it is a unit type's look

what ​

ts
what: string;

What uses it: doodad, unit type, sound emitter, music, tile, prefab, cinematic, icon, or the game's own word

where ​

ts
where: string;

Where: the map's name, looks.json, a prefab's name, a cinematic's id, a file of the code