popup.cs not working

I tried using popup.cs as suggested in the forum. Placing popup.cs in the standard assest/scripts folder and running the example in another folder. It works in Unity version 2.5, but after upgrading to version 2.6.1 and creating a new project with these files, they stop working, saying popup is an unknown identifier in the example. What am I doing wrong?


Did you put the script in your Standard Assets/Scripts folder (see here) as it says to in the link you put?

Yes I did, but the example.js does not recognize what popup is for some reason. I have popup.cs placed in the standard assets/ scripts folder. I also had example.js placed in the same folder but it didn't work either.