Exemple #1
0
 public static void StartGPS()
 {
     InputLocation.Start();
 }
	private IEnumerator Start() 
	{
		IsReady = false;
		location = new InputLocation();
		yield return StartCoroutine(location.Start (CenterPoint));
	}
	private IEnumerator TryToUpdatePosition ()
	{
		currentTime = Time.realtimeSinceStartup + updateIntervalTime;
		location = new InputLocation();
		yield return StartCoroutine(location.Start (UpdatePosition));
	}