Using scripts out of my assets folder!

Hello!
I searched a lot on google but couldn’t find an option to use scrips that are outside my assets folder.
So i need help, how to use variables wich are locaden in an script outside the assets folder?
I know how to acces scripts in assets, with GetComponent and other methods, but here i don’t:(

Or how to import and use assets after i release the game?
Thanks in advance!

You cannot use scripts outside the assets folder. Scripts must be in the assets folder so Unity can build them.

If you only want to load variables, you can open any kind of xml, ini or txt file outside the assets folder with, for example, XmlReader, XDocument or File.

To add levels or elements later on in your game, you can also check AsssetBundles.