C# 클래스 SpicyPixel.Threading.UnityCoroutine

This static class exposes convenience coroutines specific to Unity that can be passed to a fiber or task.
파일 보기 프로젝트 열기: spicypixel/concurrency-kit-cs

공개 메소드들

메소드 설명
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