public void InjectPresenter(IStoryPresenter storyPresenter) { presenter = storyPresenter; optionsPanel.InjectPresenter(presenter); backButton.onClick.AddListener(() => presenter.ReceiveCloseAction()); }
public void InjectPresenter(IStoryPresenter storyPresenter) { presenter = storyPresenter; optionsPanel.InjectPresenter(presenter); backButton.onClick.AddListener(() => presenter.ReceiveCloseAction()); }