This repository has been archived by the owner on Feb 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 890
UniRx.Triggers
Yoshifumi Kawai edited this page Jul 22, 2018
·
5 revisions
public class UniRx.Triggers.ObservableAnimatorTrigger
: ObservableTriggerBase
Methods
Type | Name | Summary |
---|---|---|
IObservable<Int32> |
OnAnimatorIKAsObservable() | Callback for setting up animation IK (inverse kinematics). |
IObservable<Unit> |
OnAnimatorMoveAsObservable() | Callback for processing animation movements for modifying root motion. |
void |
RaiseOnCompletedOnDestroy() |
public class UniRx.Triggers.ObservableBeginDragTrigger
: ObservableTriggerBase, IEventSystemHandler, IBeginDragHandler
Methods
Type | Name | Summary |
---|---|---|
IObservable<PointerEventData> |
OnBeginDragAsObservable() | |
void |
RaiseOnCompletedOnDestroy() |
public class UniRx.Triggers.ObservableCancelTrigger
: ObservableTriggerBase, IEventSystemHandler, ICancelHandler
Methods
Type | Name | Summary |
---|---|---|
IObservable<BaseEventData> |
OnCancelAsObservable() | |
void |
RaiseOnCompletedOnDestroy() |
public class UniRx.Triggers.ObservableCanvasGroupChangedTrigger
: ObservableTriggerBase
Methods
Type | Name | Summary |
---|---|---|
IObservable<Unit> |
OnCanvasGroupChangedAsObservable() | Callback that is sent if the canvas group is changed. |
void |
RaiseOnCompletedOnDestroy() |
public class UniRx.Triggers.ObservableCollision2DTrigger
: ObservableTriggerBase
Methods
Type | Name | Summary |
---|---|---|
IObservable<Collision2D> |
OnCollisionEnter2DAsObservable() | Sent when an incoming collider makes contact with this object's collider (2D physics only). |
IObservable<Collision2D> |
OnCollisionExit2DAsObservable() | Sent when a collider on another object stops touching this object's collider (2D physics only). |
IObservable<Collision2D> |
OnCollisionStay2DAsObservable() | Sent each frame where a collider on another object is touching this object's collider (2D physics only). |
void |
RaiseOnCompletedOnDestroy() |
public class UniRx.Triggers.ObservableCollisionTrigger
: ObservableTriggerBase
Methods
Type | Name | Summary |
---|---|---|
IObservable<Collision> |
OnCollisionEnterAsObservable() | OnCollisionEnter is called when this collider/rigidbody has begun touching another rigidbody/collider. |
IObservable<Collision> |
OnCollisionExitAsObservable() | OnCollisionExit is called when this collider/rigidbody has stopped touching another rigidbody/collider. |
IObservable<Collision> |
OnCollisionStayAsObservable() | OnCollisionStay is called once per frame for every collider/rigidbody that is touching rigidbody/collider. |
void |
RaiseOnCompletedOnDestroy() |
public class UniRx.Triggers.ObservableDeselectTrigger
: ObservableTriggerBase, IEventSystemHandler, IDeselectHandler
Methods
Type | Name | Summary |
---|---|---|
IObservable<BaseEventData> |
OnDeselectAsObservable() | |
void |
RaiseOnCompletedOnDestroy() |
public class UniRx.Triggers.ObservableDestroyTrigger
: MonoBehaviour
Properties
Type | Name | Summary |
---|---|---|
Boolean |
IsActivated | |
Boolean |
IsCalledOnDestroy | Check called OnDestroy. This property does not guarantees GameObject was destroyed, when gameObject is deactive, does not raise OnDestroy. |
Methods
Type | Name | Summary |
---|---|---|
void |
AddDisposableOnDestroy(IDisposable disposable) |
|
void |
ForceRaiseOnDestroy() | Invoke OnDestroy, this method is used on internal. |
IObservable<Unit> |
OnDestroyAsObservable() | This function is called when the MonoBehaviour will be destroyed. |
public class UniRx.Triggers.ObservableDragTrigger
: ObservableTriggerBase, IEventSystemHandler, IDragHandler
Methods
Type | Name | Summary |
---|---|---|
IObservable<PointerEventData> |
OnDragAsObservable() | |
void |
RaiseOnCompletedOnDestroy() |
public class UniRx.Triggers.ObservableDropTrigger
: ObservableTriggerBase, IEventSystemHandler, IDropHandler
Methods
Type | Name | Summary |
---|---|---|
IObservable<PointerEventData> |
OnDropAsObservable() | |
void |
RaiseOnCompletedOnDestroy() |
public class UniRx.Triggers.ObservableEnableTrigger
: ObservableTriggerBase
Methods
Type | Name | Summary |
---|---|---|
IObservable<Unit> |
OnDisableAsObservable() | This function is called when the behaviour becomes disabled () or inactive. |
IObservable<Unit> |
OnEnableAsObservable() | This function is called when the object becomes enabled and active. |
void |
RaiseOnCompletedOnDestroy() |
public class UniRx.Triggers.ObservableEndDragTrigger
: ObservableTriggerBase, IEventSystemHandler, IEndDragHandler
Methods
Type | Name | Summary |
---|---|---|
IObservable<PointerEventData> |
OnEndDragAsObservable() | |
void |
RaiseOnCompletedOnDestroy() |
public class UniRx.Triggers.ObservableEventTrigger
: ObservableTriggerBase, IEventSystemHandler, IPointerEnterHandler, IPointerExitHandler, IPointerDownHandler, IPointerUpHandler, IPointerClickHandler, IBeginDragHandler, IInitializePotentialDragHandler, IDragHandler, IEndDragHandler, IDropHandler, IScrollHandler, IUpdateSelectedHandler, ISelectHandler, IDeselectHandler, IMoveHandler, ISubmitHandler, ICancelHandler
Methods
Type | Name | Summary |
---|---|---|
IObservable<PointerEventData> |
OnBeginDragAsObservable() | |
IObservable<BaseEventData> |
OnCancelAsObservable() | |
IObservable<BaseEventData> |
OnDeselectAsObservable() | |
IObservable<PointerEventData> |
OnDragAsObservable() | |
IObservable<PointerEventData> |
OnDropAsObservable() | |
IObservable<PointerEventData> |
OnEndDragAsObservable() | |
IObservable<PointerEventData> |
OnInitializePotentialDragAsObservable() | |
IObservable<AxisEventData> |
OnMoveAsObservable() | |
IObservable<PointerEventData> |
OnPointerClickAsObservable() | |
IObservable<PointerEventData> |
OnPointerDownAsObservable() | |
IObservable<PointerEventData> |
OnPointerEnterAsObservable() | |
IObservable<PointerEventData> |
OnPointerExitAsObservable() | |
IObservable<PointerEventData> |
OnPointerUpAsObservable() | |
IObservable<PointerEventData> |
OnScrollAsObservable() | |
IObservable<BaseEventData> |
OnSelectAsObservable() | |
IObservable<BaseEventData> |
OnSubmitAsObservable() | |
IObservable<BaseEventData> |
OnUpdateSelectedAsObservable() | |
void |
RaiseOnCompletedOnDestroy() |
public class UniRx.Triggers.ObservableFixedUpdateTrigger
: ObservableTriggerBase
Methods
Type | Name | Summary |
---|---|---|
IObservable<Unit> |
FixedUpdateAsObservable() | This function is called every fixed framerate frame, if the MonoBehaviour is enabled. |
void |
RaiseOnCompletedOnDestroy() |
public class UniRx.Triggers.ObservableInitializePotentialDragTrigger
: ObservableTriggerBase, IEventSystemHandler, IInitializePotentialDragHandler
Methods
Type | Name | Summary |
---|---|---|
IObservable<PointerEventData> |
OnInitializePotentialDragAsObservable() | |
void |
RaiseOnCompletedOnDestroy() |
public class UniRx.Triggers.ObservableJointTrigger
: ObservableTriggerBase
Methods
Type | Name | Summary |
---|---|---|
IObservable<Joint2D> |
OnJointBreak2DAsObservable() | |
IObservable<Single> |
OnJointBreakAsObservable() | |
void |
RaiseOnCompletedOnDestroy() |
public class UniRx.Triggers.ObservableLateUpdateTrigger
: ObservableTriggerBase
Methods
Type | Name | Summary |
---|---|---|
IObservable<Unit> |
LateUpdateAsObservable() | LateUpdate is called every frame, if the Behaviour is enabled. |
void |
RaiseOnCompletedOnDestroy() |
public class UniRx.Triggers.ObservableMouseTrigger
: ObservableTriggerBase
Methods
Type | Name | Summary |
---|---|---|
IObservable<Unit> |
OnMouseDownAsObservable() | OnMouseDown is called when the user has pressed the mouse button while over the GUIElement or Collider. |
IObservable<Unit> |
OnMouseDragAsObservable() | OnMouseDrag is called when the user has clicked on a GUIElement or Collider and is still holding down the mouse. |
IObservable<Unit> |
OnMouseEnterAsObservable() | OnMouseEnter is called when the mouse entered the GUIElement or Collider. |
IObservable<Unit> |
OnMouseExitAsObservable() | OnMouseExit is called when the mouse is not any longer over the GUIElement or Collider. |
IObservable<Unit> |
OnMouseOverAsObservable() | OnMouseOver is called every frame while the mouse is over the GUIElement or Collider. |
IObservable<Unit> |
OnMouseUpAsButtonAsObservable() | OnMouseUpAsButton is only called when the mouse is released over the same GUIElement or Collider as it was pressed. |
IObservable<Unit> |
OnMouseUpAsObservable() | OnMouseUp is called when the user has released the mouse button. |
void |
RaiseOnCompletedOnDestroy() |
public class UniRx.Triggers.ObservableMoveTrigger
: ObservableTriggerBase, IEventSystemHandler, IMoveHandler
Methods
Type | Name | Summary |
---|---|---|
IObservable<AxisEventData> |
OnMoveAsObservable() | |
void |
RaiseOnCompletedOnDestroy() |
public class UniRx.Triggers.ObservableParticleTrigger
: ObservableTriggerBase
Methods
Type | Name | Summary |
---|---|---|
IObservable<GameObject> |
OnParticleCollisionAsObservable() | OnParticleCollision is called when a particle hits a collider. |
IObservable<Unit> |
OnParticleTriggerAsObservable() | OnParticleTrigger is called when any particles in a particle system meet the conditions in the trigger module. |
void |
RaiseOnCompletedOnDestroy() |
public class UniRx.Triggers.ObservablePointerClickTrigger
: ObservableTriggerBase, IEventSystemHandler, IPointerClickHandler
Methods
Type | Name | Summary |
---|---|---|
IObservable<PointerEventData> |
OnPointerClickAsObservable() | |
void |
RaiseOnCompletedOnDestroy() |
public class UniRx.Triggers.ObservablePointerDownTrigger
: ObservableTriggerBase, IEventSystemHandler, IPointerDownHandler
Methods
Type | Name | Summary |
---|---|---|
IObservable<PointerEventData> |
OnPointerDownAsObservable() | |
void |
RaiseOnCompletedOnDestroy() |
public class UniRx.Triggers.ObservablePointerEnterTrigger
: ObservableTriggerBase, IEventSystemHandler, IPointerEnterHandler
Methods
Type | Name | Summary |
---|---|---|
IObservable<PointerEventData> |
OnPointerEnterAsObservable() | |
void |
RaiseOnCompletedOnDestroy() |
public class UniRx.Triggers.ObservablePointerExitTrigger
: ObservableTriggerBase, IEventSystemHandler, IPointerExitHandler
Methods
Type | Name | Summary |
---|---|---|
IObservable<PointerEventData> |
OnPointerExitAsObservable() | |
void |
RaiseOnCompletedOnDestroy() |
public class UniRx.Triggers.ObservablePointerUpTrigger
: ObservableTriggerBase, IEventSystemHandler, IPointerUpHandler
Methods
Type | Name | Summary |
---|---|---|
IObservable<PointerEventData> |
OnPointerUpAsObservable() | |
void |
RaiseOnCompletedOnDestroy() |
public class UniRx.Triggers.ObservableRectTransformTrigger
: ObservableTriggerBase
Methods
Type | Name | Summary |
---|---|---|
void |
OnRectTransformDimensionsChange() | |
IObservable<Unit> |
OnRectTransformDimensionsChangeAsObservable() | Callback that is sent if an associated RectTransform has it's dimensions changed. |
void |
OnRectTransformRemoved() | |
IObservable<Unit> |
OnRectTransformRemovedAsObservable() | Callback that is sent if an associated RectTransform is removed. |
void |
RaiseOnCompletedOnDestroy() |
public class UniRx.Triggers.ObservableScrollTrigger
: ObservableTriggerBase, IEventSystemHandler, IScrollHandler
Methods
Type | Name | Summary |
---|---|---|
IObservable<PointerEventData> |
OnScrollAsObservable() | |
void |
RaiseOnCompletedOnDestroy() |
public class UniRx.Triggers.ObservableSelectTrigger
: ObservableTriggerBase, IEventSystemHandler, ISelectHandler
Methods
Type | Name | Summary |
---|---|---|
IObservable<BaseEventData> |
OnSelectAsObservable() | |
void |
RaiseOnCompletedOnDestroy() |
public class UniRx.Triggers.ObservableStateMachineTrigger
: StateMachineBehaviour
Methods
Type | Name | Summary |
---|---|---|
void |
OnStateEnter(Animator animator, AnimatorStateInfo stateInfo, Int32 layerIndex) |
|
IObservable<OnStateInfo> |
OnStateEnterAsObservable() | |
void |
OnStateExit(Animator animator, AnimatorStateInfo stateInfo, Int32 layerIndex) |
|
IObservable<OnStateInfo> |
OnStateExitAsObservable() | |
void |
OnStateIK(Animator animator, AnimatorStateInfo stateInfo, Int32 layerIndex) |
|
IObservable<OnStateInfo> |
OnStateIKAsObservable() | |
void |
OnStateMachineEnter(Animator animator, Int32 stateMachinePathHash) |
|
IObservable<OnStateMachineInfo> |
OnStateMachineEnterAsObservable() | |
void |
OnStateMachineExit(Animator animator, Int32 stateMachinePathHash) |
|
IObservable<OnStateMachineInfo> |
OnStateMachineExitAsObservable() | |
void |
OnStateUpdate(Animator animator, AnimatorStateInfo stateInfo, Int32 layerIndex) |
|
IObservable<OnStateInfo> |
OnStateUpdateAsObservable() |
public class UniRx.Triggers.ObservableSubmitTrigger
: ObservableTriggerBase, IEventSystemHandler, ISubmitHandler
Methods
Type | Name | Summary |
---|---|---|
IObservable<BaseEventData> |
OnSubmitAsObservable() | |
void |
RaiseOnCompletedOnDestroy() |
public class UniRx.Triggers.ObservableTransformChangedTrigger
: ObservableTriggerBase
Methods
Type | Name | Summary |
---|---|---|
IObservable<Unit> |
OnBeforeTransformParentChangedAsObservable() | Callback sent to the graphic before a Transform parent change occurs. |
IObservable<Unit> |
OnTransformChildrenChangedAsObservable() | This function is called when the list of children of the transform of the GameObject has changed. |
IObservable<Unit> |
OnTransformParentChangedAsObservable() | This function is called when the parent property of the transform of the GameObject has changed. |
void |
RaiseOnCompletedOnDestroy() |
public class UniRx.Triggers.ObservableTrigger2DTrigger
: ObservableTriggerBase
Methods
Type | Name | Summary |
---|---|---|
IObservable<Collider2D> |
OnTriggerEnter2DAsObservable() | Sent when another object enters a trigger collider attached to this object (2D physics only). |
IObservable<Collider2D> |
OnTriggerExit2DAsObservable() | Sent when another object leaves a trigger collider attached to this object (2D physics only). |
IObservable<Collider2D> |
OnTriggerStay2DAsObservable() | Sent each frame where another object is within a trigger collider attached to this object (2D physics only). |
void |
RaiseOnCompletedOnDestroy() |
public abstract class UniRx.Triggers.ObservableTriggerBase
: MonoBehaviour
Methods
Type | Name | Summary |
---|---|---|
IObservable<Unit> |
AwakeAsObservable() | Awake is called when the script instance is being loaded. |
IObservable<Unit> |
OnDestroyAsObservable() | This function is called when the MonoBehaviour will be destroyed. |
void |
RaiseOnCompletedOnDestroy() | |
IObservable<Unit> |
StartAsObservable() | Start is called on the frame when a script is enabled just before any of the Update methods is called the first time. |
public static class UniRx.Triggers.ObservableTriggerExtensions
Static Methods
Type | Name | Summary |
---|---|---|
IObservable<Unit> |
FixedUpdateAsObservable(this Component component) |
This function is called every fixed framerate frame, if the MonoBehaviour is enabled. |
IObservable<Unit> |
FixedUpdateAsObservable(this GameObject gameObject) |
This function is called every fixed framerate frame, if the MonoBehaviour is enabled. |
IObservable<Unit> |
LateUpdateAsObservable(this Component component) |
LateUpdate is called every frame, if the Behaviour is enabled. |
IObservable<Unit> |
LateUpdateAsObservable(this GameObject gameObject) |
LateUpdate is called every frame, if the Behaviour is enabled. |
IObservable<Int32> |
OnAnimatorIKAsObservable(this Component component) |
Callback for setting up animation IK (inverse kinematics). |
IObservable<Int32> |
OnAnimatorIKAsObservable(this GameObject gameObject) |
Callback for setting up animation IK (inverse kinematics). |
IObservable<Unit> |
OnAnimatorMoveAsObservable(this Component component) |
Callback for processing animation movements for modifying root motion. |
IObservable<Unit> |
OnAnimatorMoveAsObservable(this GameObject gameObject) |
Callback for processing animation movements for modifying root motion. |
IObservable<Unit> |
OnBecameInvisibleAsObservable(this Component component) |
OnBecameInvisible is called when the renderer is no longer visible by any camera. |
IObservable<Unit> |
OnBecameInvisibleAsObservable(this GameObject gameObject) |
OnBecameInvisible is called when the renderer is no longer visible by any camera. |
IObservable<Unit> |
OnBecameVisibleAsObservable(this Component component) |
OnBecameVisible is called when the renderer became visible by any camera. |
IObservable<Unit> |
OnBecameVisibleAsObservable(this GameObject gameObject) |
OnBecameVisible is called when the renderer became visible by any camera. |
IObservable<Unit> |
OnBeforeTransformParentChangedAsObservable(this Component component) |
Callback sent to the graphic before a Transform parent change occurs. |
IObservable<Unit> |
OnBeforeTransformParentChangedAsObservable(this GameObject gameObject) |
Callback sent to the graphic before a Transform parent change occurs. |
IObservable<PointerEventData> |
OnBeginDragAsObservable(this UIBehaviour component) |
|
IObservable<BaseEventData> |
OnCancelAsObservable(this UIBehaviour component) |
|
IObservable<Unit> |
OnCanvasGroupChangedAsObservable(this GameObject gameObject) |
Callback that is sent if the canvas group is changed. |
IObservable<Unit> |
OnCanvasGroupChangedAsObservable(this Component component) |
Callback that is sent if the canvas group is changed. |
IObservable<Collision2D> |
OnCollisionEnter2DAsObservable(this Component component) |
Sent when an incoming collider makes contact with this object's collider (2D physics only). |
IObservable<Collision2D> |
OnCollisionEnter2DAsObservable(this GameObject gameObject) |
Sent when an incoming collider makes contact with this object's collider (2D physics only). |
IObservable<Collision> |
OnCollisionEnterAsObservable(this Component component) |
OnCollisionEnter is called when this collider/rigidbody has begun touching another rigidbody/collider. |
IObservable<Collision> |
OnCollisionEnterAsObservable(this GameObject gameObject) |
OnCollisionEnter is called when this collider/rigidbody has begun touching another rigidbody/collider. |
IObservable<Collision2D> |
OnCollisionExit2DAsObservable(this Component component) |
Sent when a collider on another object stops touching this object's collider (2D physics only). |
IObservable<Collision2D> |
OnCollisionExit2DAsObservable(this GameObject gameObject) |
Sent when a collider on another object stops touching this object's collider (2D physics only). |
IObservable<Collision> |
OnCollisionExitAsObservable(this Component component) |
OnCollisionExit is called when this collider/rigidbody has stopped touching another rigidbody/collider. |
IObservable<Collision> |
OnCollisionExitAsObservable(this GameObject gameObject) |
OnCollisionExit is called when this collider/rigidbody has stopped touching another rigidbody/collider. |
IObservable<Collision2D> |
OnCollisionStay2DAsObservable(this Component component) |
Sent each frame where a collider on another object is touching this object's collider (2D physics only). |
IObservable<Collision2D> |
OnCollisionStay2DAsObservable(this GameObject gameObject) |
Sent each frame where a collider on another object is touching this object's collider (2D physics only). |
IObservable<Collision> |
OnCollisionStayAsObservable(this Component component) |
OnCollisionStay is called once per frame for every collider/rigidbody that is touching rigidbody/collider. |
IObservable<Collision> |
OnCollisionStayAsObservable(this GameObject gameObject) |
OnCollisionStay is called once per frame for every collider/rigidbody that is touching rigidbody/collider. |
IObservable<BaseEventData> |
OnDeselectAsObservable(this UIBehaviour component) |
|
IObservable<Unit> |
OnDestroyAsObservable(this Component component) |
This function is called when the MonoBehaviour will be destroyed. |
IObservable<Unit> |
OnDestroyAsObservable(this GameObject gameObject) |
This function is called when the MonoBehaviour will be destroyed. |
IObservable<Unit> |
OnDisableAsObservable(this Component component) |
This function is called when the behaviour becomes disabled () or inactive. |
IObservable<Unit> |
OnDisableAsObservable(this GameObject gameObject) |
This function is called when the behaviour becomes disabled () or inactive. |
IObservable<PointerEventData> |
OnDragAsObservable(this UIBehaviour component) |
|
IObservable<PointerEventData> |
OnDropAsObservable(this UIBehaviour component) |
|
IObservable<Unit> |
OnEnableAsObservable(this Component component) |
This function is called when the object becomes enabled and active. |
IObservable<Unit> |
OnEnableAsObservable(this GameObject gameObject) |
This function is called when the object becomes enabled and active. |
IObservable<PointerEventData> |
OnEndDragAsObservable(this UIBehaviour component) |
|
IObservable<PointerEventData> |
OnInitializePotentialDragAsObservable(this UIBehaviour component) |
|
IObservable<Unit> |
OnMouseDownAsObservable(this Component component) |
OnMouseDown is called when the user has pressed the mouse button while over the GUIElement or Collider. |
IObservable<Unit> |
OnMouseDownAsObservable(this GameObject gameObject) |
OnMouseDown is called when the user has pressed the mouse button while over the GUIElement or Collider. |
IObservable<Unit> |
OnMouseDragAsObservable(this Component component) |
OnMouseDrag is called when the user has clicked on a GUIElement or Collider and is still holding down the mouse. |
IObservable<Unit> |
OnMouseDragAsObservable(this GameObject gameObject) |
OnMouseDrag is called when the user has clicked on a GUIElement or Collider and is still holding down the mouse. |
IObservable<Unit> |
OnMouseEnterAsObservable(this Component component) |
OnMouseEnter is called when the mouse entered the GUIElement or Collider. |
IObservable<Unit> |
OnMouseEnterAsObservable(this GameObject gameObject) |
OnMouseEnter is called when the mouse entered the GUIElement or Collider. |
IObservable<Unit> |
OnMouseExitAsObservable(this Component component) |
OnMouseExit is called when the mouse is not any longer over the GUIElement or Collider. |
IObservable<Unit> |
OnMouseExitAsObservable(this GameObject gameObject) |
OnMouseExit is called when the mouse is not any longer over the GUIElement or Collider. |
IObservable<Unit> |
OnMouseOverAsObservable(this Component component) |
OnMouseOver is called every frame while the mouse is over the GUIElement or Collider. |
IObservable<Unit> |
OnMouseOverAsObservable(this GameObject gameObject) |
OnMouseOver is called every frame while the mouse is over the GUIElement or Collider. |
IObservable<Unit> |
OnMouseUpAsButtonAsObservable(this Component component) |
OnMouseUpAsButton is only called when the mouse is released over the same GUIElement or Collider as it was pressed. |
IObservable<Unit> |
OnMouseUpAsButtonAsObservable(this GameObject gameObject) |
OnMouseUpAsButton is only called when the mouse is released over the same GUIElement or Collider as it was pressed. |
IObservable<Unit> |
OnMouseUpAsObservable(this Component component) |
OnMouseUp is called when the user has released the mouse button. |
IObservable<Unit> |
OnMouseUpAsObservable(this GameObject gameObject) |
OnMouseUp is called when the user has released the mouse button. |
IObservable<AxisEventData> |
OnMoveAsObservable(this UIBehaviour component) |
|
IObservable<GameObject> |
OnParticleCollisionAsObservable(this GameObject gameObject) |
OnParticleCollision is called when a particle hits a collider. |
IObservable<GameObject> |
OnParticleCollisionAsObservable(this Component component) |
OnParticleCollision is called when a particle hits a collider. |
IObservable<Unit> |
OnParticleTriggerAsObservable(this GameObject gameObject) |
OnParticleTrigger is called when any particles in a particle system meet the conditions in the trigger module. |
IObservable<Unit> |
OnParticleTriggerAsObservable(this Component component) |
OnParticleTrigger is called when any particles in a particle system meet the conditions in the trigger module. |
IObservable<PointerEventData> |
OnPointerClickAsObservable(this UIBehaviour component) |
|
IObservable<PointerEventData> |
OnPointerDownAsObservable(this UIBehaviour component) |
|
IObservable<PointerEventData> |
OnPointerEnterAsObservable(this UIBehaviour component) |
|
IObservable<PointerEventData> |
OnPointerExitAsObservable(this UIBehaviour component) |
|
IObservable<PointerEventData> |
OnPointerUpAsObservable(this UIBehaviour component) |
|
IObservable<Unit> |
OnRectTransformDimensionsChangeAsObservable(this GameObject gameObject) |
Callback that is sent if an associated RectTransform has it's dimensions changed. |
IObservable<Unit> |
OnRectTransformDimensionsChangeAsObservable(this Component component) |
Callback that is sent if an associated RectTransform has it's dimensions changed. |
IObservable<Unit> |
OnRectTransformRemovedAsObservable(this GameObject gameObject) |
Callback that is sent if an associated RectTransform is removed. |
IObservable<Unit> |
OnRectTransformRemovedAsObservable(this Component component) |
Callback that is sent if an associated RectTransform is removed. |
IObservable<PointerEventData> |
OnScrollAsObservable(this UIBehaviour component) |
|
IObservable<BaseEventData> |
OnSelectAsObservable(this UIBehaviour component) |
|
IObservable<BaseEventData> |
OnSubmitAsObservable(this UIBehaviour component) |
|
IObservable<Unit> |
OnTransformChildrenChangedAsObservable(this GameObject gameObject) |
This function is called when the list of children of the transform of the GameObject has changed. |
IObservable<Unit> |
OnTransformChildrenChangedAsObservable(this Component component) |
This function is called when the list of children of the transform of the GameObject has changed. |
IObservable<Unit> |
OnTransformParentChangedAsObservable(this Component component) |
This function is called when the parent property of the transform of the GameObject has changed. |
IObservable<Unit> |
OnTransformParentChangedAsObservable(this GameObject gameObject) |
This function is called when the parent property of the transform of the GameObject has changed. |
IObservable<Collider2D> |
OnTriggerEnter2DAsObservable(this Component component) |
Sent when another object enters a trigger collider attached to this object (2D physics only). |
IObservable<Collider2D> |
OnTriggerEnter2DAsObservable(this GameObject gameObject) |
Sent when another object enters a trigger collider attached to this object (2D physics only). |
IObservable<Collider> |
OnTriggerEnterAsObservable(this Component component) |
OnTriggerEnter is called when the Collider other enters the trigger. |
IObservable<Collider> |
OnTriggerEnterAsObservable(this GameObject gameObject) |
OnTriggerEnter is called when the Collider other enters the trigger. |
IObservable<Collider2D> |
OnTriggerExit2DAsObservable(this Component component) |
Sent when another object leaves a trigger collider attached to this object (2D physics only). |
IObservable<Collider2D> |
OnTriggerExit2DAsObservable(this GameObject gameObject) |
Sent when another object leaves a trigger collider attached to this object (2D physics only). |
IObservable<Collider> |
OnTriggerExitAsObservable(this Component component) |
OnTriggerExit is called when the Collider other has stopped touching the trigger. |
IObservable<Collider> |
OnTriggerExitAsObservable(this GameObject gameObject) |
OnTriggerExit is called when the Collider other has stopped touching the trigger. |
IObservable<Collider2D> |
OnTriggerStay2DAsObservable(this Component component) |
Sent each frame where another object is within a trigger collider attached to this object (2D physics only). |
IObservable<Collider2D> |
OnTriggerStay2DAsObservable(this GameObject gameObject) |
Sent each frame where another object is within a trigger collider attached to this object (2D physics only). |
IObservable<Collider> |
OnTriggerStayAsObservable(this Component component) |
OnTriggerStay is called once per frame for every Collider other that is touching the trigger. |
IObservable<Collider> |
OnTriggerStayAsObservable(this GameObject gameObject) |
OnTriggerStay is called once per frame for every Collider other that is touching the trigger. |
IObservable<BaseEventData> |
OnUpdateSelectedAsObservable(this UIBehaviour component) |
|
IObservable<Unit> |
UpdateAsObservable(this Component component) |
Update is called every frame, if the MonoBehaviour is enabled. |
IObservable<Unit> |
UpdateAsObservable(this GameObject gameObject) |
Update is called every frame, if the MonoBehaviour is enabled. |
public class UniRx.Triggers.ObservableTriggerTrigger
: ObservableTriggerBase
Methods
Type | Name | Summary |
---|---|---|
IObservable<Collider> |
OnTriggerEnterAsObservable() | OnTriggerEnter is called when the Collider other enters the trigger. |
IObservable<Collider> |
OnTriggerExitAsObservable() | OnTriggerExit is called when the Collider other has stopped touching the trigger. |
IObservable<Collider> |
OnTriggerStayAsObservable() | OnTriggerStay is called once per frame for every Collider other that is touching the trigger. |
void |
RaiseOnCompletedOnDestroy() |
public class UniRx.Triggers.ObservableUpdateSelectedTrigger
: ObservableTriggerBase, IEventSystemHandler, IUpdateSelectedHandler
Methods
Type | Name | Summary |
---|---|---|
IObservable<BaseEventData> |
OnUpdateSelectedAsObservable() | |
void |
RaiseOnCompletedOnDestroy() |
public class UniRx.Triggers.ObservableUpdateTrigger
: ObservableTriggerBase
Methods
Type | Name | Summary |
---|---|---|
void |
RaiseOnCompletedOnDestroy() | |
IObservable<Unit> |
UpdateAsObservable() | Update is called every frame, if the MonoBehaviour is enabled. |
public class UniRx.Triggers.ObservableVisibleTrigger
: ObservableTriggerBase
Methods
Type | Name | Summary |
---|---|---|
IObservable<Unit> |
OnBecameInvisibleAsObservable() | OnBecameInvisible is called when the renderer is no longer visible by any camera. |
IObservable<Unit> |
OnBecameVisibleAsObservable() | OnBecameVisible is called when the renderer became visible by any camera. |
void |
RaiseOnCompletedOnDestroy() |
Reference document is generated by neuecc/MarkdownGenerator