Click or drag to resize
TileMapGetTile Method
Get tile at a given index (create new tile GameObject if doesn't exist).

Namespace:  GeonBit.ECS.Components.Misc
Assembly:  GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public GameObject GetTile(
	Point index,
	bool createIfNeeded = true
)

Parameters

index
Type: Point
Tile index to get.
createIfNeeded (Optional)
Type: SystemBoolean
If true and tile doesn't exist yet, create and return it. If false, may return null.

Return Value

Type: GameObject
Tile GameObject.
See Also