internal void TryEnterToDoor(SceneObserver observer) { if (isOpened) { observer.Invoke(); } }
public DieManager(SceneObserver observer, GameObject dieUI) { this.dieUI = dieUI; exiterScene = observer; exiterScene.Subscribe(onSceneExit); }