Any way to swap TMP style sheet at runtime?

Essentially I’m trying to have one style sheet for my VR platform (larger font sizes e.g.) vs another for my web/desktop product for the same project. I don’t see any obvious API’s to change the style sheet at runtime. Does anyone know a way? Thx!

Have you looked at TMP_Settings.defaultStyleSheet ? In earlier versions of TMP it was read only, but now you can set it as well. I think I tried it once in the editor, but didn’t test if it works in standalone build as well.

Unfortunately, that appears to be read only still (at least in 2021.3.16F1)

public static TMP_StyleSheet defaultStyleSheet { get; }