public void Dispose() { Debug.LogWarning("Disposing..."); UniduxTickProvider.Unsubscribe(this); _instance = null; _state = null; _subject = null; _dispatcher = null; _synchronizationContext = null; repository.Dispose(); reducers.ToList().ForEach(r => r.Dispose()); reducers = null; }
private void Awake() { _instance = this; }
public void InitOnLoadHub() { UniduxTickProvider.Subscribe(this); }