View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.3
- Last updated
- First released
- Unity version
- 2019.4.40 or later
- Package size
- 33 KB
- Files
- 7
- Favorites
- 51
- Views in the past week
- 17
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- Free on
Keywords
ScreenOrientationWebGL
Price Free
Get it free on Asset Store (opens in new tab)
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 2
ScreenOrientationWebGL screenshot 1
About this asset
WHY?
As you may have noticed, the Screen.orientation api does not work on webgl. Hence, this plug-in. Even if/after they fix the issue, this plug-in will still have an edge. Unity’s Screen.orientation API does not have a way to listen to orientation changes. This plug-in allows you to register a callback to be run whenever the user changes orientation.
If you like my asset, please consider leaving a review! Constructive criticism is always welcome, and don't hesitate to contact me if you run into any issues!
From the publisher's Asset Store listing.
Compatibility
| Unity version | Built-in | URP | HDRP | Custom |
|---|---|---|---|---|
| 2019.4.40f1 | Compatible | Compatible | Compatible | Compatible |
As listed on the Asset Store.