Search Unity

Accessing PlayerSettings

Discussion in 'Scripting' started by Enki, Nov 26, 2014.

  1. Enki

    Enki

    Joined:
    Jun 2, 2013
    Posts:
    20
    I'd like to show a version at the main screen, that matches the bundle identifier I'm passing on to the PlayStore. I can do this with PlayerSettings.bundleVersion, but that exists in the editor namespace and thus isn't available in a live game. Surely this is stored somewhere I do have access?
     
  2. Enki

    Enki

    Joined:
    Jun 2, 2013
    Posts:
    20