private void Deselect() { isSelected = false; render.color = Color.white; previousSelected = null; }
private void Select() { isSelected = true; render.color = selectedColor; previousSelected = gameObject.GetComponent <Tile_AI>(); }