Blocks the calling thread until the task has been ended or the given timeout value has been reached.
Namespace: UnityThreadingAssembly: UnityThreading (in UnityThreading.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public void WaitForSeconds( float seconds ) |
Visual Basic |
---|
Public Sub WaitForSeconds ( _ seconds As Single _ ) |
Visual C++ |
---|
public: void WaitForSeconds( float seconds ) |
Parameters
- seconds
- Type: System..::..Single
Time in seconds this method will max wait.