I’ve been googling this error and the responses seem either over my head or not applicable. I’ve scoured the the discussion boards. I tried reinstalling Unity just to see if that might correct the error. Did I miss something in installing Unity 5 or switching it back over to MonoDevelop? I would greatly appreciate help on this one.
In writing the code MonoDevelop doesn’t like the declaration of “Ball” (turns red and on mouseover reads: "CS0103: The name ‘Ball’ does not exist in the current context’) and I get the following error in Unity:
Assets/Editor/CameraControl.cs(6,9): error CS0246: The type or namespace name `Ball’ could not be found. Are you missing an assembly reference?
using UnityEngine;
using System.Collections;
public class CameraControl : MonoBehaviour {
public Ball ball;
private Vector3 offset;
**It’s not solved in that I found a solution… a few days later I opened things up, and there was no problem in MonoDevelop, no error in Unity.