Class AutoTile
Tile using AutoTiling mask and rules
Inherited Members
      TileBase.GetTileAnimationData(Vector3Int, ITilemap, ref TileAnimationData)
    
    
    
    
    
    
    
    
      Object.GetEntityId()
    
    
    
    
    
      Object.InstantiateAsync<T>(T)
    
    
      Object.InstantiateAsync<T>(T, Transform)
    
    
      Object.InstantiateAsync<T>(T, Vector3, Quaternion)
    
    
      Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      Object.Instantiate<T>(T, InstantiateParameters)
    
    
      Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      Object.FindObjectsByType<T>(FindObjectsSortMode)
    
    
    
      Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
    
    
    
    
      Object.FindFirstObjectByType<T>()
    
    
      Object.FindAnyObjectByType<T>()
    
    
      Object.FindFirstObjectByType<T>(FindObjectsInactive)
    
    
      Object.FindAnyObjectByType<T>(FindObjectsInactive)
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
  Namespace: UnityEngine.Tilemaps
Assembly: Unity.2D.Tilemap.Extras.dll
Syntax
[HelpURL("https://docs.unity3d.com/Packages/com.unity.2d.tilemap.extras@latest/index.html?subfolder=/manual/AutoTile.html")]
public class AutoTile : TileBaseFields
m_DefaultColliderType
The Default Collider Type set when creating a new Rule.
Declaration
[SerializeField]
public Tile.ColliderType m_DefaultColliderTypeField Value
| Type | Description | 
|---|---|
| Tile.ColliderType | 
m_DefaultGameObject
The Default GameObject set when creating a new Rule.
Declaration
[SerializeField]
public GameObject m_DefaultGameObjectField Value
| Type | Description | 
|---|---|
| GameObject | 
m_DefaultSprite
The Default Sprite set when creating a new Rule.
Declaration
[SerializeField]
public Sprite m_DefaultSpriteField Value
| Type | Description | 
|---|---|
| Sprite | 
m_MaskType
Mask Type for the AutoTile
Declaration
[SerializeField]
public AutoTile.AutoTileMaskType m_MaskTypeField Value
| Type | Description | 
|---|---|
| AutoTile.AutoTileMaskType | 
m_TextureList
List of Texture2Ds used by the AutoTile
Declaration
[SerializeField]
public List<Texture2D> m_TextureListField Value
| Type | Description | 
|---|---|
| List<Texture2D> | 
m_TextureScaleList
List of Texture Scale used by the AutoTile
Declaration
[SerializeField]
public List<float> m_TextureScaleListField Value
| Type | Description | 
|---|---|
| List<float> | 
Properties
physicsShapeCheck
Checks Physics Shape of Sprite before determining Collider Type
Declaration
public bool physicsShapeCheck { get; set; }Property Value
| Type | Description | 
|---|---|
| bool | 
random
Use random Sprite for mask
Declaration
public bool random { get; set; }Property Value
| Type | Description | 
|---|---|
| bool | 
Methods
GetTileData(Vector3Int, ITilemap, ref TileData)
Retrieves any tile rendering data from the scripted tile.
Declaration
public override void GetTileData(Vector3Int position, ITilemap itilemap, ref TileData tileData)Parameters
| Type | Name | Description | 
|---|---|---|
| Vector3Int | position | Position of the Tile on the Tilemap. | 
| ITilemap | itilemap | The Tilemap the tile is present on. | 
| TileData | tileData | Data to render the tile. | 
Overrides
UnityEngine.Tilemaps.TileBase.GetTileData(UnityEngine.Vector3Int, UnityEngine.Tilemaps.ITilemap, ref UnityEngine.Tilemaps.TileData)
  
  RefreshTile(Vector3Int, ITilemap)
This method is called when the tile is refreshed.
Declaration
public override void RefreshTile(Vector3Int position, ITilemap tilemap)Parameters
| Type | Name | Description | 
|---|---|---|
| Vector3Int | position | Position of the Tile on the Tilemap. | 
| ITilemap | tilemap | The Tilemap the tile is present on. | 
Overrides
Validate()
Validate AutoTile Data
Declaration
public void Validate()