![]() |
TilePlus Version 5
Unity3D Tilemap Extension
|
A component that can be added to a GRID's GameObject for loading an entire TileFab. Note that the names or tags of the Tilemaps need to match the names or tags embedded in the TileFab or this will not work. 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 | |
| TpTileFab | m_TileFabAsset |
| 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 GRID's GameObject for loading an entire TileFab. Note that the names or tags of the Tilemaps need to match the names or tags embedded in the TileFab or this will not work.
| bool TilePlus.TpFabLoader.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.TpFabLoader.m_ClearExistingPrefabsOnLoad = true |
clear existing prefabs optioin
| bool TilePlus.TpFabLoader.m_ClearMap |
clear tilemap option
| float TilePlus.TpFabLoader.m_DelayTime |
delay time when loading @ runtime
| bool TilePlus.TpFabLoader.m_LoadOnRun = true |
Optional load on run.
| bool TilePlus.TpFabLoader.m_LoadPrefabs = true |
load prefabs or not
| Vector3Int TilePlus.TpFabLoader.m_Offset = Vector3Int.zero |
Optional offset.
| TpTileFab TilePlus.TpFabLoader.m_TileFabAsset |
The tileset archive.