m_DisableFontTextureRebuiltCallback 2024年3月29日 | 阅读 #unity/日常积累 在开始生成网格之前,首先会将m_DisableFontTextureRebuiltCallback置为true,即在此函数执行期间,禁止rebuild的回调。如果被调用了FontTextureChanged会直接返回。FontTextureChanged内会调用UpdateGeometry,增加一个状态判断避免循环调用。 流明 GetGenerationSettings OnPopulateMesh PopulateWithErrors SetVerticesDirty UIVertex Unity日常积累