void Update() { if (transform.position.y <= killHeight) { apScript.appleDropped(); Destroy(this.gameObject); } }