hi,
I am referring to minute 2 - 2:35 of this lecture: https://www.gamedev.tv/courses/637539/lectures/11879457
Why would disabling the pickup stop the coroutine from running?
Thanks!
hi,
I am referring to minute 2 - 2:35 of this lecture: https://www.gamedev.tv/courses/637539/lectures/11879457
Why would disabling the pickup stop the coroutine from running?
Thanks!
Hi soomon,
Since the WeaponPickup script is attached on a GameObject, if you disable that GameObject, then everything that comes with it will also be disabled, including the script that contains the coroutine.
yeah that indeed makes a ton of sense
Thanks!
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.