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

Datei anzeigen Open project: ufz-vislab/html-ui-unity

Private Properties

Property Type Description
EnsureHelperInstance void
OnDestroy void
RegisterThread void
Update void

Public Methods

Method 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

Method Description
EnsureHelperInstance ( ) : void
OnDestroy ( ) : void
RegisterThread ( UnityThreading thread ) : void
Update ( ) : void

Method Details

CreateThread() public static method

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.
return UnityThreading.ActionThread

CreateThread() public static method

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.
return UnityThreading.ActionThread

CreateThread() public static method

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.
return UnityThreading.ActionThread

CreateThread() public static method

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.
return UnityThreading.ActionThread

CreateThread() public static method

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.
return UnityThreading.ThreadBase

CreateThread() public static method

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.
return UnityThreading.ThreadBase

CreateThread() public static method

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.
return UnityThreading.ThreadBase

CreateThread() public static method

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.
return UnityThreading.ThreadBase

EnsureHelper() public static method

public static EnsureHelper ( ) : void
return void