// Update is called once per frame void Update() { transform.Translate(new Vector3(0, 1, 0) * bulletVelocity * Time.deltaTime); if (bounds.Exceeds(transform.position)) { Destroy(gameObject); } }