Legacy Documentation: Version 5.5
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

RenderSettings.skybox

public static Material skybox;

Description

The global skybox to use.

If you change the skybox in playmode, you have to use the DynamicGI.UpdateEnvironment function call to update the ambient probe.