public void LoadNewSceneIndexAsync(int SceneIndex)
 {
     EventModelsManager.ClearEventModels();
     IsLoading = true;
     SceneHandler.LoadLevelProgress = 0f;
     CurrentlyLoadingScene          = SceneIndex;
     StartCoroutine(LoadSceneIndexAsyncWithFade(SceneIndex));
 }
 void Start()
 {
     if (encodedGeoJSON != null)
     {
         FeatureCollection = GeoJSON.GeoJSONObject.Deserialize(encodedGeoJSON.text);
     }
     if (FeatureCollection == null)
     {
         return;
     }
     _locations = new List <Vector2d>();
     foreach (var fit in FeatureCollection.features)
     {
         _locations.Add(Conversions.StringToLatLon(fit.properties["y"] + "," + fit.properties["x"]));
         GameObject go = Instantiate(_markerPrefab);
         EventModel em = go.GetComponentInChildren <EventModel>();
         EventModelsManager.InitializeEventModel(em, fit, go);
         EventModelsManager.InitializeEventModelGraphics(em);
         EventModelsManager.EventModels.Add(em);
     }
 }