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 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:
GameObjectTile GameObject.
See Also