Table of Contents

Class ObservableMouseTrigger

Namespace
R3.Triggers
public class ObservableMouseTrigger : ObservableTriggerBase

Inheritance

MonoBehaviour

Inherited Members

Methods

OnMouseDownAsObservable()

OnMouseDown is called when the user has pressed the mouse button while over the GUIElement or Collider.

public Observable<Unit> OnMouseDownAsObservable()

Returns

Observable<Unit>

OnMouseDragAsObservable()

OnMouseDrag is called when the user has clicked on a GUIElement or Collider and is still holding down the mouse.

public Observable<Unit> OnMouseDragAsObservable()

Returns

Observable<Unit>

OnMouseEnterAsObservable()

OnMouseEnter is called when the mouse entered the GUIElement or Collider.

public Observable<Unit> OnMouseEnterAsObservable()

Returns

Observable<Unit>

OnMouseExitAsObservable()

OnMouseExit is called when the mouse is not any longer over the GUIElement or Collider.

public Observable<Unit> OnMouseExitAsObservable()

Returns

Observable<Unit>

OnMouseOverAsObservable()

OnMouseOver is called every frame while the mouse is over the GUIElement or Collider.

public Observable<Unit> OnMouseOverAsObservable()

Returns

Observable<Unit>

OnMouseUpAsButtonAsObservable()

OnMouseUpAsButton is only called when the mouse is released over the same GUIElement or Collider as it was pressed.

public Observable<Unit> OnMouseUpAsButtonAsObservable()

Returns

Observable<Unit>

OnMouseUpAsObservable()

OnMouseUp is called when the user has released the mouse button.

public Observable<Unit> OnMouseUpAsObservable()

Returns

Observable<Unit>

RaiseOnCompletedOnDestroy()

protected override void RaiseOnCompletedOnDestroy()