Ejemplo n.º 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);
    }
Ejemplo n.º 2
0
Archivo: Demo.cs Proyecto: chen284y/GTW
 void FlyToCountry(int countryIndex)
 {
     map.FlyToCountry(countryIndex, 2.0f);
     map.BlinkCountry(countryIndex, Color.green, Color.black, 3.0f, 0.2f);
 }