I use Camera.mainCamera for consistency, but I have no idea the difference between the two, if there is any. Can anyone shed some light?
2 Answers
2Camera.mainCamera is not documented, but I remember seeing it in MonoDevelop’s autocomplete. I guess it’s an ancient/obsolete/deprecated field that still exists for backwards compatibility reasons.
Camera.mainCamera is “read only”! Camera.main is to change options of your main Camera in the scene ![]()
ah, that would make sense. I guess I'll start using .main from now on, considering .mainCamera isn't even documented. Thank you.
– Jessespike