Android
Screen.sleepTimeout = SleepTimeOut.NeverSleep;
getWindow().addFlag(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
Iphone
iPhoneSettings.screenCanDarken = false;
'유니티' 카테고리의 다른 글
Unity Texture to Texture 2d (convert through RenderTexture) (0) | 2018.09.11 |
---|---|
유니티 Screen Orientation (0) | 2018.09.04 |
World Position to the specific Rect screen position (0) | 2018.09.03 |
Unity Attitude (0) | 2018.09.03 |
유니티 FrameRate 확인 (0) | 2018.06.26 |