- Home /
Change Render Settings (SkyBox) through code.
Hey guys,
short 'n sweet and possibly stupid question:
If I go Edit > Render Settings > Skybox Material I can set a skybox material.
Is there a way to change the material through code? So I could have several skyboxes added to my scene and the player can toggle which one is used?
Many thanks in advance. :-)
Comment
Best Answer
Answer by efge · Apr 18, 2011 at 02:59 PM
You could use RenderSettings.skybox.
Whow, now I feel like an idiot for not managing to find that on my own o.O thanks though! ^.^
Your answer
Follow this Question
Related Questions
How to add skybox to scene Unity 3.5.5 2 Answers
Skybox Pixelation problem 6 Answers
How is a Skybox Made From an Image? 4 Answers
how to make my game darker? 1 Answer
Locatio of Render Setting 0 Answers