示例#1
0
    // Utility functions called from OnGUI:
    void FlyToCountry(int countryIndex)
    {
        // Get zoom level for the extents of the country
        float zoomLevel = map.GetCountryRegionZoomExtents(countryIndex);

        map.FlyToCountry(countryIndex, 2.0f, zoomLevel);
        map.BlinkCountry(countryIndex, Color.green, Color.black, 3.0f, 0.2f);
    }