using System.Collections; using System.Collections.Generic; using UnityEngine; public class WeatherMoveCar : MonoBehaviour { public GameObject che; // Update is called once per frame void Update() { this.transform.position = new Vector3(che.transform.position.x,this.transform.position.y,che.transform.position.z); } }