Solution UPDATE
Oops, I was stupid, basically what I did was drag my script into OnClick() and not the LevelManager game object.
Problem
Like my title reads…I’m not seeing the same dropdown list as the one in the lecture video 47. I only have ‘no function’ and ‘MonoScript’. Please see screenshot attached for an illustration of my problem.
Using
I’ve tried Unity 4.6 and Unity 5
Code
using UnityEngine;
using System.Collections;
public class LevelManager : MonoBehaviour {
public void LoadLevel(string name){
Debug.Log ("New level load: " +name);
}
}
