An open API service indexing awesome lists of open source software.

https://github.com/unity-package/system-region-unity

Region Detection for Unity (Android/iOS)
https://github.com/unity-package/system-region-unity

country-codes detect-region region unity unity2d unity3d

Last synced: 6 days ago
JSON representation

Region Detection for Unity (Android/iOS)

Awesome Lists containing this project

README

        

## How To Install

### Add the line below to `Packages/manifest.json`

for version `1.0.0`
```json
"com.unity-package.system-region":"https://github.com/unity-package/system-region-unity.git#1.0.0",
```

## Use
- Use Api `RegionHelper.GetCurrentRegion()` to get the current region.
- Example usage in a script:
```csharp
private void Start()
{
Debug.Log($"region: {RegionHelper.GetCurrentRegion()}");
}
```