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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Allow player to set screen size..

Discussion in 'Scripting' started by DaVeF101, Jul 2, 2015.

  1. DaVeF101

    DaVeF101

    Joined:
    Sep 7, 2014
    Posts:
    134
    Does anyone know the right method of allowing the player to adjust to his/her screen size?

    Like on most console games where the player adjusts a box (usually with arrows top and bottom) and this sets the game resolution?

    Thanks in advance..
     
  2. GNGification

    GNGification

    Joined:
    Oct 24, 2013
    Posts:
    59
  3. GroZZleR

    GroZZleR

    Joined:
    Feb 1, 2015
    Posts:
    3,201
    When you're adjusting a box on a console game, you're defining the extents of your television's safe zone. This ensures no UI / HUID elements get cut off. It has nothing to do with resolution.

    Is that what you're trying to accomplish?
     
  4. DaVeF101

    DaVeF101

    Joined:
    Sep 7, 2014
    Posts:
    134
    Yes that's what i'm trying to do.. sorry for not being clear.