Tiled Integration Plugin

Home / Tile Worlds / Classes / UTITileWorldInstance

UTITileWorldInstance

Description

his is an instance of a UTITileWorld that will get created when you add the asset to a level and can be modified at runtime (for example, by adding/removing maps)

Extend Class

If you want to extend the class either via C++ or Blueprint, you can specify in the Plugin Settings what class the plugin should use, instead of the default one. Keep in mind that your class must be a child class from the original one you want to extend.

Note: Setting a new class override to be used by the plugin won’t be applied to previously imported assets, you will have to delete and import the already existing assets after the settings have been changed.

Functions

GetTileWorld

C++Blueprint

Gets the Tile World asset used by this Tile World Instance.

Return

GetTileWorldActor

C++Blueprint

Gets the Tile World Actor that owns this Tile World Instance.

Return

UsesTileWorld

C++Blueprint

Checks if the Tile World Instance uses the given Tile World asset.

Arguments

Return

GetTileMaps

C++Blueprint

Gets an array of Tile Map Components that are instantiated for this Tile World Instance.

Return

UsesTileMap

C++Blueprint

Checks if the Tile World Instance uses the given Tile Map asset.

Arguments

Return

AddTileMap

C++Blueprint

Adds a new Tile Map to the Tile World Instance.

Arguments

Return

RemoveTileMap

C++Blueprint

Removes a existing Tile Map from the Tile World Instance.

Arguments

OnInstanced (Overrideable)

C++Blueprint

Called when the Tile World Instance has been added to a level.