DiscoverTenerife
|
Class that shows the zone that the current user is. More...
Private Member Functions | |
void | Awake () |
this method is called before the first frame, it initializes the gpsController_ property. More... | |
void | Update () |
this method is called each frame, it checks if the user has changed his zone. If that is the case, it update the textObject_ to show the new current zone. More... | |
Private Attributes | |
GameObject | textObject_ |
text where the current zone will be shown. More... | |
gpsController | gpsController_ = null |
stores a reference to the gpsController. More... | |
string | lastZone_ = "" |
stores the last zone that the user was, for optimization reasons. More... | |
Class that shows the zone that the current user is.
|
private |
this method is called before the first frame, it initializes the gpsController_ property.
|
private |
this method is called each frame, it checks if the user has changed his zone. If that is the case, it update the textObject_ to show the new current zone.
|
private |
stores a reference to the gpsController.
|
private |
stores the last zone that the user was, for optimization reasons.
|
private |
text where the current zone will be shown.