2
\$\begingroup\$

I want to make a custom inspector for one of my scripts that builds UI elements at runtime. This requires small changes to the default values depending on what platform I'm targeting. How do I add something that is similar to the graphics settings where there is a default option but each platform is able to override the default setting for a platform specific value?

enter image description here

I'm looking for the same kind of thing that Unity has for the player settings (Edit -> Project Settings -> Player). This allows you to set the details for each one but you can override them for each platform if they need to be different.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.