#Unity Coroutines with a clean-up callback for Godot

1 messages · Page 1 of 1 (latest)

cloud dove
#

Creating a Unity-Like Coroutine Manager / Coroutine class to perform CoRoutines in the Godot Engine.

Requires Godot 4.0+ C# edition. Completely free and opensource. I made it CC-BY-SA instead of MIT because I wanted to know that something I made was useful to people.

Readme: https://codeberg.org/Michieal/Godot-Coroutines/src/branch/main/README.md

Source: https://codeberg.org/Michieal/Godot-Coroutines

tacit orchid
#

This will definitely prove useful!

cloud dove
#

Feel free to use it! 🙂 that's what I made it for

#

Also, let me know if you would like any enhancements to it!

cloud dove
#

So, I just fixed an issue I found where the Coroutine Manager didn't wait the WaitForSeconds time. Sorry for any inconveniences that this may have caused. I tested the fix, and put up the updated code to the repository.

#

Also, I made it a lot more graceful when exiting. It now stops all coroutines, so that the coroutine's cleanup function is called.