Unity Community


Results 1 to 4 of 4

Thread: App Settings


  1. Posts
    561

    App Settings

    I've noticed some apps have settings outside of the app in the iPhone's settings menu. Just curious, is this something that a unity game could use for, say, setting audio on/off or resetting high scores?


  2. Location
    San Francisco, CA
    Posts
    901
    To have your settings appear in the Settings app, you need to make a settings bundle. Basically this is just a plist of the widgets you want to display, and the NSDefaults (PlayerPrefs) key you want them to affect.

    http://developer.apple.com/iphone/li...P40007072-CH13

    Sample code here: http://developer.apple.com/iphone/li...efs/index.html

    Personally I much prefer in-app preferences, because I hate leaving an app just to change the prefs.


  3. Posts
    561
    Thanks for the point in the right direction.

    There are a few settings I like to have outside the app:

    For in-game toggle for audio, if you are trying to listen to music you have to launch the game, turn off the audio, exit the game, start your music back up, and then re-launch the game. In external settings, you simply turn it off before launch.

    Resetting high scores is nice so that the player doesn't hit it on accident and lose all their progress. If you have to access it from external settings, you are more likely to actually mean it when you reset.

  4. Volunteer Moderator
    Posts
    23,684
    Quote Originally Posted by Mattimus
    For in-game toggle for audio, if you are trying to listen to music you have to launch the game, turn off the audio, exit the game, start your music back up, and then re-launch the game. In external settings, you simply turn it off before launch.
    Instead, you can turn off audio in-game and press the home button twice to access your music, so you don't have to leave the game.

    Resetting high scores is nice so that the player doesn't hit it on accident and lose all their progress. If you have to access it from external settings, you are more likely to actually mean it when you reset.
    Should really have an "are you sure" confirmation, which I don't think you can do with external settings. I agree with bliprob...if a game uses external preferences, they might as well not exist as far as I'm concerned.

    --Eric

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •