Did I miss something? For a spiral syllabus, I think a few lower spirals may have been skipped on this one. I’m currently on lecture 15, which again uses the CameraRaycaster script, but I’m totally lost in how this class does what it does, and Unity help notes on the topic don’t help at all.
I understand bit shifting, but don’t know how bit shifting by 8 returns a suitable result for the walkable layer etc. How does the parameter that is passed in flow through the class execution, and how does “out hit” work, vs “return hit”. Perhaps a whiteboard type flow chart might help in explaining this?
At this stage, and having completed all of unity 3D, and half of Unity 2D courses, downloading scripts and working through explanations is more appropriate than writing the script in course. This does indeed accelerate learning, and save on time invested. But even further explanation of the CameraRaycaster script, than currently available, would be appreciated.