public static void RefreshBlockModelCommonRes() { //注: 如果是超过2048的图片 需要选用其他的压缩格式 BlockEditorWindow.CreateBlockModel(2048, BlockEditorWindow.Path_FBX_BlockModelCommon, $"{BlockEditorWindow.Path_BlockTexturesMat}", "BlockCommon", BlockEditorWindow.Path_BlockMatCommon); }
public static void RefreshBlockModelCustomRes() { //注: 如果是超过2048的图片 需要选用其他的压缩格式 BlockEditorWindow.CreateBlockModel(2048, BlockEditorWindow.Path_FBX_BlockModelCustom, $"{BlockEditorWindow.Path_BlockTexturesMat}", "BlockCustom", BlockEditorWindow.Path_BlockMatCustom, BlockAnimFrameNumber + 1); BlockEditorWindow.CreateBlockMeshData(); }