void Update() { Vector2 screenPosition = Camera.main.WorldToScreenPoint(transform.position); if (screenPosition.y < (Screen.height - 300f)) Destroy(this.gameObject); }