void DeleteTile() { string name = jsonManager.tiles[jsonManager.GetLocal(IDSelected)].name; jsonManager.DeleteTile(Int32.Parse(tileList.transform.GetChild(iSelected + 1).GetChild(0).GetComponent <Text>().text)); Debug.Log("Deleted tile with ID " + IDSelected + "\nwith name " + name); SetRows(); Go("TLM", false); }