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. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    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:
    76
    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,573
    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:
    76
    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,573
    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.