Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Where is the source for TextMeshProUGUI editor?

Discussion in 'UGUI & TextMesh Pro' started by Skyblade, Aug 22, 2019.

  1. Skyblade

    Skyblade

    Joined:
    Nov 19, 2013
    Posts:
    77
    I want to overrride some of the TextMeshProUGUI property drawers. So I want to modify its editor, but I cannot for one in the %userprofile%\AppData\Local\Unity\cache\packages\packages.unity.com\com.unity.textmeshpro@2.0.1\Scripts\Editor folder.
    Where is the editor code for this component?
     
  2. Stephan_B

    Stephan_B

    Unity Technologies

    Joined:
    Feb 26, 2017
    Posts:
    6,588
    The files in the Editor folder that you are looking for are:

    TMP_BaseEditorPanel.cs
    TMP_EditorPanel.cs
    TMP_EditorPanelUI.cs
     
    Skyblade likes this.
  3. Skyblade

    Skyblade

    Joined:
    Nov 19, 2013
    Posts:
    77
    I don't see TMP_EditorPanelUI:
    upload_2019-8-25_22-48-10.png
     
  4. Stephan_B

    Stephan_B

    Unity Technologies

    Joined:
    Feb 26, 2017
    Posts:
    6,588
    In version 2.0.1, it is TMP_UIEditorPanel.cs.

    In the next release is had been renamed TMP_EditorPanelUI.cs.
     
    bns_YoheiMiyake and Skyblade like this.