I'm have a couple weird problems with attaching scripts inside other scripts.
I have a game object on the stage with the following script.
using UnityEngine; using System.Collections;
public class GameManager : MonoBehaviour {
//Managers
public LevelManager levelManager;
}
And I created the other script which looks like the following
using UnityEngine; using System.Collections;
public class LevelManager : MonoBehaviour {
}
Now when I try to drag and drop the script onto the spot in the scripts variables in the unity GUI it wont attach. Also when I click the little browse circle it wont show up in the list.
I've tried it with multiple scripts and I'm having the same problem.