|
Drone
|
Component of the tile, mainly used for Unity More...
Public Member Functions | |
| void | SetColor (Color color) |
| Set color of the tile | |
| void | ResetColor () |
| Set color of the tile back to the original | |
| void | Initialize (TileData data) |
| Since Unity does not allow arguments trough Instantiate we create a startup function Position and initialize tile from the TileData | |
Private Attributes | |
| Material | _tileMaterial |
| Color | _startColor |
Component of the tile, mainly used for Unity