Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Application Config

Discussion in 'Scripting' started by Crassimo, Nov 14, 2017.

  1. Crassimo

    Crassimo

    Joined:
    Nov 14, 2017
    Posts:
    1
    Hello,

    I have had create my own Visual Studio DLL (dotNet 4.6). I need some config parameter. Normally I place this config parameters / config section at the related exe config file (app.config) of the current process.

    Currently I'm a bit frustrated. Where can I place this thinks when I use Unity.

    Thanks a lot,
    Christian
     
  2. McDev02

    McDev02

    Joined:
    Nov 22, 2010
    Posts:
    664
    Depending on which target Platform you use you can still place it next to the *.exe and read it with System.IO for example. Otherwise the StreamingAssets folder is a good place.
    Or you make a ScriptableObject inside Unity, but this then is only editable in Unity before you Build.