Notifies the task to abort and sets the task state to failed. The task needs to check ShouldAbort if the task should abort.
This method will wait until the task has been aborted/ended or the given timeout has been reached.
Namespace: UnityThreadingAssembly: UnityThreading (in UnityThreading.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public void AbortWaitForSeconds(
float seconds
) |
Visual Basic |
---|
Public Sub AbortWaitForSeconds ( _
seconds As Single _
) |
Visual C++ |
---|
public:
void AbortWaitForSeconds(
float seconds
) |
See Also