Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

TextMesh Pro Extending the TextMeshPro Editor

Discussion in 'UGUI & TextMesh Pro' started by Noblauch, Jun 25, 2020.

  1. Noblauch

    Noblauch

    Joined:
    May 23, 2017
    Posts:
    270
    We are currently extending various components to add functionality and keep the editor clean.
    Unitys components worked great, since I can just extend their Editor script like this.

    public class SkinableImageEditor : ImageEditor


    But now I came across the TextMeshProUGUI component, but I can't find its editorrrrr.

    public class SkinableTextEditor : ???

    hellllp >.<
     
  2. Noblauch

    Noblauch

    Joined:
    May 23, 2017
    Posts:
    270
    After digging in the TMP package I found it, the class is called:

    TMP_BaseEditorPanel
     
  3. rValentinov

    rValentinov

    Joined:
    Nov 30, 2021
    Posts:
    1
    Awesome! Thanks!