Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Saving sound values?

Discussion in 'Game Design' started by luhybri, Dec 30, 2014.

  1. luhybri

    luhybri

    Joined:
    Dec 28, 2014
    Posts:
    5
    What is the best way to save the sound volume in a game? Not only between scenes but also when the User exists the game, the sound changes should be where he left it, when it was being played before. Any suggestions?
     
    Last edited: Dec 30, 2014
  2. TonyLi

    TonyLi

    Joined:
    Apr 10, 2012
    Posts:
    12,670
    Use PlayerPrefs. (If you post technical questions like this in the Scripting forum, you'll get much faster responses.)