positivenoob.blogg.se

Unity 3d tilemap
Unity 3d tilemap







unity 3d tilemap

Sets the collider type of a tile given the XYZ coordinates of a cell in the tile map. Resizes tiles in the Tilemap to bounds defined by origin and size. Removes the TileFlags onto the Tile at the given position.

unity 3d tilemap

Refreshes a tile at the given coordinates of a cell in the tile map.

#Unity 3d tilemap update

The tile map will retrieve the rendering data, animation data and other data for all tiles and update all relevant components. Returns whether there is a tile at the position. Returns whether there is an editor preview tile at the position. Get the total number of different tiles used in the Tilemap.įills the given array with the total number of different tiles used in the Tilemap and returns the number of tiles filled. Gets the transform matrix of a tile given the XYZ coordinates of a cell in the tile map. Retrieves an array of tiles with the given bounds. Gets the TileFlags of the Tile at the given position. Gets the tile at the given XYZ coordinates of a cell in the tile map. Gets the Sprite used in a tile given the XYZ coordinates of a cell in the tile map. Gets the GameObject which will be instantiated by a tile given the XYZ coordinates of a cell in the tile map. Gets the GameObject instantiated by a tile given the XYZ coordinates of a cell in the tile map. Gets the transform matrix of an editor preview tile given the XYZ coordinates of a cell in the tile map. Gets the TileFlags of the editor preview Tile at the given position. Gets the editor preview tile at the given XYZ coordinates of a cell in the tile map. Gets the Sprite used in an editor preview tile given the XYZ coordinates of a cell in the tile map. Gets the Color of an editor preview tile given the XYZ coordinates of a cell in the tile map. Gets the color of a tile given the XYZ coordinates of a cell in the tile map. Gets the collider type of a tile given the XYZ coordinates of a cell in the tile map. Get the logical center coordinate of a grid cell in world space. Get the logical center coordinate of a grid cell in local space. on the tile map starting from the given coordinates. on the tile map starting from the given coordinates.ĭoes a flood fill with the given tile to place. Starts from given coordinates and fills the limits from start to end (inclusive).ĭoes an editor preview of a flood fill with the given tile to place. Removes cells from within the Tilemap's bounds.ĭoes an editor preview of a box fill with the given tile on the tile map. Returns true if the Tilemap contains the given tile.

unity 3d tilemap

Starts from given coordinates and fills the limits from start to end (inclusive).Ĭlears all editor preview tiles that are placed in the Tilemap.Ĭlears all tiles that are placed in the Tilemap.Ĭompresses the origin and size of the Tilemap to bounds where tiles exist. Adds the TileFlags onto the Tile at the given position.ĭoes a box fill with the given tile on the tile map.









Unity 3d tilemap