Good Evening everyone,
I’m having some trouble with this lecture on establishing the currency generation of the Star Trophy.
Following the final stage of the lecture, when we are linking both the Defender scripts and the StarDisplay scripts I received the above error code, which highlighted line 15 of the Defender script below:
Below is the StarDisplay script which is also giving CS0103 errors (Though these are not being displayed on the console) for both uses of “amount” and also for the use of “StarText” on line 13:
I believe the problems on the StarDisplay script are the source of the error as previously the Defender script was unable to find the StarDisplay script at all, hence the CS1501 error code. After a few different attempts I think the Defender script is now finding the StarDisplay script after a fashion, but this is not solving the problem and I’m really not even sure what’s gone wrong.
Any help given would be appreciated!
Thanks!