Skip to content

HiddenVariableStudios/unity-android-rotation-lock

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

unity-android-rotation-lock

A small Unity plugin that lets you access an Android device's rotation lock setting.

Simply import the package under "UnityPackage" and use the function exposed in AndroidRotationLockUtil.cs to check the device's rotation lock setting on awake and on resume. The sample project contains a script with an idea of how to do this.

About

A small Unity plugin that lets you access an Android device's rotation lock setting.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published