title: How to change text on a textbox?
body: <p>I'm trying to make a C# script for unity to create dialogue using 'Ink.Runtime' and this procedure in the code is attempting to switch the text to a new line when the condition is met. But I'm not sure how to perform this, dialogueText is the name of the variable I'm trying to change the text for, but how would I declare this variable and define it so I can have it apply the script to the textbox in my code.</p>
  <p>Here's the relevant string of code written below</p>
  <pre><code>private void ContinueStory()
      {
          if (currentStory.canContinue)
          {
              dialogueText.text = currentStory.Continue();
          }
          else
          {
              ExitDialogueMode();
          }
      }
  public text dialogueText;
      //what would I write here?
  </code></pre>
  <p>I'm relatively new to programming in C# and so help would be much appriciated!</p>