public void Start() { player = GameObject.Find("Player"); playerCamera = GameObject.Find("Camera"); SpeedModel.player.setup(player.transform.position.z, playerCamera.transform.position.z); SpeedModel.setIsShort(isShort); model.Start(); road = GameObject.Find("Road").GetComponent <RoadController>(); road.model = model; ConstructCompetitors(model, competitorPrefab); finish = GameObject.Find("Finish"); finish.transform.position = Vector3.forward * SpeedModel.finishZ; finishText = (TextMesh)GameObject.Find("FinishText").GetComponent <TextMesh>(); restart = GameObject.Find("RestartText"); restart.SetActive(SpeedModel.isRestartEnabled()); }