How can i get current camera's background color?

I have to interpolate between current camera bacground color, and one defined in the list, but I don’t know how to get this current one in the code.

1 Answer

1

You can use Camera.backgroundColor. If the camera you want to get the color from is tagged as MainCamera, you can simply do

Camera.main.backgroundColor