![]() |
TilePlus Version 5
Unity3D Tilemap Extension
|
Specification for individual items in the "breadcrumbs" list. Info in here is used for TileFab loading/persistence and for Chunking. There is one of these for each TileFab loaded. The names may seem odd but they're short in order to keep the file size shorter. More...

Public Member Functions | |
| ZoneReg () | |
| Ctor. | |
| ZoneReg (ulong index, RectInt locator, string assetGuid, string assetName, Vector3Int offset, TpTileBundle.TilemapRotation rotation, Dictionary< Vector3Int, string >[] posToGuidMaps, string[] bundleGuids, string[] bundleNames, BoundsInt largestBounds, List< GameObject >? spawnedPrefabs) | |
| Ctor. | |
| override string | ToString () |
Public Attributes | |
| ulong | dex |
| An index for this registration. An ascending #, zeroed when this TpZoneManager is initialized. | |
| bool | imm |
| A flag that this is region should not be deleted if moved out of camera range. Note that this is NOT set in the constructor. | |
| BoundsInt | lb |
| The BoundsInt from any of the loaded Bundles of the TileFab (they're all the same when a Fab is a Chunk) | |
| string | g |
| The GUID of the TileFab. | |
| string | aNam |
| Name of the asset (mostly useful for diagnostics) | |
| Vector3Int | offs |
| The offset applied. | |
| bool | m_Reserved |
| Denotes that this is a reserved zone. That means that the Zone is empty, but reserved. NONSERIALIZED. | |
| RectInt | m_MyLocator |
| The locator RectInt for this instance. NONSERIALIZED. | |
| TpTileBundle.TilemapRotation | rot |
| The rotation applied. | |
| BundleGuidMap[] | ptgm |
| Position to GUID mapping. | |
| List< GameObject >? | m_Prefabs |
| Array of all prefabs spawned when TileFab is loaded. NOTE that you SHOULD add other prefabs to this list in the unload filter unless you're managing deleting them yourself. NOT SERIALIZED NOR SAVED. CAN BE NULL. | |
| object? | m_CustomData |
| A spot for custom data you may wish to add when filtering. NOT SERIALIZED NOR SAVED. | |
Specification for individual items in the "breadcrumbs" list. Info in here is used for TileFab loading/persistence and for Chunking. There is one of these for each TileFab loaded. The names may seem odd but they're short in order to keep the file size shorter.
| TilePlus.ZoneReg.ZoneReg | ( | ) |
Ctor.
| TilePlus.ZoneReg.ZoneReg | ( | ulong | index, |
| RectInt | locator, | ||
| string | assetGuid, | ||
| string | assetName, | ||
| Vector3Int | offset, | ||
| TpTileBundle.TilemapRotation | rotation, | ||
| Dictionary< Vector3Int, string >[] | posToGuidMaps, | ||
| string[] | bundleGuids, | ||
| string[] | bundleNames, | ||
| BoundsInt | largestBounds, | ||
| List< GameObject >? | spawnedPrefabs ) |
Ctor.
| index | index of this instance |
| locator | the RectInt locator for this instance. Not serialized. |
| assetGuid | The GUID of the TileFab or Bundle asset |
| assetName | the asset's name |
| offset | the offset that used to place the Bundles |
| rotation | the rotation |
| posToGuidMaps | An array of tile position to GUID maps. For tilefabs, collect these during loading Bundles. For Bundles, supply directly |
| bundleGuids | Matching array of bundle GUIDs, in the same order as posToGuidMaps |
| bundleNames | Matching array of bundle names, in the same order as posToGuidMaps |
| largestBounds | The largest bounds found in the Bundles |
| spawnedPrefabs | List of prefabs spawned when the TileFab was loaded. Note: not serialized in the AssetRegistration class instance created herein. Can be used when TileFabs unloaded. |
| override string TilePlus.ZoneReg.ToString | ( | ) |
| string TilePlus.ZoneReg.aNam |
Name of the asset (mostly useful for diagnostics)
| ulong TilePlus.ZoneReg.dex |
An index for this registration. An ascending #, zeroed when this TpZoneManager is initialized.
| string TilePlus.ZoneReg.g |
The GUID of the TileFab.
| bool TilePlus.ZoneReg.imm |
A flag that this is region should not be deleted if moved out of camera range. Note that this is NOT set in the constructor.
| BoundsInt TilePlus.ZoneReg.lb |
The BoundsInt from any of the loaded Bundles of the TileFab (they're all the same when a Fab is a Chunk)
| object? TilePlus.ZoneReg.m_CustomData |
A spot for custom data you may wish to add when filtering. NOT SERIALIZED NOR SAVED.
| RectInt TilePlus.ZoneReg.m_MyLocator |
The locator RectInt for this instance. NONSERIALIZED.
| List<GameObject>? TilePlus.ZoneReg.m_Prefabs |
Array of all prefabs spawned when TileFab is loaded. NOTE that you SHOULD add other prefabs to this list in the unload filter unless you're managing deleting them yourself.
NOT SERIALIZED NOR SAVED. CAN BE NULL.
| bool TilePlus.ZoneReg.m_Reserved |
Denotes that this is a reserved zone. That means that the Zone is empty, but reserved. NONSERIALIZED.
| Vector3Int TilePlus.ZoneReg.offs |
The offset applied.
| BundleGuidMap [] TilePlus.ZoneReg.ptgm |
Position to GUID mapping.
| TpTileBundle.TilemapRotation TilePlus.ZoneReg.rot |
The rotation applied.