Skip to content

unity-package/system-region-unity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How To Install

Add the line below to Packages/manifest.json

for version 1.0.0

"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:
    private void Start()
    {
        Debug.Log($"region: {RegionHelper.GetCurrentRegion()}");
    }