Beispiel #1
0
 /// <summary>Callback for processing animation movements for modifying root motion.</summary>
 void OnAnimatorMove()
 {
     onAnimatorMove?.TryInvokeContinuation();
 }
Beispiel #2
0
 void IUpdateSelectedHandler.OnUpdateSelected(BaseEventData eventData)
 {
     onUpdateSelected?.TryInvokeContinuation(eventData);
 }
Beispiel #3
0
 void IDropHandler.OnDrop(PointerEventData eventData)
 {
     onDrop?.TryInvokeContinuation(eventData);
 }
 /// <summary>Update is called every frame, if the MonoBehaviour is enabled.</summary>
 void Update()
 {
     promise.TryInvokeContinuation(AsyncUnit.Default);
 }
Beispiel #5
0
 void ISubmitHandler.OnSubmit(BaseEventData eventData)
 {
     onSubmit?.TryInvokeContinuation(eventData);
 }
Beispiel #6
0
 /// <summary>OnMouseDrag is called when the user has clicked on a GUIElement or Collider and is still holding down the mouse.</summary>
 void OnMouseDrag()
 {
     onMouseDrag?.TryInvokeContinuation();
 }
Beispiel #7
0
 /// <summary>OnMouseOver is called every frame while the mouse is over the GUIElement or Collider.</summary>
 void OnMouseOver()
 {
     onMouseOver?.TryInvokeContinuation();
 }
Beispiel #8
0
 /// <summary>OnParticleTrigger is called when any particles in a particle system meet the conditions in the trigger module.</summary>
 void OnParticleTrigger()
 {
     onParticleTrigger?.TryInvokeContinuation();
 }
 void IPointerExitHandler.OnPointerExit(PointerEventData eventData)
 {
     onPointerExit?.TryInvokeContinuation(eventData);
 }
Beispiel #10
0
 void IEndDragHandler.OnEndDrag(PointerEventData eventData)
 {
     onEndDrag?.TryInvokeContinuation(eventData);
 }
Beispiel #11
0
 /// <summary>OnParticleCollision is called when a particle hits a collider.</summary>
 void OnParticleCollision(GameObject other)
 {
     onParticleCollision?.TryInvokeContinuation(other);
 }
Beispiel #12
0
 /// <summary>Sent each frame where a collider on another object is touching this object's collider (2D physics only).</summary>
 void OnCollisionStay2D(Collision2D coll)
 {
     onCollisionStay2D?.TryInvokeContinuation(coll);
 }
 // This function is called when the list of children of the transform of the GameObject has changed
 void OnTransformChildrenChanged()
 {
     onTransformChildrenChanged?.TryInvokeContinuation();
 }
 // This function is called when the parent property of the transform of the GameObject has changed
 void OnTransformParentChanged()
 {
     onTransformParentChanged?.TryInvokeContinuation();
 }
Beispiel #15
0
 /// <summary>OnMouseUpAsButton is only called when the mouse is released over the same GUIElement or Collider as it was pressed.</summary>
 void OnMouseUpAsButton()
 {
     onMouseUpAsButton?.TryInvokeContinuation();
 }
Beispiel #16
0
 public override void OnStateMachineExit(Animator animator, int stateMachinePathHash)
 {
     onStateMachineExit?.TryInvokeContinuation(new OnStateMachineInfo(animator, stateMachinePathHash));
 }
Beispiel #17
0
 /// <summary>OnMouseDown is called when the user has pressed the mouse button while over the GUIElement or Collider.</summary>
 void OnMouseDown()
 {
     onMouseDown?.TryInvokeContinuation();
 }
Beispiel #18
0
 public override void OnStateUpdate(Animator animator, AnimatorStateInfo stateInfo, int layerIndex)
 {
     onStateUpdate?.TryInvokeContinuation(new OnStateInfo(animator, stateInfo, layerIndex));
 }
Beispiel #19
0
 /// <summary>OnMouseExit is called when the mouse is not any longer over the GUIElement or Collider.</summary>
 void OnMouseExit()
 {
     onMouseExit?.TryInvokeContinuation();
 }
Beispiel #20
0
 /// <summary>OnBecameVisible is called when the renderer became visible by any camera.</summary>
 void OnBecameVisible()
 {
     onBecameVisible?.TryInvokeContinuation();
 }
Beispiel #21
0
 /// <summary>OnMouseUp is called when the user has released the mouse button.</summary>
 void OnMouseUp()
 {
     onMouseUp?.TryInvokeContinuation();
 }
Beispiel #22
0
 /// <summary>Update is called every frame, if the MonoBehaviour is enabled.</summary>
 void Update()
 {
     promise?.TryInvokeContinuation();
 }
 void IInitializePotentialDragHandler.OnInitializePotentialDrag(PointerEventData eventData)
 {
     onInitializePotentialDrag?.TryInvokeContinuation(eventData);
 }
Beispiel #24
0
 void IPointerEnterHandler.OnPointerEnter(PointerEventData eventData)
 {
     onPointerEnter?.TryInvokeContinuation(eventData);
 }
Beispiel #25
0
 void IPointerDownHandler.OnPointerDown(PointerEventData eventData)
 {
     onPointerDown?.TryInvokeContinuation(eventData);
 }
 void IPointerClickHandler.OnPointerClick(PointerEventData eventData)
 {
     onPointerClick?.TryInvokeContinuation(eventData);
 }
Beispiel #27
0
 void ICancelHandler.OnCancel(BaseEventData eventData)
 {
     onCancel?.TryInvokeContinuation(eventData);
 }
Beispiel #28
0
 /// <summary>Sent each frame where another object is within a trigger collider attached to this object (2D physics only).</summary>
 void OnTriggerStay2D(Collider2D other)
 {
     onTriggerStay2D?.TryInvokeContinuation(other);
 }
Beispiel #29
0
 void IMoveHandler.OnMove(AxisEventData eventData)
 {
     onMove?.TryInvokeContinuation(eventData);
 }
Beispiel #30
0
 /// <summary>Callback for setting up animation IK (inverse kinematics).</summary>
 void OnAnimatorIK(int layerIndex)
 {
     onAnimatorIK?.TryInvokeContinuation(layerIndex);
 }