using UnityEngine; public class RocketMovement : MonoBehaviour { public float speed = 5f; void Update() { // Move the rocket upward transform.Translate(Vector3.up * speed * Time.deltaTime); } }