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
| using System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| // Game Map system, locates your character on a texturemap map. | |
| // First pass: just moves and rotates a quad based on your World Position. | |
| // Hierarchy should be: | |
| // GameMap <- has this script | |
| // LocationMarker <- has renderer to mark player location on map | |
| // MapQuad <- has square quad with texture of overhead map |