Publisher | Marks |
---|---|
File size | 33.08kB |
Number of files | 7 |
Latest version | 1 |
Latest release date | 2024-01-18 12:49:12 |
First release date | 2020-10-20 04:31:12 |
Supported Unity versions | 2018.4.2 or higher |
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!