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. Dismiss Notice

TextMesh Pro Text Mesh Pro embedded material preset?

Discussion in 'UGUI & TextMesh Pro' started by mitaywalle, Apr 18, 2023.

  1. mitaywalle

    mitaywalle

    Joined:
    Jul 1, 2013
    Posts:
    239
    Hello. I've an organizational problem. Our game have a lots of different text style, and we always adding new.
    Can we have TMPro Material / Material Preset not in form of separate file, but embedded to component?

    Screenshot_15.png
     
  2. Unifikation

    Unifikation

    Joined:
    Jan 4, 2023
    Posts:
    973
    I have over a thousand presets. And been wondering how to make this organisation better. But don't quite understand what you mean. Can you explain how this would work?
     
    mitaywalle likes this.
  3. mitaywalle

    mitaywalle

    Joined:
    Jul 1, 2013
    Posts:
    239
    I mean that there would be materials, that would be saved into scene / prefab, like dynamicly created Textures and ScriptableObjects
     
  4. Unifikation

    Unifikation

    Joined:
    Jan 4, 2023
    Posts:
    973
    argh, so if it's used in the Scene or Prefab, it's at the top of the list, and a divider for everything in the project that's not in the Scene and/or Prefab?
     
    mitaywalle likes this.
  5. mitaywalle

    mitaywalle

    Joined:
    Jul 1, 2013
    Posts:
    239
    Yes, sounds perfect
     
  6. Unifikation

    Unifikation

    Joined:
    Jan 4, 2023
    Posts:
    973
    I think we're going to have to figure out how to do this ourselves, as TMP is (at best) in maintenance mode. Sadly.

    I'll have a squiz, but my Editor scripting skills are woeful...
     
    mitaywalle likes this.
  7. mitaywalle

    mitaywalle

    Joined:
    Jul 1, 2013
    Posts:
    239
    If I'll implement this my self, I would post patch here.

    Thanks for discussion. Good luck!
     
  8. Unifikation

    Unifikation

    Joined:
    Jan 4, 2023
    Posts:
    973
    Sorry I can't help. Have, quite literally, thousands of text styles in Presets. Many of them far worse named than yours.

    fontName_glow_00343 etc ;)