protected override void Awake() { base.Awake(); m_locationAnnotations = new SetDictionary <string, MapAnnotation>(); m_overlays = new SetDictionary <string, IOverlay>(); m_toAdd = new HashSet <MapAnnotation>(); m_toRemove = new HashSet <MapAnnotation>(); if (OnHold == null) { OnHold = new MapControllerEvent(); } if (Ready == null) { Ready = new MapControllerEvent(); } SetScreenBounds(); }
protected override void Awake() { base.Awake(); m_searchLocations = new Dictionary <string, MapAnnotation>(); m_storyTagMarkers = new Dictionary <string, MediaElement>(); m_locationTypeMarkers = new Dictionary <string, MediaElement>(); m_locationAnnotations = new SetDictionary <string, MapAnnotation>(); m_toAdd = new HashSet <MapAnnotation>(); m_toRemove = new HashSet <MapAnnotation>(); if (OnHold == null) { OnHold = new MapControllerEvent(); } if (Ready == null) { Ready = new MapControllerEvent(); } SetScreenBounds(); }