Can't drag&drop Canvas into script inspector

Hi.
I’m following a tutorial online and I have gotten to the point where I learn how to use canvases.

We’ve just made a script to call the canvas and now I’m asked to drag&drop the gameobject into the inspector. In the video it works without a problem. But my Unity won’t allow me to do that.
This is the exact time and place where it goes wrong for me:

I’ve checked that I’ve named all objects as he has in the video and that the scripts are written exactly as he has.

What could be the problem?
Thanks
Weasel Bandit

If you’re sure that the script is the same, make sure you’ve saved the script.
Dragging and dropping items like that in the inspector is… very, very common :slight_smile: Not sure how else to say that.
I hope you get it fixed. :wink:

Thanks for your reply.
I’ve made sure that I’ve saved the script.
Still doesn’t work though.

k, one last thought. You sure you have the IVCanvas script on the canvas, also?

That was actually what the problem was… Received help in another forum 30 seconds ago and it turned out that that was the problem… :slight_smile:

Oh nice (in the sense of having worked it out) :slight_smile: Cool Enjoy