
エントリーの編集

エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
UnityでGPS使ってストリートビューを歩きたい - Qiita
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています

- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
UnityでGPS使ってストリートビューを歩きたい - Qiita
using UnityEngine; using System.Collections; using UnityEngine.UI; public class GPSLoader : MonoB... using UnityEngine; using System.Collections; using UnityEngine.UI; public class GPSLoader : MonoBehaviour { public Text label; IEnumerator Start() { if (!Input.location.isEnabledByUser) { label.text = "Error"; yield break; } Input.location.Start(); int maxWait = 120; while (Input.location.status == LocationServiceStatus.Initializing && maxWait > 0) { yield return new WaitForSeconds(1); maxWait--;