Method | Description | |
---|---|---|
AddMainThreadCall ( System.Action call ) : void |
在子线程执行一个函数,让其回到主线程再执行的
|
|
Coroutine ( |
等待一个已经被其它MonoBehaviour开启的协程
|
|
Coroutine ( IEnumerator enumtor ) : |
开启并等待一个协程
|
|
Start ( ) : |
||
Start ( System.Action callback ) : |
||
Start ( AsyncThenDelegateEasy callback ) : |
||
Then ( System.Action callback ) : |
||
Then ( AsyncThenDelegate thenFunc ) : |
||
Then ( AsyncThenDelegateEasy thenFunc ) : |
||
Thread ( System.Action threadCalAction ) : |
||
Thread ( AsyncThreadDelegate threadCalAction ) : |
线程。注意大部分Unity函数不能使用! 借用协程配合~
|
|
Thread ( AsyncThreadDelegateFull threadCalAction, object param ) : |
||
Until ( Func |
||
WaitFinish ( ) : |
||
WaitForEndOfFrame ( ) : |
等到本帧结束
|
|
WaitForFrames ( int frameCount ) : |
等待一定帧数
|
|
WaitForSeconds ( float time ) : |
等待秒数
|
|
When ( Func |
等待条件成立
|
|
_Thread ( AsyncThreadDelegateFull threadCalAction, object param = null ) : IEnumerator |
Method | Description | |
---|---|---|
EmWaitFinish ( ) : IEnumerator | ||
KAsync ( ) : System | ||
Next ( ) : void | ||
WaitNext ( AsyncWaitNextDelegate callback ) : void | ||
_CoWaitForSeconds ( float time, System.Action next ) : IEnumerator | ||
_CoWhen ( Func |
||
_Coroutine ( |
||
_StartCoroutine ( IEnumerator enumtor, System.Action next ) : IEnumerator | ||
_WaitForEndOfFrame ( System.Action next ) : IEnumerator | ||
_WaitForFrames ( int frameCount, System.Action next ) : IEnumerator |
public static AddMainThreadCall ( System.Action call ) : void | ||
call | System.Action | |
return | void |
public Coroutine ( |
||
co | ||
return |
public Coroutine ( IEnumerator enumtor ) : |
||
enumtor | IEnumerator | |
return |
public static Start ( System.Action callback ) : |
||
callback | System.Action | |
return |
public static Start ( AsyncThenDelegateEasy callback ) : |
||
callback | AsyncThenDelegateEasy | |
return |
public Then ( System.Action callback ) : |
||
callback | System.Action | |
return |
public Then ( AsyncThenDelegate thenFunc ) : |
||
thenFunc | AsyncThenDelegate | |
return |
public Then ( AsyncThenDelegateEasy thenFunc ) : |
||
thenFunc | AsyncThenDelegateEasy | |
return |
public Thread ( System.Action threadCalAction ) : |
||
threadCalAction | System.Action | |
return |
public Thread ( AsyncThreadDelegate threadCalAction ) : |
||
threadCalAction | AsyncThreadDelegate | |
return |
public Thread ( AsyncThreadDelegateFull threadCalAction, object param ) : |
||
threadCalAction | AsyncThreadDelegateFull | |
param | object | |
return |
public Until ( Func |
||
retBool | Func |
|
timeout | float | |
return |
public WaitForFrames ( int frameCount ) : |
||
frameCount | int | |
return |
public WaitForSeconds ( float time ) : |
||
time | float | |
return |
public When ( Func |
||
retBool | Func |
|
timeout | float | |
return |
public _Thread ( AsyncThreadDelegateFull threadCalAction, object param = null ) : IEnumerator | ||
threadCalAction | AsyncThreadDelegateFull | |
param | object | |
return | IEnumerator |