AsyncUnityEventHandler Class
Assembly: cs.temp.dll.dll
public class AsyncUnityEventHandler : IUniTaskSource, IAsyncClickEventHandler, IDisposable
Inheritance
System.Object →
AsyncUnityEventHandler
Implements
System.IDisposable
Members
Constructors
Methods
Explicit Interface Implementations
Constructors
AsyncUnityEventHandler(UnityEvent, CancellationToken, Boolean)
public AsyncUnityEventHandler(UnityEvent unityEvent, CancellationToken cancellationToken, bool callOnce)
Parameters
unityEvent
UnityEvent
cancellationToken
System.Threading.CancellationToken
callOnce
System.Boolean
Methods
OnInvokeAsync()
public UniTask OnInvokeAsync()
Explicit Interface Implementations
IAsyncClickEventHandler.OnClickAsync()
UniTask IAsyncClickEventHandler.OnClickAsync()
IUniTaskSource.GetResult(Int16)
void IUniTaskSource.GetResult(short token)
Parameters
token
System.Int16
IUniTaskSource.GetStatus(Int16)
UniTaskStatus IUniTaskSource.GetStatus(short token)
Parameters
token
System.Int16
IUniTaskSource.OnCompleted(Action<Object>, Object, Int16)
void IUniTaskSource.OnCompleted(Action<object> continuation, object state, short token)
Parameters
continuation
System.Action<System.Object>
state
System.Object
token
System.Int16
IUniTaskSource.UnsafeGetStatus()
UniTaskStatus IUniTaskSource.UnsafeGetStatus()
Implements
System.IDisposable