Sorry that I often write but the further delve into the development then more of questions.
I understand that is always active only MainCamera. However, in many situations, I would like to use different post-effects. For example, I ran into a problem with DOF. In some places, it looks good but in other is bad and i need to change its settings. What can i do?
Comments
Though the MainCamera is only the one that's ever technically active, you can easily work out which camera it is currently copying with this code:
_Camera activeCam = AC.KickStarter.mainCameraPrefab.attachedCamera.name;
You could then either check it's name, or compare it with public _Camera fields you set in the script and assign in it's inspector:
if (activeCam.gameObject.name == "BathroomCam")
{
// Do something
}
1.40 will come with the ability to set a focal length per camera, and retrieve it with a single line of code.
.02