Ellpeck / Coroutine

A simple implementation of Unity's Coroutines to be used for any C# project
https://www.nuget.org/packages/Coroutine
MIT License
37 stars 3 forks source link

[Feature Request] [Co-routine Stats] A co-routine saves average time it take to execute MoveNext() #4

Closed zaafar closed 3 years ago

zaafar commented 4 years ago

Thank you for the amazing library! In my project I am trying to create a debug ui which shows the following.

NOTE: (optional)) In case a coroutine calls RaiseEvent() function to trigger a new coroutine, the time taken by the new coroutine shouldn't be counted in the current coroutine, it should be counted in the newly triggered coroutine.

Do you think such functionality have a place in this library? If I implement such functionality, how open would you be in accepting it into this library?

Ellpeck commented 4 years ago

I can add some of these features myself in a later update!

zaafar commented 3 years ago

Thx for doing this, I will test it out over the weekend!