Class LDtkTilesetTile
The tile used for AutoLayers and Tile layers in LDtk. It can have collision shapes configured from the tileset file's sprite editor.
Properties
|
Improve this Doc
View Source
AnimatedSprites
Type |
Description |
UnityEngine.Sprite[] |
|
|
Improve this Doc
View Source
AnimationSpeedMax
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
AnimationSpeedMin
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
AnimationStartFrameMax
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
AnimationStartFrameMin
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
AnimationStartTimeMax
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
AnimationStartTimeMin
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
CustomData
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
EnumTagValues
Type |
Description |
System.Collections.Generic.IReadOnlyList<System.String> |
|
|
Improve this Doc
View Source
Sprite
Type |
Description |
UnityEngine.Sprite |
|
|
Improve this Doc
View Source
TileId
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Type
Type |
Description |
UnityEngine.Tilemaps.Tile.ColliderType |
|
Methods
|
Improve this Doc
View Source
GetEnumTagValues<TEnum>()
A helper method to get all the enum values converted into it's generated C# type.
Returns
Type |
Description |
TEnum[] |
The enum values convert
|
Type Parameters
Name |
Description |
TEnum |
Use an enum type that was generated by the project importer.
|
|
Improve this Doc
View Source
GetTileAnimationData(Vector3Int, ITilemap, ref TileAnimationData)
Parameters
Type |
Name |
Description |
UnityEngine.Vector3Int |
position |
|
UnityEngine.Tilemaps.ITilemap |
tilemap |
|
UnityEngine.Tilemaps.TileAnimationData |
data |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
GetTileData(Vector3Int, ITilemap, ref TileData)
Parameters
Type |
Name |
Description |
UnityEngine.Vector3Int |
position |
|
UnityEngine.Tilemaps.ITilemap |
tilemap |
|
UnityEngine.Tilemaps.TileData |
tileData |
|
|
Improve this Doc
View Source
HasEnumTagValue<TEnum>()
If a tile has an enum tag value
Returns
Type |
Description |
System.Boolean |
|
Type Parameters
Name |
Description |
TEnum |
Use an enum type that was generated by the project importer.
|