title: Is listener of onClick destroyed when button is destroyed?
body: <p>I am instantiating many buttons that when clicked need to call a function (via listener). But I'm also very often destroying them. Are these listeners then also destroyed or do I need to delete them otherwise?</p>
  
  <p>Example:</p>
  
  <pre><code>public void makeButton()
  {
      GameObject spawnedButton = Instantiate(prefabButton, prefabButton.transform.position, prefabButton.transform.rotation) as GameObject;   
  
      spawnedButton.GetComponent&lt;Button&gt;().onClick.AddListener(()=&gt;
      {
          listedButtonClicked(someOtherObjectThatWillNotBeDeleted, spawnedButton);
      });
  }
  
  public void listedButtonClicked(GameObject target, GameObject button)
  {
      Debug.Log(target);
      Debug.Log(button);
  }
  </code></pre>
  
  <p>...so when <code>spawnedButton</code> is destroyed, will this listener remain? I'm instantiating and deleting a huge amount of buttons so it could be relevant for me.</p>