I have seen a lot of Camera.main in the code, each time this is called it does a findObjectOfTag underneath which is kind of slow. I am wondering whether you should cache the first call to Camera.main, to get an increase in speed ? Worth trying maybe? I learned this from here, excellent video!
https://youtu.be/_wxitgdx-UI?t=34m27s
Comments