Learn to make cutscenes in unity3d by building a stealth Game.
Objective: Challenge Change Camera Color to Red.
Before doing this we need to understand our material is not using a normal shader which is a standard shader so changing color by accessing mesh renderer or renderer won't work
Create a renderer variable and cache it in the start method.
Set the camera color to red when camera collide with the player, we do this using mesh renderer dot material dot color and Use the SetColor method which will pass the tint attribute.
Note: You can pass Color.Red to make the camera full red ,but I want light red that's why I want to pass a value to archive this, search for how to set RGB value in color and the last number is for transparency. Do research to learn more.
This is how I solve this challenge.