which isn’t the proper way to do that
why?
because if the TMP is deactivated and a script accesses textInfo before that tmp was activated it’ll nullref
easy to go around that when we know about it but that’s not the proper way to do init for a Unity package
it should be a lazy pull, init when the property is being accessed like this
public TMP_TextInfo textInfo
{
get { if (!m_textInfo) m_textInfo = InitTextInfo(); return m_textInfo; }
}