// Start is called before the first frame update void Start() { controller = GameObject.Find("Main Camera").GetComponent <CameraTransition>(); constant = GameObject.Find("Main Camera").GetComponent <ConstantPickUp>(); carSpawn = GameObject.Find("CarSpawner").GetComponent <Transform>(); boatSpawn = GameObject.Find("BoatSpawner").GetComponent <Transform>(); heliSpawn = GameObject.Find("HeliSpawner").GetComponent <Transform>(); }
// Start is called before the first frame update void Start() { parent = GameObject.Find("MainTruck").GetComponent <Transform>(); dropSpawn = GameObject.Find("DropPoint").GetComponent <Transform>(); constant = GameObject.Find("Main Camera").GetComponent <ConstantPickUp>(); }