![]() |
TilePlus Version 5
Unity3D Tilemap Extension
|
A component that can be added to a Tilemap's GameObject that loads a tilemap archive Bundle. More...


Public Member Functions | |
| bool | Load (Vector3Int offset, bool loadPrefabs=true, bool clearPrefabs=false, bool resetTilemap=false) |
| Load the contents of the TpTileBundle asset. A shortcut for TpLib.LoadBundle. | |
Public Attributes | |
| TpTileBundle | m_TileBundleAsset |
| The tileset archive. | |
| bool | m_LoadOnRun = true |
| Optional load on run. | |
| float | m_DelayTime |
| delay time when loading @ runtime | |
| bool | m_LoadPrefabs = true |
| load prefabs or not | |
| bool | m_ClearExistingPrefabsOnLoad = true |
| clear existing prefabs optioin | |
| bool | m_ClearMap |
| clear tilemap option | |
| Vector3Int | m_Offset = Vector3Int.zero |
| Optional offset. | |
A component that can be added to a Tilemap's GameObject that loads a tilemap archive Bundle.
| bool TilePlus.TpBundleLoader.Load | ( | Vector3Int | offset, |
| bool | loadPrefabs = true, | ||
| bool | clearPrefabs = false, | ||
| bool | resetTilemap = false ) |
Load the contents of the TpTileBundle asset. A shortcut for TpLib.LoadBundle.
| offset | Add an offset to each loaded item. |
| loadPrefabs | load and parent prefabs if true |
| clearPrefabs | clear all child GameObjects if true. |
| resetTilemap | use ClearAllTiles on tilemap if true |
| bool TilePlus.TpBundleLoader.m_ClearExistingPrefabsOnLoad = true |
clear existing prefabs optioin
| bool TilePlus.TpBundleLoader.m_ClearMap |
clear tilemap option
| float TilePlus.TpBundleLoader.m_DelayTime |
delay time when loading @ runtime
| bool TilePlus.TpBundleLoader.m_LoadOnRun = true |
Optional load on run.
| bool TilePlus.TpBundleLoader.m_LoadPrefabs = true |
load prefabs or not
| Vector3Int TilePlus.TpBundleLoader.m_Offset = Vector3Int.zero |
Optional offset.
| TpTileBundle TilePlus.TpBundleLoader.m_TileBundleAsset |
The tileset archive.