Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. The 2023.1 beta is now available for testing. To find out what's new, have a look at our 2023.1 feature highlights.
    Dismiss Notice

Question Full screen on mobile

Discussion in 'Project Tiny' started by leomcpugo, Oct 2, 2022.

  1. leomcpugo

    leomcpugo

    Joined:
    Aug 1, 2016
    Posts:
    2
    Hello!

    If you access this project using a mobile browser (I'm using an iPhone) it first opens a small screen where you can click and it will open it in full screen.
    https://simmer.io/@TheRoccoB/tiny-arms-revenge-project-tiny
    How is the full screen is achieved?

    I've tried this by adding a button with a pointer-down event trigger calling Screen.fullScreen = true, but no response.

    I'm using Unity 2021.3.11

    Thanks in advance
     
    Last edited: Oct 2, 2022
  2. WindReiter

    WindReiter

    Joined:
    Jul 29, 2022
    Posts:
    7
    I would also like to know the answer to this! Fullscreen on mobile doesn't work for me.
     
  3. inyourpc

    inyourpc

    Joined:
    Jul 14, 2013
    Posts:
    9
    Are you using simmer plugin or unity native build player?
    If you use latest unity lts verion and build with unity native webplayer for mobile it should be full screen by default on mobile screens!