Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

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

RenderSettings.skybox

Switch to Manual
public static var skybox: Material;

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.