Search Unity

Confirm if Screen.fullScreen works for webGL in a browser?

Discussion in 'Web' started by LilGames, Jul 20, 2017.

  1. LilGames

    LilGames

    Joined:
    Mar 30, 2015
    Posts:
    570
    From what I can tell (through fruitless attempts and tests) Screen.fullScreen does NOT get set to true when the browser makes the content go into full screen mode. (Unity 5.6.2)

    Can anyone else confirm this?

    If it is true and official, the documentation needs to say that it is not supported in webGL!
    https://docs.unity3d.com/ScriptReference/Screen-fullScreen.html

    If it is a bug, then let me know so I can report it.
     
  2. LilGames

    LilGames

    Joined:
    Mar 30, 2015
    Posts:
    570
    Can I delete this thread? The lesson I learned is I need glasses!

    void Update()

    not

    void update()