C# 클래스 UnitySpeechToText.Utilities.ThreadedJob

Base class for a job that runs on its own thread. This is derived from a ThreadedJob script which can be found here: http://answers.unity3d.com/questions/357033/unity3d-and-c-coroutines-vs-threading.html
파일 보기 프로젝트 열기: Babilinski/RealTalk

공개 메소드들

메소드 설명
Start ( ) : void

Creates and starts the thread on which the conversion process runs.

WaitFor ( ) : IEnumerator

Waits for the conversion process to finish.

보호된 메소드들

메소드 설명
ThreadFunction ( ) : void

Specific thread function to run.

비공개 메소드들

메소드 설명
Run ( ) : void

Runs the job.

메소드 상세

Start() 공개 메소드

Creates and starts the thread on which the conversion process runs.
public Start ( ) : void
리턴 void

ThreadFunction() 보호된 추상적인 메소드

Specific thread function to run.
protected abstract ThreadFunction ( ) : void
리턴 void

WaitFor() 공개 메소드

Waits for the conversion process to finish.
public WaitFor ( ) : IEnumerator
리턴 IEnumerator