title: System.IO.FileStream does not contain a definition for 'ReadLine' and no extension method 'ReadLine' of type. Are you missing an assembly reference?
body: <p>I am trying to read  a basic text file that contains 1 byte of data.
  Apparently, ReadLine isn't defined and I don't know what's wrong. See code below.</p>
  
  <pre><code>using System.Collections;
  using System.Collections.Generic;
  using System.IO;
  using System.Text;
  using UnityEngine;
  using UnityEditor.SceneManagement;
  using UnityEngine.SceneManagement;
  
  public class loadGame : MonoBehaviour {
  
  // Use this for initialization
  void Start () {
      FileStream file = new FileStream("save.txt", FileMode.Open, FileAccess.Read);
      int introPlayed = file.ReadLine();
      if (introPlayed == 1)
      {
          SceneManager.LoadScene("game");
          file.Close();
      }
      else
      {
          SceneManager.LoadScene("intro");
          file.Close();
      }
  }
  
  // Update is called once per frame
  void Update () {
  
  }
  }
  </code></pre>
  
  <p>Any help appreciated!</p>