/// <summary> /// Starts navigation to target city with duration (seconds). Returns false if not found. /// </summary> public void FlyToCity (City city, float duration) { FlyToLocation(city.unitySphereLocation, duration); }
/// <summary> /// Returns the index of a city in the cities collection by its reference. /// </summary> public int GetCityIndex(City city) { return GetCityIndex(city, true); }
/// <summary> /// Starts navigation to target city. Returns false if not found. /// </summary> public void FlyToCity (City city) { FlyToCity(city, _navigationTime); }