AsyncTriggerHandler<T> Class
Namespace: Cysharp.Threading.Tasks.Triggers
Assembly: cs.temp.dll.dll
public sealed class AsyncTriggerHandler<T> : IAsyncFixedUpdateHandler, IAsyncLateUpdateHandler, IAsyncOnAnimatorIKHandler, IAsyncOnAnimatorMoveHandler, IAsyncOnApplicationFocusHandler, IAsyncOnApplicationPauseHandler, IAsyncOnApplicationQuitHandler, IAsyncOnAudioFilterReadHandler, IAsyncOnBecameInvisibleHandler, IAsyncOnBecameVisibleHandler, IAsyncOnBeforeTransformParentChangedHandler, IAsyncOnCanvasGroupChangedHandler, IAsyncOnCollisionEnterHandler, IAsyncOnCollisionEnter2DHandler, IAsyncOnCollisionExitHandler, IAsyncOnCollisionExit2DHandler, IAsyncOnCollisionStayHandler, IAsyncOnCollisionStay2DHandler, IAsyncOnControllerColliderHitHandler, IAsyncOnDisableHandler, IAsyncOnDrawGizmosHandler, IAsyncOnDrawGizmosSelectedHandler, IAsyncOnEnableHandler, IAsyncOnGUIHandler, IAsyncOnJointBreakHandler, IAsyncOnJointBreak2DHandler, IAsyncOnMouseDownHandler, IAsyncOnMouseDragHandler, IAsyncOnMouseEnterHandler, IAsyncOnMouseExitHandler, IAsyncOnMouseOverHandler, IAsyncOnMouseUpHandler, IAsyncOnMouseUpAsButtonHandler, IAsyncOnParticleCollisionHandler, IAsyncOnParticleSystemStoppedHandler, IAsyncOnParticleTriggerHandler, IAsyncOnPostRenderHandler, IAsyncOnPreCullHandler, IAsyncOnPreRenderHandler, IAsyncOnRectTransformDimensionsChangeHandler, IAsyncOnRectTransformRemovedHandler, IAsyncOnRenderImageHandler, IAsyncOnRenderObjectHandler, IAsyncOnServerInitializedHandler, IAsyncOnTransformChildrenChangedHandler, IAsyncOnTransformParentChangedHandler, IAsyncOnTriggerEnterHandler, IAsyncOnTriggerEnter2DHandler, IAsyncOnTriggerExitHandler, IAsyncOnTriggerExit2DHandler, IAsyncOnTriggerStayHandler, IAsyncOnTriggerStay2DHandler, IAsyncOnValidateHandler, IAsyncOnWillRenderObjectHandler, IAsyncResetHandler, IAsyncUpdateHandler, IAsyncOnBeginDragHandler, IAsyncOnCancelHandler, IAsyncOnDeselectHandler, IAsyncOnDragHandler, IAsyncOnDropHandler, IAsyncOnEndDragHandler, IAsyncOnInitializePotentialDragHandler, IAsyncOnMoveHandler, IAsyncOnPointerClickHandler, IAsyncOnPointerDownHandler, IAsyncOnPointerEnterHandler, IAsyncOnPointerExitHandler, IAsyncOnPointerUpHandler, IAsyncOnScrollHandler, IAsyncOnSelectHandler, IAsyncOnSubmitHandler, IAsyncOnUpdateSelectedHandler, IAsyncOneShotTrigger, IUniTaskSource<T>, IUniTaskSource, IValueTaskSource, IValueTaskSource<T>, ITriggerHandler<T>
Inheritance
System.Object → AsyncTriggerHandler<T>Implements
System.Threading.Tasks.Sources.IValueTaskSource
System.Threading.Tasks.Sources.IValueTaskSource<T>
IDisposable
Type Parameters
T
Members
Methods
Name | Description |
---|---|
Dispose() |
Explicit Interface Implementations
Methods
Dispose()
public void Dispose()
Explicit Interface Implementations
ITriggerHandler<T>.Next
ITriggerHandler<T> ITriggerHandler<T>.Next { get; set; }
Returns
ITriggerHandler<T>.OnCanceled(CancellationToken)
void ITriggerHandler<T>.OnCanceled(CancellationToken cancellationToken)
Parameters
cancellationToken
System.Threading.CancellationToken
ITriggerHandler<T>.OnCompleted()
void ITriggerHandler<T>.OnCompleted()
ITriggerHandler<T>.OnError(Exception)
void ITriggerHandler<T>.OnError(Exception ex)
Parameters
ex
Exception
ITriggerHandler<T>.OnNext(T)
void ITriggerHandler<T>.OnNext(T value)
Parameters
value
T
ITriggerHandler<T>.Prev
ITriggerHandler<T> ITriggerHandler<T>.Prev { get; set; }
Returns
IUniTaskSource.GetResult(Int16)
void IUniTaskSource.GetResult(short token)
Parameters
token
System.Int16
IUniTaskSource.GetStatus(Int16)
UniTaskStatus IUniTaskSource.GetStatus(short token)
Parameters
token
System.Int16
Returns
IUniTaskSource.OnCompleted(Action<Object>, Object, Int16)
void IUniTaskSource.OnCompleted(Action<object> continuation, object state, short token)
Parameters
continuation
Action<System.Object>state
System.Objecttoken
System.Int16
IUniTaskSource.UnsafeGetStatus()
UniTaskStatus IUniTaskSource.UnsafeGetStatus()
Returns
IUniTaskSource<T>.GetResult(Int16)
T IUniTaskSource<T>.GetResult(short token)
Parameters
token
System.Int16
Returns
- T
IAsyncFixedUpdateHandler.FixedUpdateAsync()
UniTask IAsyncFixedUpdateHandler.FixedUpdateAsync()
Returns
IAsyncLateUpdateHandler.LateUpdateAsync()
UniTask IAsyncLateUpdateHandler.LateUpdateAsync()
Returns
IAsyncOnAnimatorIKHandler.OnAnimatorIKAsync()
UniTask<int> IAsyncOnAnimatorIKHandler.OnAnimatorIKAsync()
Returns
- UniTask<System.Int32>
IAsyncOnAnimatorMoveHandler.OnAnimatorMoveAsync()
UniTask IAsyncOnAnimatorMoveHandler.OnAnimatorMoveAsync()
Returns
IAsyncOnApplicationFocusHandler.OnApplicationFocusAsync()
UniTask<bool> IAsyncOnApplicationFocusHandler.OnApplicationFocusAsync()
Returns
- UniTask<System.Boolean>
IAsyncOnApplicationPauseHandler.OnApplicationPauseAsync()
UniTask<bool> IAsyncOnApplicationPauseHandler.OnApplicationPauseAsync()
Returns
- UniTask<System.Boolean>
IAsyncOnApplicationQuitHandler.OnApplicationQuitAsync()
UniTask IAsyncOnApplicationQuitHandler.OnApplicationQuitAsync()
Returns
IAsyncOnAudioFilterReadHandler.OnAudioFilterReadAsync()
UniTask<(float[] data, int channels)> IAsyncOnAudioFilterReadHandler.OnAudioFilterReadAsync()
Returns
- UniTask<System.ValueTuple<System.Single[], System.Int32>>
IAsyncOnBecameInvisibleHandler.OnBecameInvisibleAsync()
UniTask IAsyncOnBecameInvisibleHandler.OnBecameInvisibleAsync()
Returns
IAsyncOnBecameVisibleHandler.OnBecameVisibleAsync()
UniTask IAsyncOnBecameVisibleHandler.OnBecameVisibleAsync()
Returns
IAsyncOnBeforeTransformParentChangedHandler.OnBeforeTransformParentChangedAsync()
UniTask IAsyncOnBeforeTransformParentChangedHandler.OnBeforeTransformParentChangedAsync()
Returns
IAsyncOnBeginDragHandler.OnBeginDragAsync()
UniTask<PointerEventData> IAsyncOnBeginDragHandler.OnBeginDragAsync()
Returns
- UniTask<PointerEventData>
IAsyncOnCancelHandler.OnCancelAsync()
UniTask<BaseEventData> IAsyncOnCancelHandler.OnCancelAsync()
Returns
- UniTask<BaseEventData>
IAsyncOnCanvasGroupChangedHandler.OnCanvasGroupChangedAsync()
UniTask IAsyncOnCanvasGroupChangedHandler.OnCanvasGroupChangedAsync()
Returns
IAsyncOnCollisionEnter2DHandler.OnCollisionEnter2DAsync()
UniTask<Collision2D> IAsyncOnCollisionEnter2DHandler.OnCollisionEnter2DAsync()
Returns
- UniTask<Collision2D>
IAsyncOnCollisionEnterHandler.OnCollisionEnterAsync()
UniTask<Collision> IAsyncOnCollisionEnterHandler.OnCollisionEnterAsync()
Returns
- UniTask<Collision>
IAsyncOnCollisionExit2DHandler.OnCollisionExit2DAsync()
UniTask<Collision2D> IAsyncOnCollisionExit2DHandler.OnCollisionExit2DAsync()
Returns
- UniTask<Collision2D>
IAsyncOnCollisionExitHandler.OnCollisionExitAsync()
UniTask<Collision> IAsyncOnCollisionExitHandler.OnCollisionExitAsync()
Returns
- UniTask<Collision>
IAsyncOnCollisionStay2DHandler.OnCollisionStay2DAsync()
UniTask<Collision2D> IAsyncOnCollisionStay2DHandler.OnCollisionStay2DAsync()
Returns
- UniTask<Collision2D>
IAsyncOnCollisionStayHandler.OnCollisionStayAsync()
UniTask<Collision> IAsyncOnCollisionStayHandler.OnCollisionStayAsync()
Returns
- UniTask<Collision>
IAsyncOnControllerColliderHitHandler.OnControllerColliderHitAsync()
UniTask<ControllerColliderHit> IAsyncOnControllerColliderHitHandler.OnControllerColliderHitAsync()
Returns
- UniTask<ControllerColliderHit>
IAsyncOnDeselectHandler.OnDeselectAsync()
UniTask<BaseEventData> IAsyncOnDeselectHandler.OnDeselectAsync()
Returns
- UniTask<BaseEventData>
IAsyncOnDisableHandler.OnDisableAsync()
UniTask IAsyncOnDisableHandler.OnDisableAsync()
Returns
IAsyncOnDragHandler.OnDragAsync()
UniTask<PointerEventData> IAsyncOnDragHandler.OnDragAsync()
Returns
- UniTask<PointerEventData>
IAsyncOnDrawGizmosHandler.OnDrawGizmosAsync()
UniTask IAsyncOnDrawGizmosHandler.OnDrawGizmosAsync()
Returns
IAsyncOnDrawGizmosSelectedHandler.OnDrawGizmosSelectedAsync()
UniTask IAsyncOnDrawGizmosSelectedHandler.OnDrawGizmosSelectedAsync()
Returns
IAsyncOnDropHandler.OnDropAsync()
UniTask<PointerEventData> IAsyncOnDropHandler.OnDropAsync()
Returns
- UniTask<PointerEventData>
IAsyncOnEnableHandler.OnEnableAsync()
UniTask IAsyncOnEnableHandler.OnEnableAsync()
Returns
IAsyncOnEndDragHandler.OnEndDragAsync()
UniTask<PointerEventData> IAsyncOnEndDragHandler.OnEndDragAsync()
Returns
- UniTask<PointerEventData>
IAsyncOneShotTrigger.OneShotAsync()
UniTask IAsyncOneShotTrigger.OneShotAsync()
Returns
IAsyncOnGUIHandler.OnGUIAsync()
UniTask IAsyncOnGUIHandler.OnGUIAsync()
Returns
IAsyncOnInitializePotentialDragHandler.OnInitializePotentialDragAsync()
UniTask<PointerEventData> IAsyncOnInitializePotentialDragHandler.OnInitializePotentialDragAsync()
Returns
- UniTask<PointerEventData>
IAsyncOnJointBreak2DHandler.OnJointBreak2DAsync()
UniTask<Joint2D> IAsyncOnJointBreak2DHandler.OnJointBreak2DAsync()
Returns
- UniTask<Joint2D>
IAsyncOnJointBreakHandler.OnJointBreakAsync()
UniTask<float> IAsyncOnJointBreakHandler.OnJointBreakAsync()
Returns
- UniTask<System.Single>
IAsyncOnMouseDownHandler.OnMouseDownAsync()
UniTask IAsyncOnMouseDownHandler.OnMouseDownAsync()
Returns
IAsyncOnMouseDragHandler.OnMouseDragAsync()
UniTask IAsyncOnMouseDragHandler.OnMouseDragAsync()
Returns
IAsyncOnMouseEnterHandler.OnMouseEnterAsync()
UniTask IAsyncOnMouseEnterHandler.OnMouseEnterAsync()
Returns
IAsyncOnMouseExitHandler.OnMouseExitAsync()
UniTask IAsyncOnMouseExitHandler.OnMouseExitAsync()
Returns
IAsyncOnMouseOverHandler.OnMouseOverAsync()
UniTask IAsyncOnMouseOverHandler.OnMouseOverAsync()
Returns
IAsyncOnMouseUpAsButtonHandler.OnMouseUpAsButtonAsync()
UniTask IAsyncOnMouseUpAsButtonHandler.OnMouseUpAsButtonAsync()
Returns
IAsyncOnMouseUpHandler.OnMouseUpAsync()
UniTask IAsyncOnMouseUpHandler.OnMouseUpAsync()
Returns
IAsyncOnMoveHandler.OnMoveAsync()
UniTask<AxisEventData> IAsyncOnMoveHandler.OnMoveAsync()
Returns
- UniTask<AxisEventData>
IAsyncOnParticleCollisionHandler.OnParticleCollisionAsync()
UniTask<GameObject> IAsyncOnParticleCollisionHandler.OnParticleCollisionAsync()
Returns
- UniTask<GameObject>
IAsyncOnParticleSystemStoppedHandler.OnParticleSystemStoppedAsync()
UniTask IAsyncOnParticleSystemStoppedHandler.OnParticleSystemStoppedAsync()
Returns
IAsyncOnParticleTriggerHandler.OnParticleTriggerAsync()
UniTask IAsyncOnParticleTriggerHandler.OnParticleTriggerAsync()
Returns
IAsyncOnPointerClickHandler.OnPointerClickAsync()
UniTask<PointerEventData> IAsyncOnPointerClickHandler.OnPointerClickAsync()
Returns
- UniTask<PointerEventData>
IAsyncOnPointerDownHandler.OnPointerDownAsync()
UniTask<PointerEventData> IAsyncOnPointerDownHandler.OnPointerDownAsync()
Returns
- UniTask<PointerEventData>
IAsyncOnPointerEnterHandler.OnPointerEnterAsync()
UniTask<PointerEventData> IAsyncOnPointerEnterHandler.OnPointerEnterAsync()
Returns
- UniTask<PointerEventData>
IAsyncOnPointerExitHandler.OnPointerExitAsync()
UniTask<PointerEventData> IAsyncOnPointerExitHandler.OnPointerExitAsync()
Returns
- UniTask<PointerEventData>
IAsyncOnPointerUpHandler.OnPointerUpAsync()
UniTask<PointerEventData> IAsyncOnPointerUpHandler.OnPointerUpAsync()
Returns
- UniTask<PointerEventData>
IAsyncOnPostRenderHandler.OnPostRenderAsync()
UniTask IAsyncOnPostRenderHandler.OnPostRenderAsync()
Returns
IAsyncOnPreCullHandler.OnPreCullAsync()
UniTask IAsyncOnPreCullHandler.OnPreCullAsync()
Returns
IAsyncOnPreRenderHandler.OnPreRenderAsync()
UniTask IAsyncOnPreRenderHandler.OnPreRenderAsync()
Returns
IAsyncOnRectTransformDimensionsChangeHandler.OnRectTransformDimensionsChangeAsync()
UniTask IAsyncOnRectTransformDimensionsChangeHandler.OnRectTransformDimensionsChangeAsync()
Returns
IAsyncOnRectTransformRemovedHandler.OnRectTransformRemovedAsync()
UniTask IAsyncOnRectTransformRemovedHandler.OnRectTransformRemovedAsync()
Returns
IAsyncOnRenderImageHandler.OnRenderImageAsync()
UniTask<(RenderTexture source, RenderTexture destination)> IAsyncOnRenderImageHandler.OnRenderImageAsync()
Returns
- UniTask<System.ValueTuple<RenderTexture, RenderTexture>>
IAsyncOnRenderObjectHandler.OnRenderObjectAsync()
UniTask IAsyncOnRenderObjectHandler.OnRenderObjectAsync()
Returns
IAsyncOnScrollHandler.OnScrollAsync()
UniTask<PointerEventData> IAsyncOnScrollHandler.OnScrollAsync()
Returns
- UniTask<PointerEventData>
IAsyncOnSelectHandler.OnSelectAsync()
UniTask<BaseEventData> IAsyncOnSelectHandler.OnSelectAsync()
Returns
- UniTask<BaseEventData>
IAsyncOnServerInitializedHandler.OnServerInitializedAsync()
UniTask IAsyncOnServerInitializedHandler.OnServerInitializedAsync()
Returns
IAsyncOnSubmitHandler.OnSubmitAsync()
UniTask<BaseEventData> IAsyncOnSubmitHandler.OnSubmitAsync()
Returns
- UniTask<BaseEventData>
IAsyncOnTransformChildrenChangedHandler.OnTransformChildrenChangedAsync()
UniTask IAsyncOnTransformChildrenChangedHandler.OnTransformChildrenChangedAsync()
Returns
IAsyncOnTransformParentChangedHandler.OnTransformParentChangedAsync()
UniTask IAsyncOnTransformParentChangedHandler.OnTransformParentChangedAsync()
Returns
IAsyncOnTriggerEnter2DHandler.OnTriggerEnter2DAsync()
UniTask<Collider2D> IAsyncOnTriggerEnter2DHandler.OnTriggerEnter2DAsync()
Returns
- UniTask<Collider2D>
IAsyncOnTriggerEnterHandler.OnTriggerEnterAsync()
UniTask<Collider> IAsyncOnTriggerEnterHandler.OnTriggerEnterAsync()
Returns
- UniTask<Collider>
IAsyncOnTriggerExit2DHandler.OnTriggerExit2DAsync()
UniTask<Collider2D> IAsyncOnTriggerExit2DHandler.OnTriggerExit2DAsync()
Returns
- UniTask<Collider2D>
IAsyncOnTriggerExitHandler.OnTriggerExitAsync()
UniTask<Collider> IAsyncOnTriggerExitHandler.OnTriggerExitAsync()
Returns
- UniTask<Collider>
IAsyncOnTriggerStay2DHandler.OnTriggerStay2DAsync()
UniTask<Collider2D> IAsyncOnTriggerStay2DHandler.OnTriggerStay2DAsync()
Returns
- UniTask<Collider2D>
IAsyncOnTriggerStayHandler.OnTriggerStayAsync()
UniTask<Collider> IAsyncOnTriggerStayHandler.OnTriggerStayAsync()
Returns
- UniTask<Collider>
IAsyncOnUpdateSelectedHandler.OnUpdateSelectedAsync()
UniTask<BaseEventData> IAsyncOnUpdateSelectedHandler.OnUpdateSelectedAsync()
Returns
- UniTask<BaseEventData>
IAsyncOnValidateHandler.OnValidateAsync()
UniTask IAsyncOnValidateHandler.OnValidateAsync()
Returns
IAsyncOnWillRenderObjectHandler.OnWillRenderObjectAsync()
UniTask IAsyncOnWillRenderObjectHandler.OnWillRenderObjectAsync()
Returns
IAsyncResetHandler.ResetAsync()
UniTask IAsyncResetHandler.ResetAsync()
Returns
IAsyncUpdateHandler.UpdateAsync()
UniTask IAsyncUpdateHandler.UpdateAsync()
Returns
Implements
System.Threading.Tasks.Sources.IValueTaskSource
System.Threading.Tasks.Sources.IValueTaskSource<TResult>
IDisposable