// Update is called once per frame void Update() { //check if truck is stopped if (nav.isStopped == false) { truckStopped = false; stopStartText.text = "STOP"; travelTime = travelTime + 1 * Time.deltaTime; } else { truckStopped = true; stopStartText.text = "START"; } travelTimeInt = Mathf.RoundToInt(travelTime); //event checkz if (travelTimeInt % 5 == 0 && travelTimeInt > 0) { if (eventInProgress == false) { eS.runEvent(); } } //city checking and stuff?? maybe for the dropdown i think if (currentCity != destinationCity && nav.isStopped == false) { citiesDropdown.gameObject.SetActive(false); } else { citiesDropdown.gameObject.SetActive(true); } }