C# Class UnityThreadHelper.UnityThreadHelper, html-ui-unity

Afficher le fichier Open project: ufz-vislab/html-ui-unity

Private Properties

Свойство Type Description
EnsureHelperInstance void
OnDestroy void
RegisterThread void
Update void

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
EnsureHelperInstance ( ) : void
OnDestroy ( ) : void
RegisterThread ( UnityThreading thread ) : void
Update ( ) : void

Method Details

CreateThread() public static méthode

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.
Résultat UnityThreading.ActionThread

CreateThread() public static méthode

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.
Résultat UnityThreading.ActionThread

CreateThread() public static méthode

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.
Résultat UnityThreading.ActionThread

CreateThread() public static méthode

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.
Résultat UnityThreading.ActionThread

CreateThread() public static méthode

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.
Résultat UnityThreading.ThreadBase

CreateThread() public static méthode

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.
Résultat UnityThreading.ThreadBase

CreateThread() public static méthode

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.
Résultat UnityThreading.ThreadBase

CreateThread() public static méthode

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.
Résultat UnityThreading.ThreadBase

EnsureHelper() public static méthode

public static EnsureHelper ( ) : void
Résultat void