void OnTouchCursorDown(Vector3 cursorPos) { UnitTower tower = GameControl.Select(cursorPos); if (tower != null) { SelectTower(tower); UIBuildButton.Hide(); } else { if (selectedTower != null) { ClearSelectedTower(); return; } if (!UseDragNDrop()) { if (BuildManager.CheckBuildPoint(cursorPos) == _TileStatus.Available) { UIBuildButton.Show(); } else { UIBuildButton.Hide(); } } } }