SpicyPixel.Threading.UnityCoroutine Class Reference
This static class exposes convenience coroutines specific to Unity that can be passed to a fiber or task. More...
Collaboration diagram for SpicyPixel.Threading.UnityCoroutine:
Static Public Member Functions | |
static IEnumerator | RepeatForSeconds (Action< float > action, float seconds) |
Convenience coroutine to repeat an action for the specified duration at the scheduler frequency. More... | |
Detailed Description
This static class exposes convenience coroutines specific to Unity that can be passed to a fiber or task.
Definition at line 38 of file UnityCoroutine.cs.
Member Function Documentation
|
static |
Convenience coroutine to repeat an action for the specified duration at the scheduler frequency.
- Returns
- A FiberInstruction
- Parameters
-
action The action to execute. seconds The seconds to execute for at the scheduler frequency.
Definition at line 52 of file UnityCoroutine.cs.
The documentation for this class was generated from the following file: