Table of Contents

ObservableUnityEvent.Observable<T> Struct

public readonly struct ObservableUnityEvent.Observable<T> : IDisposable, IObservable<T>, IEquatable<ObservableUnityEvent.Observable<T>>

Type Parameters

T
Implements
Inherited Members
Extension Methods

Constructors

Observable(UnityEvent<T>, UnityAction<T>?)

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Equals(Observable<T>)

Indicates whether the current object is equal to another object of the same type.

Equals(object?)

Indicates whether this instance and a specified object are equal.

GetHashCode()

Returns the hash code for this instance.

Subscribe(IObserver<T>)

Notifies the provider that an observer is to receive notifications.

Subscribe(UnityAction<T>)

Operators

operator ==(Observable<T>, Observable<T>)
operator !=(Observable<T>, Observable<T>)