Class TileSet.TextureSource
Source Assets required by the TileSet to generate Tiles from a Texture. This includes a Texture and a script template to generate Tiles from the Texture.
Inherited Members
Namespace: UnityEditor.Tilemaps
Assembly: Unity.2D.Tilemap.Editor.dll
Syntax
[Serializable]
public class TileSet.TextureSource
Properties
texture
Texture used to generate Tiles for the TileSet.
Declaration
public Texture2D texture { get; set; }
Property Value
Type | Description |
---|---|
Texture2D |
tileTemplate
Script Template used to generate Tiles from the corresponding Texture. A default template will be used if no script template is provided.
Declaration
public TileTemplate tileTemplate { get; set; }
Property Value
Type | Description |
---|---|
TileTemplate |