Skip to content

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

License

Notifications You must be signed in to change notification settings

HiddenVariableStudios/unity-android-rotation-lock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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