C# Class tk2dTileMapData, Malisse

Inheritance: UnityEngine.ScriptableObject
Show file Open project: Collegiennes/Malisse Class Usage Examples

Public Properties

Property Type Description
sortMethod SortMethod
tileOrigin Vector3
tilePrefabs Object[]
tileSize Vector3
tileType TileType,

Public Methods

Method Description
GetOrCreateTileInfo ( int numTiles ) : tk2dRuntime.TileMap.TileInfo[]
GetTileInfoForSprite ( int tileId ) : TileInfo
GetTileOffset ( float &x, float &y ) : void
InitLayers ( ) : void

Method Details

GetOrCreateTileInfo() public method

public GetOrCreateTileInfo ( int numTiles ) : tk2dRuntime.TileMap.TileInfo[]
numTiles int
return tk2dRuntime.TileMap.TileInfo[]

GetTileInfoForSprite() public method

public GetTileInfoForSprite ( int tileId ) : TileInfo
tileId int
return tk2dRuntime.TileMap.TileInfo

GetTileOffset() public method

public GetTileOffset ( float &x, float &y ) : void
x float
y float
return void

InitLayers() public method

public InitLayers ( ) : void
return void

Property Details

sortMethod public property

public SortMethod sortMethod
return SortMethod

tileOrigin public property

public Vector3 tileOrigin
return Vector3

tilePrefabs public property

public Object[] tilePrefabs
return Object[]

tileSize public property

public Vector3 tileSize
return Vector3

tileType public property

public TileType, tileType
return TileType,