public static IObservable <int> OnAnimatorIKAsObservable(this Component component)
 {
     if (component == null || component.gameObject == null)
     {
         return(Observable.Empty <int>());
     }
     return(ObservableTriggerExtensions.GetOrAddComponent <ObservableAnimatorTrigger>(component.gameObject).OnAnimatorIKAsObservable());
 }
 public static IObservable <Unit> OnParticleTriggerAsObservable(this GameObject gameObject)
 {
     if (gameObject == null)
     {
         return(Observable.Empty <Unit>());
     }
     return(ObservableTriggerExtensions.GetOrAddComponent <ObservableParticleTrigger>(gameObject).OnParticleTriggerAsObservable());
 }
 public static IObservable <Collision> OnCollisionStayAsObservable(this Component component)
 {
     if (component == null || component.gameObject == null)
     {
         return(Observable.Empty <Collision>());
     }
     return(ObservableTriggerExtensions.GetOrAddComponent <ObservableCollisionTrigger>(component.gameObject).OnCollisionStayAsObservable());
 }
 public static IObservable <Unit> OnCanvasGroupChangedAsObservable(this GameObject gameObject)
 {
     if (gameObject == null)
     {
         return(Observable.Empty <Unit>());
     }
     return(ObservableTriggerExtensions.GetOrAddComponent <ObservableCanvasGroupChangedTrigger>(gameObject).OnCanvasGroupChangedAsObservable());
 }
 public static IObservable <Unit> OnRectTransformRemovedAsObservable(this GameObject gameObject)
 {
     if (gameObject == null)
     {
         return(Observable.Empty <Unit>());
     }
     return(ObservableTriggerExtensions.GetOrAddComponent <ObservableRectTransformTrigger>(gameObject).OnRectTransformRemovedAsObservable());
 }
 public static IObservable <Collider> OnTriggerStayAsObservable(this GameObject gameObject)
 {
     if (gameObject == null)
     {
         return(Observable.Empty <Collider>());
     }
     return(ObservableTriggerExtensions.GetOrAddComponent <ObservableTriggerTrigger>(gameObject).OnTriggerStayAsObservable());
 }
 public static IObservable <Unit> OnBeforeTransformParentChangedAsObservable(this GameObject gameObject)
 {
     if (gameObject == null)
     {
         return(Observable.Empty <Unit>());
     }
     return(ObservableTriggerExtensions.GetOrAddComponent <ObservableTransformChangedTrigger>(gameObject).OnBeforeTransformParentChangedAsObservable());
 }
 public static IObservable <Unit> OnDestroyAsObservable(this GameObject gameObject)
 {
     if (gameObject == null)
     {
         return(Observable.Return(Unit.Default));
     }
     return(ObservableTriggerExtensions.GetOrAddComponent <ObservableDestroyTrigger>(gameObject).OnDestroyAsObservable());
 }
 public static IObservable <Unit> FixedUpdateAsObservable(this GameObject gameObject)
 {
     if (gameObject == null)
     {
         return(Observable.Empty <Unit>());
     }
     return(ObservableTriggerExtensions.GetOrAddComponent <ObservableFixedUpdateTrigger>(gameObject).FixedUpdateAsObservable());
 }
 public static IObservable <Collision2D> OnCollisionExit2DAsObservable(this GameObject gameObject)
 {
     if (gameObject == null)
     {
         return(Observable.Empty <Collision2D>());
     }
     return(ObservableTriggerExtensions.GetOrAddComponent <ObservableCollision2DTrigger>(gameObject).OnCollisionExit2DAsObservable());
 }
 public static IObservable <PointerEventData> OnScrollAsObservable(this UIBehaviour component)
 {
     if (component == null || component.gameObject == null)
     {
         return(Observable.Empty <PointerEventData>());
     }
     return(ObservableTriggerExtensions.GetOrAddComponent <ObservableScrollTrigger>(component.gameObject).OnScrollAsObservable());
 }
 public static IObservable <BaseEventData> OnUpdateSelectedAsObservable(this UIBehaviour component)
 {
     if (component == null || component.gameObject == null)
     {
         return(Observable.Empty <BaseEventData>());
     }
     return(ObservableTriggerExtensions.GetOrAddComponent <ObservableUpdateSelectedTrigger>(component.gameObject).OnUpdateSelectedAsObservable());
 }
 public static IObservable <Unit> OnRectTransformDimensionsChangeAsObservable(this Component component)
 {
     if (component == null || component.gameObject == null)
     {
         return(Observable.Empty <Unit>());
     }
     return(ObservableTriggerExtensions.GetOrAddComponent <ObservableRectTransformTrigger>(component.gameObject).OnRectTransformDimensionsChangeAsObservable());
 }
 public static IObservable <Unit> OnBecameVisibleAsObservable(this Component component)
 {
     if (component == null || component.gameObject == null)
     {
         return(Observable.Empty <Unit>());
     }
     return(ObservableTriggerExtensions.GetOrAddComponent <ObservableVisibleTrigger>(component.gameObject).OnBecameVisibleAsObservable());
 }