This commit is contained in:
梦语 2024-10-22 18:47:04 +08:00
parent d10e0705c3
commit dc880dad1b
58 changed files with 680 additions and 3332 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -32,13 +32,13 @@ namespace zbitmapfont
);
}
[MenuItem("Assets/zbitmapfont/CreateTMP_FontAsset")]
[MenuItem("Assets/zbitmapfont/创建TMP字体")]
public static void CreateTMP_FontAsset()
{
foreach (var a in Selection.assetGUIDs)
{
var p = AssetDatabase.GUIDToAssetPath(a);
if (System.IO.Directory.Exists(p))
{
string destPath = p;
@ -62,7 +62,7 @@ namespace zbitmapfont
Create(p);
}
}
static void Create(string fntFilePath)

View File

@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: 4db3a772f9c26844f8741715b21b54b0
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,21 +0,0 @@
fileFormatVersion: 2
guid: 4316410c18310214fb560c7465f8b313
TrueTypeFontImporter:
externalObjects: {}
serializedVersion: 4
fontSize: 16
forceTextureCase: -2
characterSpacing: 0
characterPadding: 1
includeFontData: 1
fontNames:
- Alimama DongFangDaKai
fallbackFontReferences: []
customCharacters:
fontRenderingMode: 0
ascentCalculationMode: 1
useLegacyBoundsCalculation: 0
shouldRoundAdvanceValue: 1
userData:
assetBundleName:
assetBundleVariant:

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 5.4 KiB

File diff suppressed because one or more lines are too long

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 119ac0c1caf7d39459dc86c2ea61b87b
guid: 5260a5b886a7afb42923003dcf1df014
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000

File diff suppressed because one or more lines are too long

View File

@ -21,8 +21,8 @@ MonoBehaviour:
m_GetFontFeaturesAtRuntime: 1
m_missingGlyphCharacter: 0
m_warningsDisabled: 0
m_defaultFontAsset: {fileID: 11400000, guid: 83d42e1d762810e4998bd389027d388d, type: 2}
m_defaultFontAssetPath: Fonts & Materials/
m_defaultFontAsset: {fileID: 11400000, guid: 5260a5b886a7afb42923003dcf1df014, type: 2}
m_defaultFontAssetPath: Fonts/
m_defaultFontSize: 36
m_defaultAutoSizeMinRatio: 0.5
m_defaultAutoSizeMaxRatio: 2

View File

@ -43,7 +43,7 @@ MonoBehaviour:
width: 1920
height: 997
m_ShowMode: 4
m_Title: Console
m_Title: Hierarchy
m_RootView: {fileID: 4}
m_MinSize: {x: 875, y: 300}
m_MaxSize: {x: 10000, y: 10000}
@ -194,7 +194,7 @@ MonoBehaviour:
m_MinSize: {x: 200, y: 100}
m_MaxSize: {x: 16192, y: 16192}
vertical: 0
controlID: 79
controlID: 27
draggingID: 0
--- !u!114 &9
MonoBehaviour:
@ -298,7 +298,7 @@ MonoBehaviour:
m_MinSize: {x: 100, y: 100}
m_MaxSize: {x: 8096, y: 16192}
vertical: 1
controlID: 80
controlID: 53
draggingID: 0
--- !u!114 &13
MonoBehaviour:
@ -369,7 +369,7 @@ MonoBehaviour:
serializedVersion: 2
x: 1059
y: 0
width: 515
width: 465
height: 947
m_MinSize: {x: 232, y: 271}
m_MaxSize: {x: 10002, y: 10021}
@ -393,9 +393,9 @@ MonoBehaviour:
m_Children: []
m_Position:
serializedVersion: 2
x: 1574
x: 1524
y: 0
width: 346
width: 396
height: 947
m_MinSize: {x: 276, y: 71}
m_MaxSize: {x: 4001, y: 4021}
@ -858,9 +858,9 @@ MonoBehaviour:
m_PlayAudio: 0
m_AudioPlay: 0
m_Position:
m_Target: {x: 906.8191, y: 522.6253, z: -0.065582156}
m_Target: {x: 904.3928, y: 588.8913, z: 0.29174668}
speed: 2
m_Value: {x: 906.8191, y: 522.6253, z: -0.065582156}
m_Value: {x: 903.6016, y: 587.36163, z: 0.32357097}
m_RenderMode: 0
m_CameraMode:
drawMode: 0
@ -910,9 +910,9 @@ MonoBehaviour:
speed: 2
m_Value: {x: 0, y: 0, z: 0, w: 1}
m_Size:
m_Target: 109.635864
m_Target: 73.90299
speed: 2
m_Value: 109.635864
m_Value: 70.720566
m_Ortho:
m_Target: 1
speed: 2
@ -974,9 +974,9 @@ MonoBehaviour:
m_SceneHierarchy:
m_TreeViewState:
scrollPos: {x: 0, y: 0}
m_SelectedIDs: fe730000
m_SelectedIDs:
m_LastClickedID: 0
m_ExpandedIDs: f4faffff
m_ExpandedIDs: f4faffff327500008e750000
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
@ -1056,7 +1056,7 @@ MonoBehaviour:
serializedVersion: 2
x: -861
y: 73
width: 513
width: 463
height: 926
m_SerializedDataModeController:
m_DataMode: 0
@ -1079,7 +1079,7 @@ MonoBehaviour:
m_SkipHidden: 0
m_SearchArea: 1
m_Folders:
- Assets/Plugins/Animancer
- Assets/TextMesh Pro/Resources
m_Globs: []
m_OriginalText:
m_ImportLogFlags: 0
@ -1087,16 +1087,16 @@ MonoBehaviour:
m_ViewMode: 1
m_StartGridSize: 16
m_LastFolders:
- Assets/Plugins/Animancer
- Assets/TextMesh Pro/Resources
m_LastFoldersGridSize: 16
m_LastProjectPath: D:\Andy\IndieGame\client
m_LockTracker:
m_IsLocked: 0
m_FolderTreeState:
scrollPos: {x: 0, y: 660}
m_SelectedIDs: c07a0000
m_LastClickedID: 31424
m_ExpandedIDs: 00000000ac770000ae770000b0770000b2770000b4770000b6770000b8770000ba770000bc770000be770000c0770000c2770000c4770000c6770000c8770000ca770000cc770000ce770000d0770000d2770000d4770000d6770000d8770000da770000dc770000de770000e0770000e2770000e4770000e6770000e8770000ea770000ec770000ee770000f0770000f2770000f4770000f6770000f8770000fa770000fc770000fe77000000780000027800000478000006780000087800000a7800000c7800000e78000010780000127800001478000016780000187800001a7800001c78000000ca9a3b
scrollPos: {x: 0, y: 586}
m_SelectedIDs: 74820000
m_LastClickedID: 33396
m_ExpandedIDs: 00000000b2770000b4770000b6770000b8770000ba770000bc770000be770000c0770000c2770000c6770000c8770000ca770000cc770000ce770000d0770000d2770000d4770000d6770000d8770000da770000dc770000de770000e0770000e2770000e4770000e6770000e8770000ea770000ec770000ee770000f0770000f2770000f4770000f6770000f8770000fa770000fc770000fe77000000780000027800000478000006780000087800000a7800000c7800000e78000010780000127800001478000016780000187800001c780000dc7a0000227b00003a7b0000427b0000467b00007482000000ca9a3b
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
@ -1151,7 +1151,7 @@ MonoBehaviour:
m_ListAreaState:
m_SelectedInstanceIDs:
m_LastClickedInstanceID: 0
m_HadKeyboardFocusLastEvent: 0
m_HadKeyboardFocusLastEvent: 1
m_ExpandedInstanceIDs: c6230000ea160200066600000000000032730000ac6c00003e73000036c6ffff5889fffff669000084ecffff14ceffff18baffff46b1ffff82adffff4ca4ffff989dffff729bffffee96ffff8e94ffff1692ffff428fffff6488ffff3c84ffff6681ffffb67fffff4a75ffff9a71ffff6269ffff4265ffffb25fffffbc9bfdff7e96fdff32690000fcf1ffff00e0ffffce760000
m_RenameOverlay:
m_UserAcceptedRename: 0
@ -1179,7 +1179,7 @@ MonoBehaviour:
m_ScrollPosition: {x: 0, y: 0}
m_GridSize: 16
m_SkipHiddenPackages: 0
m_DirectoriesAreaWidth: 256
m_DirectoriesAreaWidth: 235
--- !u!114 &22
MonoBehaviour:
m_ObjectHideFlags: 52
@ -1200,9 +1200,9 @@ MonoBehaviour:
m_Tooltip:
m_Pos:
serializedVersion: 2
x: -346
x: -396
y: 73
width: 345
width: 395
height: 926
m_SerializedDataModeController:
m_DataMode: 0