change image after exporting/building game

In my case, I want to add a function to change a texture of rawimage, that the user want, before starting the game. Is it possible? How? Thank you.

For more specific describe the problem.
The game scene is an art gallery.
After I export/build game, I will get an gameName.exe file in the folder.
Before starting the game, my aim is that the player can change the texture of the image(RawImage) of the gallery.
After starting the game, the player can see the image that he changed b4.

My ways changing image before export/build the game.
use python to create a window
a button to filedialog.askopenfilename()
get the path of the image.
update the c# script from(path = “”)To (path = “xxx.jpg”)
image is changed

So you’ll just need to load an image from disk instead of from an existing asset. Here’s an old thread that popped up when I googled it.

You’ll need to use a system other than the user editing a C# script, because your C# scripts aren’t actually included in your build as regular text. Maybe load a text file you would use as a config file the user can edit, or provide a means in the application to just enter the file path there. Unity has all the regular C# support for reading/writing text files, so any C# tutorial on text file access should do.

Thank Joe. How does the config file change the variable after export the game? As you said that c#script is not build as regular text. How does config file work? Sorry for my poor knowledge and thank for answering me patiently.

I’m just talking about whatever kind of text file you want, though if it is user editable I’d make the format pretty simple.