Unity doesn't find gameobject from C#

Ok, so everything worked fine in Unity 4.5

Now when I declare a gameobject in a C# script I can’t find the game object in the script files properties in the unity gui.

As you can see here: http://puu.sh/kKWoh/8605f8475c.jpg

There is no gameobject I can set the variable ball move to. This by the way worked in Unity 4.5.


You need to declare it as public for it to show up in the editor:

public GameObject ballText;