I am testing out coding for the first time!
I have been following a tutorial and i have gotten this error:
Assets\EndTrigger.cs(10,21): error CS1061: 'GameManager' does not contain a definition for 'CompleteLevel' and no accessible extension method 'CompleteLevel' accepting a first argument of type 'GameManager' could be found (are you missing a using directive or an assembly reference?)
Here is my small code:
![alt text][1]
Here is my game manager script![alt text][2]
I also have the problem where "The associated script can not be loaded. Please fix any compile errors and assign a valid script.
Help!
[1]: /storage/temp/165421-merknad-2020-08-13-103112.png
[2]: /storage/temp/165422-merknad-2020-08-13-104021.png
↧