Quantcast
Channel: Answers for "How to fix my code? (Player death + Respawn)"
Browsing latest articles
Browse All 6 View Live

Answer by AngryBurritoCoder

When you code, and an error pops up, next time check the lines the error is at in your case its at (131,14), AND you can see at that line that you are declaring the method public void KillPlayer() as a...

View Article



Answer by koray1396

first, your bool method does not return any value as true / false. but the error showing is bool is not an iterator type and you can not use yield return new wait... blocks. check out IEnumerator and...

View Article

Answer by b1nary_atr0phy

Is there a particular reason you are using `yield return` as opposed to simply `return`? A method using `yield return` must be declared as returning one of the following two interfaces: `IEnumerable`...

View Article
Browsing latest articles
Browse All 6 View Live




Latest Images