📅  最后修改于: 2022-03-11 14:48:15.352000             🧑  作者: Mango
void Update()
{
Vector2 screenPosition = Camera.main.WorldToScreenPoint(transform.position);
if (screenPosition.y < (Screen.height - 300f))
Destroy(this.gameObject);
}