| | |
| | | /// </summary> |
| | | private EndlessTowerGridOpen[,] m_arrTGO; |
| | | |
| | | public GameObject[] TowerGridOpenObjArr; |
| | | |
| | | private float[,] m_arrCoinGenTime; |
| | | |
| | | /// <summary> |
| | |
| | | /// </summary> |
| | | /// <param name="x"></param> |
| | | /// <param name="y"></param> |
| | | public void CheckCanPlaceUpdate(int x, int y) |
| | | public void CheckCanPlaceUpdate(int x, int y, bool isEmpty, string towerName) |
| | | { |
| | | CloseCanPlace(); |
| | | currentCanPlace = m_Tiles[x, y]; |
| | | currentCanPlace.SetSelect(true); |
| | | if (isEmpty) |
| | | { |
| | | currentCanPlace.SetTowerVirtualshadow(towerName); |
| | | } |
| | | } |
| | | |
| | | /// <summary> |