- Home /
How to change Unity default skybox tintcolor (code or editor)
I'm having some difficulty finding out how to change the unity default skybox "tintcolor" field in the editor or in code. Using Unity 5.4.4p1.
When I go to Window->lighting->Scene->Environmental Lighting and click on the material, it just highlights the "Assets" folder in my project view. I do see the material in the inspector, but the values are grayed out so I can't change them.
I'd like to change them via code, I'm assuming that I just do something like skyboxMat.SetColor( "_Tint", new Color( 0.0f, 30.0f / 255.0f, 0.0f, 1.0f ) );
Can the default skybox not be edited?
Comment