Search Unity

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.