C# Класс SpicyPixel.Threading.UnityCoroutine

This static class exposes convenience coroutines specific to Unity that can be passed to a fiber or task.
Показать файл Открыть проект

Открытые методы

Метод Описание
RepeatForSeconds ( Action action, float seconds ) : IEnumerator

Convenience coroutine to repeat an action for the specified duration at the scheduler frequency.

Описание методов

RepeatForSeconds() публичный статический Метод

Convenience coroutine to repeat an action for the specified duration at the scheduler frequency.
public static RepeatForSeconds ( Action action, float seconds ) : IEnumerator
action Action /// The action to execute. ///
seconds float /// The seconds to execute for at the scheduler frequency. ///
Результат IEnumerator