title: How to fix 'The type or namespace name could not be found ' error in unity?
body: <p>I am setting up a new scriptable object in Unity 5 and when I am trying to set up a reference to it an error shows up :'The type or namespace name 'ES' could not be found (are you missing a using directive or an assembly reference?'</p>
  
  <p>the scriptable object script:</p>
  
  <pre><code>using System.Collections;
  using System.Collections.Generic;
  using UnityEngine;
  [CreateAssetMenu(fileName = "new ES", menuName = "ES")]
  
  public class LAMP: ScriptableObject {
      public int groupNum;
  
      void Start() {
  
          groupNum = 1;
  
      }
  
  }
  </code></pre>
  
  <p>the reference in monobehavior script:</p>
  
  <pre><code>using System.Collections;
  using System.Collections.Generic;
  using UnityEngine;
  
  public class Bout: MonoBehaviour {
  
      public ES et;
  
      // Use this for initialization
      void Start() {
  
      }
  
      // Update is called once per frame
      void Update() {
  
      }
  }
  </code></pre>