Updated How can I force a screen to be locked either horizontal or vertical?.md (markdown)
commited
commit
cf402044eddd04f18087ea6821eee991218affb7
... | ... | @@ -4,7 +4,7 @@ There are several ways to achieve it. The first one is changing camera rotation |
4 | 4 | |
5 | 5 | These scripts will set vertical orientation. If you want horizontal, just wire that [[Set Rotation|Set Variable]] to the "Else" plug instead of "True". |
6 | 6 | |
7 | The second method is way straightforward, just place the [[Accelerometer]] script block anywhere on floor (don't forget to wire it to something with yellow plugs!) — it will literally lock the screen orientation to a state that was when a game was opened. It's useful when you don't necessarily need a specific orientation to be set but you want it to be unchangeable during gameplay. |
|
7 | The second method is way straightforward, just place the [[Accelerometer]] script block anywhere on floor (don't forget to wire it to something) — it will literally lock the screen orientation to a state that was when a game was opened. It's useful when you don't necessarily need a specific orientation to be set but you want it to be unchangeable during gameplay. |
|
8 | 8 | |
9 | 9 | [[/uploads/Screenshot_2019-10-12-23-59-57-807_com.martinmagni.fancade.png]] |
10 | 10 |