private void OnTriggerEnter(Collider other) { if (other.gameObject.tag == "Player") { Genesis.CheckAndGenerateNear(xPos, zPos); } }