Apress / Devel-2D-Games-Unity

Source Code for 'Developing 2D Games with Unity: Independent Game Programming with C#' by Jared Halpern
https://www.apress.com/us/book/9781484237717
Other
215 stars 53 forks source link

Issue in Page 274 #27

Open itscarlosisaac opened 4 years ago

itscarlosisaac commented 4 years ago

StopCoroutine(damageCoroutine); should be call in the same object that was started.

player.StopCoroutine(damageCoroutine), if not the coroutine wont stop.