Class World::VisibleTile¶
Defined in File World.cs
Nested Relationships¶
This class is a nested type of Class World.
Class Documentation¶
-
class
VisibleTile
¶ Visible tile in game.
Public Functions
-
VisibleTile
()¶ Default constructor
-
void
Instantiate
(Int2 index, TilePrefab newprefab, float tileSize)¶ Add tile to visible world grid and update the poolObject
- Parameters
index
: position in world gridnewprefab
: tile datatileSize
: size in units
-
void
Destroy
()¶ Remove tile from visible world grid and update the poolObject
-