10 lines
253 B
C#
10 lines
253 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public interface IObservable<T>
|
|
{
|
|
public void Subscribe(IObserver<T> observer);
|
|
public void Unsubscribe(IObserver<T> observer);
|
|
public void Notify(T value);
|
|
} |