// Use this for initialization void Start() { Instance = this; DontDestroyOnLoad(gameObject); Latitude = 0f; Longitude = 0f; Altitude = 0f; StartCoroutine(StartGPSService()); }
void Start() { gpsProvider = GetComponent <GPSProvider> (); StartCoroutine(StartReadingGPSData()); }