Created
May 29, 2017 19:18
-
-
Save unity3dcollege/f6054bc89c96643a1a298d8c7c2be14b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <summary> | |
/// Resets the map controller and initializes the map visualization | |
/// </summary> | |
//public void Awake() | |
//{ | |
// MapVisualization.Initialize(MapboxAccess.Instance); | |
// _tiles = new Dictionary<Vector2, UnityTile>(); | |
//} | |
//public void Start() | |
//{ | |
// Execute(); | |
//} | |
[ContextMenu("Generate Map")] | |
private void GenerateMyMap() | |
{ | |
MapVisualization.Initialize(MapboxAccess.Instance); | |
_tiles = new Dictionary<Vector2, UnityTile>(); | |
Execute(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment