11000+款5星资源
8.5万+用户参与评分
10万+社区成员鼎力支持
每款资源都经过 Unity 审核
1/4
A simple and clean tool for using Web Geolocation API.
可编程渲染管线(SRP)兼容性
Unity可编程渲染管线(SRP)是让您能够通过C#脚本控制渲染的一个功能。SRP是支撑通用渲染管线(URP)和高清渲染管线(HDRP)的底层技术。
Unity版本 | 内置渲染管线 | 通用渲染管线(URP) | 高清渲染管线(HDRP) |
---|---|---|---|
2022.3.4f1 | 兼容 | 兼容 | 兼容 |
描述
This tool is a wrapper of the Web Geolocation API. This tool is also available for download using package manager: com.agava.webgeolocation.
Demo
https://webgeolocation.website.yandexcloud.net
How to use
Add namespace using Agava.WebGeolocation
Use the methods of the static class WebGeolocation
- GetCurrentPosition(onSuccessCallback, onErrorCallback, options) - get the current position of the device
- WatchPosition(onSuccessCallback, onErrorCallback, options) - register a handler function that will be called automatically each time the position of the device changes
- ClearWatch(watchId) - unregister location/error monitoring handlers previously installed using WatchPosition
You can use Samples folder as a guide.
高品质资源
11000+款5星资源
深受用户信赖
8.5万+用户参与评分
强大的社区支持
10万+社区成员鼎力支持
语言
USD
EUR