class in UnityEngine.Tilemaps
/
Inherits from:GridLayout
/
Implemented in:UnityEngine.TilemapModule
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseFor some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
CloseanimationFrameRate | The frame rate for all tile animations in the tile map. |
cellBounds | Returns the boundaries of the Tilemap in cell size. |
color | The color of the tile map layer. |
editorPreviewOrigin | The origin of the Tilemap in cell position inclusive of editor preview tiles. |
editorPreviewSize | The size of the Tilemap in cells inclusive of editor preview tiles. |
layoutGrid | Gets the Grid associated with this tile map. |
localBounds | Returns the boundaries of the Tilemap in local space size. |
orientation | Orientation of the tiles in the Tilemap. |
orientationMatrix | Orientation Matrix of the orientation of the tiles in the Tilemap. |
origin | The origin of the Tilemap in cell position. |
size | The size of the Tilemap in cells. |
tileAnchor | Gets the anchor point of tiles in the Tilemap. |
AddTileFlags | Adds the TileFlags onto the Tile at the given position. |
BoxFill | Does a box fill with the given tile on the tile map. Starts from given coordinates and fills the limits from start to end (inclusive). |
ClearAllEditorPreviewTiles | Clears all editor preview tiles that are placed in the Tilemap. |
ClearAllTiles | Clears all tiles that are placed in the Tilemap. |
CompressBounds | Compresses the origin and size of the Tilemap to bounds where tiles exist. |
ContainsTile | Returns true if the Tilemap contains the given tile. Returns false if not. |
EditorPreviewBoxFill | Does an editor preview of a box fill with the given tile on the tile map. Starts from given coordinates and fills the limits from start to end (inclusive). |
EditorPreviewFloodFill | Does an editor preview of a flood fill with the given tile to place. on the tile map starting from the given coordinates. |
FloodFill | Does a flood fill with the given tile to place. on the tile map starting from the given coordinates. |
GetCellCenterLocal | Get the logical center coordinate of a grid cell in local space. |
GetCellCenterWorld | Get the logical center coordinate of a grid cell in world space. |
GetColliderType | Gets the collider type of a tile given the XYZ coordinates of a cell in the tile map. |
GetColor | Gets the color of a tile given the XYZ coordinates of a cell in the tile map. |
GetEditorPreviewColor | Gets the Color of an editor preview tile given the XYZ coordinates of a cell in the tile map. |
GetEditorPreviewSprite | Gets the Sprite used in an editor preview tile given the XYZ coordinates of a cell in the tile map. |
GetEditorPreviewTile | Gets the editor preview tile at the given XYZ coordinates of a cell in the tile map. |
GetEditorPreviewTileFlags | Gets the TileFlags of the editor preview Tile at the given position. |
GetEditorPreviewTransformMatrix | Gets the transform matrix of an editor preview tile given the XYZ coordinates of a cell in the tile map. |
GetInstantiatedObject | Gets the GameObject instantiated by a tile given the XYZ coordinates of a cell in the tile map. |
GetSprite | Gets the Sprite used in a tile given the XYZ coordinates of a cell in the tile map. |
GetTile | Gets the tile at the given XYZ coordinates of a cell in the tile map. |
GetTileFlags | Gets the TileFlags of the Tile at the given position. |
GetTilesBlock | Retrieves an array of tiles with the given bounds. |
GetTransformMatrix | Gets the transform matrix of a tile given the XYZ coordinates of a cell in the tile map. |
GetUsedTilesCount | Get the total number of different tiles used in the Tilemap. |
GetUsedTilesNonAlloc | Fills the given array with the total number of different tiles used in the Tilemap and returns the number of tiles filled. |
HasEditorPreviewTile | Returns whether there is an editor preview tile at the position. |
HasTile | Returns whether there is a tile at the position. |
RefreshAllTiles | Refreshes all tiles in the tile map. The tile map will retrieve the rendering data, animation data and other data for all tiles and update all relevant components. |
RefreshTile | Refreshes a tile at the given coordinates of a cell in the tile map. |
RemoveTileFlags | Removes the TileFlags onto the Tile at the given position. |
ResizeBounds | Resizes tiles in the Tilemap to bounds defined by origin and size. |
SetColliderType | Sets the collider type of a tile given the XYZ coordinates of a cell in the tile map. |
SetColor | Sets the color of a tile given the XYZ coordinates of a cell in the tile map. |
SetEditorPreviewColor | Sets the color of an editor preview tile given the XYZ coordinates of a cell in the tile map. |
SetEditorPreviewTile | Sets an editor preview tile given the XYZ coordinates of a cell in the tile map. |
SetEditorPreviewTransformMatrix | Sets the transform matrix of an editor preview tile given the XYZ coordinates of a cell in the tile map. |
SetTile | Sets a tile at the given XYZ coordinates of a cell in the tile map. |
SetTileFlags | Sets the TileFlags onto the Tile at the given position. |
SetTiles | Sets an array of tiles at the given XYZ coordinates of the corresponding cells in the tile map. |
SetTilesBlock | Fills bounds with array of tiles. |
SetTransformMatrix | Sets the transform matrix of a tile given the XYZ coordinates of a cell in the tile map. |
SwapTile | Swaps all existing tiles of changeTile to newTile and refreshes all the swapped tiles. |
enabled | Enabled Behaviours are Updated, disabled Behaviours are not. |
isActiveAndEnabled | Has the Behaviour had active and enabled called? |
gameObject | The game object this component is attached to. A component is always attached to a game object. |
tag | The tag of this game object. |
transform | The Transform attached to this GameObject. |
cellGap | The size of the gap between each cell in the layout. |
cellLayout | The layout of the cells. |
cellSize | The size of each cell in the layout. |
cellSwizzle | The cell swizzle for the layout. |
hideFlags | Should the object be hidden, saved with the Scene or modifiable by the user? |
name | The name of the object. |
BroadcastMessage | Calls the method named methodName on every MonoBehaviour in this game object or any of its children. |
CompareTag | Is this game object tagged with tag ? |
GetComponent | Returns the component of Type type if the game object has one attached, null if it doesn't. |
GetComponentInChildren | Returns the component of Type type in the GameObject or any of its children using depth first search. |
GetComponentInParent | Returns the component of Type type in the GameObject or any of its parents. |
GetComponents | Returns all components of Type type in the GameObject. |
GetComponentsInChildren | Returns all components of Type type in the GameObject or any of its children. |
GetComponentsInParent | Returns all components of Type type in the GameObject or any of its parents. |
SendMessage | Calls the method named methodName on every MonoBehaviour in this game object. |
SendMessageUpwards | Calls the method named methodName on every MonoBehaviour in this game object and on every ancestor of the behaviour. |
CellToLocal | Converts a cell position to local position space. |
CellToLocalInterpolated | Converts an interpolated cell position in floats to local position space. |
CellToWorld | Converts a cell position to world position space. |
GetBoundsLocal | Returns the local bounds for a cell at the location. |
GetLayoutCellCenter | Get the default center coordinate of a cell for the set layout of the Grid. |
LocalToCell | Converts a local position to cell position. |
LocalToCellInterpolated | Converts a local position to cell position. |
LocalToWorld | Converts a local position to world position. |
WorldToCell | Converts a world position to cell position. |
WorldToLocal | Converts a world position to local position. |
GetInstanceID | Returns the instance id of the object. |
ToString | Returns the name of the GameObject. |
Destroy | Removes a gameobject, component or asset. |
DestroyImmediate | Destroys the object obj immediately. You are strongly recommended to use Destroy instead. |
DontDestroyOnLoad | Do not destroy the target Object when loading a new Scene. |
FindObjectOfType | Returns the first active loaded object of Type type. |
FindObjectsOfType | Returns a list of all active loaded objects of Type type. |
Instantiate | Clones the object original and returns the clone. |
bool | Does the object exist? |
operator != | Compares if two objects refer to a different object. |
operator == | Compares two object references to see if they refer to the same object. |