I have a GameObject with a Text Mesh Pro component.
I want to check if the Font applied to the Text Mesh Pro component is a particular font (let's say it's Comic Sans)
I can get the font name by first using Get Component and then calling Get Font.
But the output of Get Font is the font asset itself. So I can't use a simple string Equality (or Contains) to check if the font matches Comic Sans.
Can I turn the output of Text Mesh Pro Get Font into a string? Or is there another way to check if the font matches a particular font?
Thanks!