title: Unity UI - Button OnClick() not seeing LevelManager's functions
body: <p>I'm following the Number Wizard UI lectures in a course on Udemy (I don't know if I can tell the name, but it's the most famous one) and I created the "Start" and "Quit" buttons.</p>
  
  <p>The problem I've encountered is this: in the OnClick() panel on the lower right, the "LoadLevel" function I created (contained in the LevelManager class) doesn't appear. </p>
  
  <p>Consequently, it doesn't work. I tried to look online for it but I can only find stuff regarding the Legacy UI.</p>
  
  <p>Here's a screenshot of what I have in Unity:</p>
  
  <p><a href="http://i.stack.imgur.com/TrJ9y.png" rel="nofollow">Unity Screenshot</a></p>
  
  <p>And the code of the class:</p>
  
  <pre><code>using UnityEngine;
  using System.Collections;
  
  public class LevelManager : MonoBehaviour {
  
      public void LoadLevel(string name) {
          Debug.Log("Level load requested for " + name);
      }
  
      public void QuitRequest() {
          Debug.Log ("Quit requested.");
      }
  }
  </code></pre>
  
  <p>I hope you can help me, i'll get through the basic Unity tutorials again to check if there's any hint about it.</p>
  
  <p>Thank you for your time!</p>
  
  <p>P.s.: if something's wrong with my question, please keep in mind that this is my first one posted here. Thank you again :)</p>