ok how do i fix thies Assets\Materials\Scripts\MenuController.cs(31,34): error CS0119: 'Component.GetComponent()' is a method, which is not valid in the given context plz help me i dont know how to do thies
Without the surrounding lines of code, it is hard to determine the error. If you're still having the issue, paste your code into Pastebin and drop a link here so someone can look at it.
Ahh I narrowed it down to Menucontroller does not contain a definition for WinGame or LoseGame and I can't add the MenuController script to the canvas o' course. Would love some help, thx!
@@desasterdani you can add the script to an empty game object that is always active. Namespace errors are usually a typo in the script name versus the namespace that's labeled in the script
my player won't disappear after i died and i copied the code exactly the same from the vid can someone help
ok how do i fix thies Assets\Materials\Scripts\MenuController.cs(31,34): error CS0119: 'Component.GetComponent()' is a method, which is not valid in the given context plz help me i dont know how to do thies
Without the surrounding lines of code, it is hard to determine the error. If you're still having the issue, paste your code into Pastebin and drop a link here so someone can look at it.
Hey! Typed the code exact, showing compile error the namespace MenuController cannot be found?
Ahh I narrowed it down to Menucontroller does not contain a definition for WinGame or LoseGame and I can't add the MenuController script to the canvas o' course. Would love some help, thx!
@@desasterdani you can add the script to an empty game object that is always active. Namespace errors are usually a typo in the script name versus the namespace that's labeled in the script
@@KeySmashStudios awesome, okay I'll check it again, thank you