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

A list of tilespawneritems. More...

Inheritance diagram for TilePlus.TpTileList:
Collaboration diagram for TilePlus.TpTileList:

Classes

class  PaintingSpec
 An individual tile painting specification. More...

Public Types

enum  TilePaintPosition {
  None = 0 , Up = 1 , UpRight = 2 , Right = 3 ,
  RightDown = 4 , Down = 5 , DownLeft = 6 , Left = 7 ,
  LeftUp = 8 , Random = 9 , Top = 10
}
 Enum to choose where to paint a tile relative to the spawner tile. Ignored if PositioningMode != UseAssetSetting. More...

Public Attributes

List< PaintingSpecm_Tiles = new List<PaintingSpec>()
 List of tile specs.

Properties

int NumTiles [get]
 How many tile specs?
byte AssetVersion [get]
 Gets the asset version.
string[] TileNames [get]
 Get a list of all the tilenames.

Detailed Description

A list of tilespawneritems.

Member Enumeration Documentation

◆ TilePaintPosition

Enum to choose where to paint a tile relative to the spawner tile. Ignored if PositioningMode != UseAssetSetting.

Enumerator
None 

Indicates to Paint method that value from this spec should be used.

Up 

Y += 1.

UpRight 

X += 1, Y += 1.

Right 

x += 1

RightDown 

x += 1, y -= 1

Down 

y -= 1

DownLeft 

x -= 1, y -= 1

Left 

x -= 1

LeftUp 

x -= 1, y += 1

Random 

Use a random position.

Top 

Use the tile's position if the target tilemap is different. If not, uses random position.

Member Data Documentation

◆ m_Tiles

List<PaintingSpec> TilePlus.TpTileList.m_Tiles = new List<PaintingSpec>()

List of tile specs.

Property Documentation

◆ AssetVersion

byte TilePlus.TpTileList.AssetVersion
get

Gets the asset version.

The asset version.

◆ NumTiles

int TilePlus.TpTileList.NumTiles
get

How many tile specs?

The number of tile specs.

◆ TileNames

string [] TilePlus.TpTileList.TileNames
get

Get a list of all the tilenames.

The tile names.


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