zeh / unity-tidbits

Small C# code to help in Unity development
MIT License
104 stars 44 forks source link

Navigation bar is always visible when I use ApplicationChrome #7

Open diegoleao opened 4 years ago

diegoleao commented 4 years ago

Whenever I set anything about the status bar in ApplicationChrome, the navigation bar also becomes visible. I found out that this line was doing it, removing it solved the problem:

if (Screen.fullScreen) Screen.fullScreen = false;

Is there a reason for this fullScreen to be always set "false"? Is it because of older APIs?

My modified source is attached. ApplicationChrome.zip

ilkercankaya commented 4 years ago

I am curious about this too, any response would be appreciated