static void ClearFontAssetData(MenuCommand command) { TMP_FontAsset fontAsset = command.context as TMP_FontAsset; if (fontAsset != null && Selection.activeObject != fontAsset) { Selection.activeObject = fontAsset; } fontAsset.ClearFontAssetData(true); TMPro_EventManager.ON_FONT_PROPERTY_CHANGED(true, fontAsset); }