07 2024 档案
unity 用gps获取经纬度,然后将经纬度通过逆地理编码转换成中文地址(百度API)
摘要:1.通过GPS获取经纬度 直接上代码了 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class GetGPS : MonoBeh
阅读全文
unity 获取sha1码
摘要:1.先 生成user.keystore 创建Project Settings -> Player ->Publishing Settings 选择Create New -> Anywhere 2. 获取sha1码 我的unity版本是2022.3.27,所以cmd中要先进入这个路径(cmd中 cd
阅读全文
unity 从list中获取最近的坐标 / 获取最接近的角度(数值)
摘要:/// <summary> /// 从列表points中获取距离targetPoint最近的坐标 /// </summary> /// <param name="points"></param> /// <param name="targetPoint"></param> /// <returns>
阅读全文
浙公网安备 33010602011771号