Why we use the observer pattern.. I think?

So this is a new item for me personally to learn but I am going to give it a try… If someone would not mind letting me know if I am on with this thinking or if I am off that would be great as well, thanks!

So if I am understanding it correctly we use it so that we dont overload the machine with tons of calls all the time and instead of that we make it so that we can only have to change the calls when the cursor changes. It would make it so that the Cursor Affordance is not dependednt on the CameraRaycaster.

(If this is completely off please let me know, I am sorry if that is the case… I am just trying to wrap my head around it a bit and I am sure once i move into the next video and actually see it in action I will get a better understanding of it. ) Thanks everyone!

Privacy & Terms