Search Unity

How do you store your App's setting variables?

Discussion in 'Scripting' started by Nevulus, Jan 12, 2014.

  1. Nevulus

    Nevulus

    Joined:
    Dec 7, 2012
    Posts:
    29
    Just curious how people organize their application's global setting variables efficiently. When I refer to settings I mean data such as the size of a chunk in a tile engine, or the base movement speed of all characters in a game.

    Currently I have a separate c# public static class named "Settings" and declare my const variables there for all my various scripts to access globally.

    Is there a more efficient way?
     
  2. unitylover

    unitylover

    Joined:
    Jul 6, 2013
    Posts:
    346
    Static class is a great way to organize your globals.