private void setUnitHeight()
 {
     transform.position = new Vector3(transform.position.x, currentTile.GetComponent <TileBase>().getHeight(), transform.position.z);
 }