Class LDtkIntGridTile
The tile used for IntGridValues in LDtk. Not AutoLayers and Tile layers.
Inherit from this for more custom functionality if required.
Fields
| Improve this Doc View Source_colliderType
Field Value
Type | Description |
---|---|
UnityEngine.Tilemaps.Tile.ColliderType | The collider type used on the tilemap. |
_customPhysicsSprite
Field Value
Type | Description |
---|---|
UnityEngine.Sprite | The physics sprite used when _colliderType is set to Sprite. |
_gameObject
Field Value
Type | Description |
---|---|
UnityEngine.GameObject | The optional GameObject to be placed at the tile's position. |
_physicsMaterial
Field Value
Type | Description |
---|---|
UnityEngine.PhysicsMaterial2D | The optional physics material to be applied for this specific tile in a tilemap. |
_tilemapLayerMask
Field Value
Type | Description |
---|---|
System.Int32 | Sets the layer mask of this tile's tilemap. |
_tilemapTag
Field Value
Type | Description |
---|---|
System.String | Sets the tag of this tile's tilemap. |
Methods
| Improve this Doc View SourceGetTileData(Vector3Int, ITilemap, ref TileData)
This TileBase inherited method for GetTileData.
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.Vector3Int | position | Position on the tilemap. |
UnityEngine.Tilemaps.ITilemap | tilemap | The tilemap. |
UnityEngine.Tilemaps.TileData | tileData | TileData to set. |
StartUp(Vector3Int, ITilemap, GameObject)
This TileBase inherited method for StartUp.
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.Vector3Int | position | Position on the tilemap. |
UnityEngine.Tilemaps.ITilemap | tilemap | The tilemap. |
UnityEngine.GameObject | go | The instantiated GameObject. |
Returns
Type | Description |
---|---|
System.Boolean | Always true. |