How to change or set the Ground and Sky Tint color of a Procedural Skybox through script?

From Unity.com

How to change or set the Ground and Sky Tint color of a Procedural Skybox through script?

Basically I'm trying to change these through my code: Color rndCol = new Color(spawner.RandVar(1), spawner.RandVar(1), spawner.RandVar(1)); spawner.sky.SetColor("_Tint", rndCol); RenderSettings.skybox.SetColor("_Tint", rndCol); but I don't see anything… [+505 chars]

Basically I'm trying to change these ![alt text][1] through my code: Color rndCol = new Color(spawner.RandVar(1), spawner.RandVar(1), spawner.RandVar(1)); spawner.sky.SetColor("_Tint", rndCol); RenderSettings.skybox.SetColor("_Tint", rndCol); but I don't see …

Published on November 30th, 2019

More Tint Icon Tint News