Search Unity

Question Change Style Sheet at Runtime (TMPro)

Discussion in 'UGUI & TextMesh Pro' started by epl-matt, May 17, 2023.

  1. epl-matt

    epl-matt

    Joined:
    Sep 9, 2021
    Posts:
    13
    @Stephan_B

    I found some old forums about this but they are from when you could import TMPro into the project and change the code by adding a setter to the default style sheet property. It is set as public, but with no setter. Why? Would be so easy just to be able to set it. I cannot change it anymore since its a package either. It would be very useful to set the style when you are working with different parts of a project that may need to change the styling of the font all together. Unless there is another way that I have not come across yet?
     
    Last edited: May 18, 2023
    karliss_coldwild likes this.
  2. epl-matt

    epl-matt

    Joined:
    Sep 9, 2021
    Posts:
    13
    No One?