Should I make Layer a required component?

So on my CursorAffordances I required the raycaster. Should I require a Layer enum too. It won’t work without it, right?

[RequireComponent(typeof(CameraRaycaster))]
[RequireComponent(typeof(Layer))]

Hi Sean,

My apologies for missing this post, I’m currently trying to clear out the older posts so new ones are easier to find.

I would check against the github repo on the lecture you are on, You can access this by click the three bars at the top left of the video window and scrolling to the lecture you are on. This will have a link to project changes.

Let me know on this

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms