public void Deactivate() { //unsubscribe from changes in player input MyEvents.PlayerEnteredNewInput.UnSubscribe(this); this.textBox.SetActive(false); toggleActiveButtonText.text = model.GetTitle(); SetStoryToRoot(); }
public void Deactivate() { //unsubscribe from changes in player input MyEvents.PlayerEnteredNewInput.UnSubscribe(this); this.textBox.SetActive(false); toggleActiveButtonText.text = model.GetTitle(); SetStoryToRoot(); }