public void Open(ICommandParser commandParser) { if (commandParser != null) { m_contentField.text = commandParser.PrintHelp(); } else { m_contentField.text = "No command parser has been assigned."; } m_panel.gameObject.SetActive(true); DebugConsole.Lock(false); }
public void Open() { FeedbackTypeValue = FeedbackType.Bug; m_contentFieldLabel.text = "Tell us, in detail, what happened:"; m_contentFieldPlaceholder.text = "Include a detailed description of the issue as well as steps to reproduce it..."; m_emailField.text = LastUsedEmail; m_subjectField.text = string.Empty; m_contentField.text = string.Empty; m_screenshotToggle.interactable = true; m_systemInfoToggle.interactable = true; m_screenshotToggle.isOn = true; m_systemInfoToggle.isOn = true; m_panel.gameObject.SetActive(true); DebugConsole.Lock(true); }