TilePlus Version 5
Unity3D Tilemap Extension
Loading...
Searching...
No Matches
TilePlus.TilefabLoadResults Class Reference

Results from using LoadImportedTilefab. More...

Public Member Functions

 TilefabLoadResults (RectInt chunkLocator)
 ctor for failed load
 TilefabLoadResults (List< TpTileBundle > loadedBundles, ZoneReg? registration, string elapsedTimeString, RectInt chunkLocator)
 Ctor.
override string ToString ()

Properties

ZoneRegZoneReg [get]
 The asset registration for this load (if any, could be null)
bool Valid [get]
 If false, this locator caused a tilefab load error.
RectInt? ChunkLocator [get]
 The chunk locator is a rect int assigned to this Tilefab when it was placed. Number is meaningless if chunking not used.
string? ElapsedTimeString [get]
 Elapsed time for the load.
List< TpTileBundle >? LoadedBundles [get]
 Array of all Bundles that were loaded. NOTE: do not hold references to these outside of local scope.

Detailed Description

Results from using LoadImportedTilefab.

Constructor & Destructor Documentation

◆ TilefabLoadResults() [1/2]

TilePlus.TilefabLoadResults.TilefabLoadResults ( RectInt chunkLocator)

ctor for failed load

Parameters
chunkLocatorThe chunk locator.

◆ TilefabLoadResults() [2/2]

TilePlus.TilefabLoadResults.TilefabLoadResults ( List< TpTileBundle > loadedBundles,
ZoneReg? registration,
string elapsedTimeString,
RectInt chunkLocator )

Ctor.

Parameters
loadedBundleswhich assets were loaded
registrationthe registration (if any)
elapsedTimeStringinformational
chunkLocatorCan be used to locate this chunk

Member Function Documentation

◆ ToString()

override string TilePlus.TilefabLoadResults.ToString ( )

Property Documentation

◆ ChunkLocator

RectInt? TilePlus.TilefabLoadResults.ChunkLocator
get

The chunk locator is a rect int assigned to this Tilefab when it was placed. Number is meaningless if chunking not used.

The chunk locator.

◆ ElapsedTimeString

string? TilePlus.TilefabLoadResults.ElapsedTimeString
get

Elapsed time for the load.

The elapsed time string.

◆ LoadedBundles

List<TpTileBundle>? TilePlus.TilefabLoadResults.LoadedBundles
get

Array of all Bundles that were loaded. NOTE: do not hold references to these outside of local scope.

The loaded bundles.

This is preallocated upon entry but may not be completely filled.

◆ Valid

bool TilePlus.TilefabLoadResults.Valid
get

If false, this locator caused a tilefab load error.

true if valid; otherwise, false.

◆ ZoneReg

ZoneReg? TilePlus.TilefabLoadResults.ZoneReg
get

The asset registration for this load (if any, could be null)

The zone reg.


The documentation for this class was generated from the following file:
  • /Users/jms/Documents/Tpt_55/TPT55/Assets/Plugins/TilePlus/Runtime/FabAndZone/ClassesEnums/TpZoneManagerClasses.cs