Class UnityAPI
Syntax
[InitializeOnLoad]
public static class UnityAPI
Methods
Async(Action)
Declaration
public static void Async(Action action)
Parameters
Type |
Name |
Description |
Action |
action |
|
Await(Action)
Declaration
public static void Await(Action action)
Parameters
Type |
Name |
Description |
Action |
action |
|
Await<T>(Func<T>)
Declaration
public static T Await<T>(Func<T> func)
Parameters
Type |
Name |
Description |
Func<T> |
func |
|
Returns
Type Parameters
Await<T>(Func<T>, Nullable<TimeSpan>)
Declaration
public static T Await<T>(Func<T> func, TimeSpan? timeout)
Parameters
Returns
Type Parameters
AwaitForever(Action)
Declaration
public static void AwaitForever(Action action)
Parameters
Type |
Name |
Description |
Action |
action |
|
AwaitForever<T>(Func<T>)
Declaration
public static T AwaitForever<T>(Func<T> func)
Parameters
Type |
Name |
Description |
Func<T> |
func |
|
Returns
Type Parameters
ProcessDelegates()
Declaration
public static void ProcessDelegates()