TilePlus Version 5
Unity3D Tilemap Extension
Loading...
Searching...
No Matches
TilePlus.TemplateSelectorQueryResults< T > Class Template Reference

Used for return values for TpChunkTemplateSelector.GetTilePlusTilesOfType. More...

Public Member Functions

 TemplateSelectorQueryResults (string mapName, T tile, Vector3Int position)
 Query results.

Public Attributes

readonly string m_MapName
 name of TileMap
readonly T m_Tile
 the tile instance of type T
readonly Vector3Int m_Position
 the position

Detailed Description

Used for return values for TpChunkTemplateSelector.GetTilePlusTilesOfType.

Template Parameters
TType of tile being referenced.
Type Constraints
T :TilePlusBase 

Member Function Documentation

◆ TemplateSelectorQueryResults()

TilePlus.TemplateSelectorQueryResults< T >.TemplateSelectorQueryResults ( string mapName,
T tile,
Vector3Int position )

Query results.

Parameters
mapNameName of the Tilemap the tile is on
tilethe tile ASSET (not an instance, this is in the PROJECT)
positionthe position on the Tilemap

Member Data Documentation

◆ m_MapName

readonly string TilePlus.TemplateSelectorQueryResults< T >.m_MapName

name of TileMap

◆ m_Position

readonly Vector3Int TilePlus.TemplateSelectorQueryResults< T >.m_Position

the position

◆ m_Tile

readonly T TilePlus.TemplateSelectorQueryResults< T >.m_Tile

the tile instance of type T


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