The type or namespace name 'MonoBehaviour' could not be found (are you missing a using directive or an assembly reference?) [Assembly-CSharp] code example
Example: error CS0246: The type or namespace name 'Slider' could not be found (are you missing a using directive or an assembly reference?)
using UnityEngine.UI;