Click here to Skip to main content
15,881,735 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello everyone,

I am working on a Mario Clone, and it all worked well until I started to add some animations to Mario. I've got a feeling that is has something to do with the Coroutines.
Here is the code for the PlayerMovement Script: https://pastebin.com/fVf0jbnP
And here is the MarioAnimation Script: https://pastebin.com/n66UwBT2

Thanks in advance!
- Xaaf Code

What I have tried:

I've tried putting a Debug.Log() in the If-statements to see if it reaches that block of code, and it did not appear to reach it. This makes me this that the Coroutine doesn't even start. Is this the case here? And if so, how would I fix this?
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900