CameraRaycaster Cursor.cs challenge

I kept getting errors when trying to create a Cursor.cs script. Unity keeps complaining about specific methods not being present in my script. Since Unity 2018 has you import Standard Assets from the unity store and it contains several assets, including scripts and interfaces. The errors lead me to believe that there is a Cursor object that already exists. However, when I created ‘PlayerCursor.cs’ it worked like a champ. I’m gonna need to go in and remove all the bloated assets and hope I don’t break any dependencies.

Ben does address this is in an later video.

Do you need all the Standard Assets? You can always search for Cursor in the Project window (ie Assets folder) and delete the sections of Standard Assets with that in.

Thanks for the replies. Glad to see that Ben addressed it, not to far off from this video.

Thanks again.

Yes. there’s indeed a Cursor parameter used in the PauseMenu.cs script under Standard Assets. I just deleted that script.

Privacy & Terms