public void OnTriggerExit(Collider other) { if (other.tag == "tiles") { //Destroy(other.gameObject); other.transform.position = new Vector3(0, -2000, 0); int count = tileManager.getAliveTilesCount(); if (count <= 0) { tileManager.notifyUpdateTilemap(); } } }