Editing "settings" in script?

I’m working on a team for a simple game, and some of the designers are complaining that they need “such and such” setting easily available, and are stumbling through the many menus. I was thinking of making a “settings menu” from script so they have exactly what they need, and can play with only the needed settings in a nice and minimalist way.

This is esoteric, but is it even possible to edit things like “render settings”, and “project settings” from a script? And more importantly, where should I look for the documentation for something like this?

thanks!

-Frank

You can definitely edit the settings in game and certainly can be done within the GUI…
all you do is set these variables within the scripts triggered by your GUI. now be warned… not every setting can be edited…

this is most notable in the quality settings where not all the settings in the editor are available at runtime… such as Texture Quality, Shadow Types and soft particles. this is a rather annoying design flaw in Unity which is a real pain to work around. also not all settings I’ve listed below will be needed in your Game such as master texture limit which is completely useless to the player and probably will annoy your designers further…

Below are some Scripting Documentation of each of the available settings.

Render Settings: Unity - Scripting API: RenderSettings

Audio Settings: Unity - Scripting API: AudioSettings

Quality Settings: Unity - Manual: Quality

Player Settings: Unity - Scripting API: PlayerSettings

other than the missing settings bug… unity can be made to support custom settings withing the game and should be able to meet your designers requirements. if you need more info on each settings just Google the appropriate setting class. e.g is i wanted to find out about Quality settings i would search “Quality Settings Unity” etc.

Hope it helps… :slight_smile: