title: How to access a Unity's TextMesh Pro Dropdown component via code?
body: <p>I'm trying to access a TextMesh Pro Dropdown via code, as if I was using a regular Dropdown from Unity, but I'm not sure how to.</p>
  
  <p>What I intend to do in the end is something like this (that is working, using a normal Dropdown):</p>
  
  <pre><code>using UnityEngine;
  using UnityEngine.UI;
  
  public class SettingsMenu : MonoBehaviour
  {
      public Dropdown resolutionDropdown;
  }
  </code></pre>
  
  <p>But, instead of using Unity's native Dropdown, use TextMesh Pro's Dropdown.</p>
  
  <p>I'm already using TextMesh Pro in this project (been using it for text), so the package is already in the project itself.</p>
  
  <p>What I'm having difficulties is with accessing the Dropdown component of a TextMesh Pro's Dropdown.</p>