I have to change skybox color from script, so I want to write a function to do the following works (in pseudo-code):
function ChangeColor(var color) //run each 30 seconds
{
skybox.color = color;
}
I don’t know how to write the actual code. Can you help me with this. Thank you very much