Tilemap.GetObjectToInstantiate

Cambiar al Manual
public GameObject GetObjectToInstantiate (Vector3Int position);

Parámetros

positionThe position of the Tile on the Tilemap.

Valor de retorno

GameObject Returns the GameObject to be instantiated by the Tile at the position.

Descripción

Gets the GameObject which will be instantiated by a tile given the XYZ coordinates of a cell in the tile map.