Unity does not recognize the layer namespace

I have implement the script in unity and a error appears in the console like : “the type or namespace name ‘layer’ could not be found. are you missing an assembly reference” and i don’t find why it says that.

I use monodevelop.

Please could you help me ?

1 Like

Hi Teddy,

At around 06:00 in this lecture, Ben creates an enum called Layer in a Utility.cs script, have you done this?

This content is between 06:00-08:10.

Hope this helps :slight_smile:

1 Like

Hi Rob,

Thanks you very much for your reply. So I should have watched the whole video before posting this request. I will watch it and tell you if the problem is revolved or not.

Thanks again

1 Like

Hi Teddy,

Perhaps just a little further in that the additon of the CameraRaycaster.cs script, but it’s not a problem, lets just see if this resolves the problem or not :slight_smile:

I just finished the video and that OK. No more issues :slight_smile:

Thanks again Rob for taking time to answer me.

2 Likes

Great news Teddy, and you’re more than welcome, glad you can continue moving forwards with the course :slight_smile:

2 Likes

Privacy & Terms