C# Класс UnityThreadHelper.UnityThreadHelper, html-ui-unity

Показать файл Открыть проект

Private Properties

Свойство Тип Описание
EnsureHelperInstance void
OnDestroy void
RegisterThread void
Update void

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

Метод Описание
CreateThread ( System action ) : UnityThreading.ActionThread

Creates new thread which runs the given action and starts it after creation. The given action will be wrapped so that any exception will be catched and logged.

CreateThread ( System action, bool autoStartThread ) : UnityThreading.ActionThread

Creates new thread which runs the given action. The given action will be wrapped so that any exception will be catched and logged.

CreateThread ( System action ) : UnityThreading.ActionThread

Creates new thread which runs the given action and starts it after creation. The given action will be wrapped so that any exception will be catched and logged.

CreateThread ( System action, bool autoStartThread ) : UnityThreading.ActionThread

Creates new thread which runs the given action. The given action will be wrapped so that any exception will be catched and logged.

CreateThread ( System action ) : UnityThreading.ThreadBase

Creates new thread which runs the given action and starts it after creation. The given action will be wrapped so that any exception will be catched and logged.

CreateThread ( System action, bool autoStartThread ) : UnityThreading.ThreadBase

Creates new thread which runs the given action. The given action will be wrapped so that any exception will be catched and logged.

CreateThread ( IEnumerator>.System action ) : UnityThreading.ThreadBase

Creates new thread which runs the given action and starts it after creation. The given action will be wrapped so that any exception will be catched and logged.

CreateThread ( IEnumerator>.System action, bool autoStartThread ) : UnityThreading.ThreadBase

Creates new thread which runs the given action. The given action will be wrapped so that any exception will be catched and logged.

EnsureHelper ( ) : void

Приватные методы

Метод Описание
EnsureHelperInstance ( ) : void
OnDestroy ( ) : void
RegisterThread ( UnityThreading thread ) : void
Update ( ) : void

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

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

Creates new thread which runs the given action and starts it after creation. The given action will be wrapped so that any exception will be catched and logged.
public static CreateThread ( System action ) : UnityThreading.ActionThread
action System The action which the new thread should run.
Результат UnityThreading.ActionThread

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

Creates new thread which runs the given action. The given action will be wrapped so that any exception will be catched and logged.
public static CreateThread ( System action, bool autoStartThread ) : UnityThreading.ActionThread
action System The action which the new thread should run.
autoStartThread bool True when the thread should start immediately after creation.
Результат UnityThreading.ActionThread

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

Creates new thread which runs the given action and starts it after creation. The given action will be wrapped so that any exception will be catched and logged.
public static CreateThread ( System action ) : UnityThreading.ActionThread
action System The action which the new thread should run.
Результат UnityThreading.ActionThread

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

Creates new thread which runs the given action. The given action will be wrapped so that any exception will be catched and logged.
public static CreateThread ( System action, bool autoStartThread ) : UnityThreading.ActionThread
action System The action which the new thread should run.
autoStartThread bool True when the thread should start immediately after creation.
Результат UnityThreading.ActionThread

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

Creates new thread which runs the given action and starts it after creation. The given action will be wrapped so that any exception will be catched and logged.
public static CreateThread ( System action ) : UnityThreading.ThreadBase
action System The action which the new thread should run.
Результат UnityThreading.ThreadBase

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

Creates new thread which runs the given action. The given action will be wrapped so that any exception will be catched and logged.
public static CreateThread ( System action, bool autoStartThread ) : UnityThreading.ThreadBase
action System The enumeratable action which the new thread should run.
autoStartThread bool True when the thread should start immediately after creation.
Результат UnityThreading.ThreadBase

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

Creates new thread which runs the given action and starts it after creation. The given action will be wrapped so that any exception will be catched and logged.
public static CreateThread ( IEnumerator>.System action ) : UnityThreading.ThreadBase
action IEnumerator>.System The enumeratable action which the new thread should run.
Результат UnityThreading.ThreadBase

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

Creates new thread which runs the given action. The given action will be wrapped so that any exception will be catched and logged.
public static CreateThread ( IEnumerator>.System action, bool autoStartThread ) : UnityThreading.ThreadBase
action IEnumerator>.System The enumeratable action which the new thread should run.
autoStartThread bool True when the thread should start immediately after creation.
Результат UnityThreading.ThreadBase

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

public static EnsureHelper ( ) : void
Результат void