Timeline for How can I decide when the scaling will be enabled or not depending if switching cameras at the same time?
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 5, 2018 at 19:16 | comment | added | Draco18s no longer trusts SE |
Just don't forget that Camera.main is an uncached call to GameObject.FindWithTag()
|
|
Mar 5, 2018 at 15:26 | comment | added | DMGregory♦ | Alternatively, you can ensure all of your cameras are tagged as "MainCamera" so that Camera.main will be able to find whichever one is active. | |
Mar 5, 2018 at 15:10 | vote | accept | Daniel Lip | ||
Mar 5, 2018 at 14:54 | history | answered | DMGregory♦ | CC BY-SA 3.0 |