summaryrefslogtreecommitdiff
path: root/Library/Artifacts/5f/5faa51ddf9e496c3c17c61d3d62b24fd
blob: 1fd23113aacaa3d58fd75415da60d3f98ef17c41 (plain)
ofshex dumpascii
0000 00 00 0f 81 00 00 3d 54 00 00 00 15 00 00 10 00 00 00 00 00 32 30 31 39 2e 33 2e 36 66 31 00 fe ......=T............2019.3.6f1..
0020 ff ff ff 01 02 00 00 00 0b 04 00 00 00 ff ff 66 9a 86 21 eb 14 35 98 39 dd 34 1d 51 0e c1 f3 42 ...............f..!..5.9.4.Q...B
0040 00 00 00 ed 00 00 00 02 00 00 00 00 00 00 00 37 00 00 80 ff ff ff ff 00 00 00 00 00 80 00 00 00 ...............7................
0060 00 00 00 00 00 00 00 01 00 01 00 a6 03 00 80 b2 01 00 80 04 00 00 00 01 00 00 00 01 00 00 00 00 ................................
0080 00 00 00 00 00 00 00 01 00 01 00 0d 00 00 00 45 04 00 80 0c 00 00 00 02 00 00 00 01 00 00 00 00 ...............E................
00a0 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 23 00 00 00 04 00 00 00 03 00 00 00 01 00 80 00 00 ...............#................
00c0 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 2c 00 00 00 08 00 00 00 04 00 00 00 01 00 80 00 00 ...............,................
00e0 00 00 00 00 00 00 00 01 00 01 00 35 00 00 00 61 04 00 80 0c 00 00 00 05 00 00 00 01 00 00 00 00 ...........5...a................
0100 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 23 00 00 00 04 00 00 00 06 00 00 00 01 00 80 00 00 ...............#................
0120 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 2c 00 00 00 08 00 00 00 07 00 00 00 01 00 80 00 00 ...............,................
0140 00 00 00 00 00 00 00 01 00 01 00 86 02 00 80 72 04 00 80 0c 00 00 00 08 00 00 00 01 00 00 00 00 ...............r................
0160 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 23 00 00 00 04 00 00 00 09 00 00 00 01 00 80 00 00 ...............#................
0180 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 2c 00 00 00 08 00 00 00 0a 00 00 00 01 00 80 00 00 ...............,................
01a0 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 ab 01 00 80 ff ff ff ff 0b 00 00 00 01 80 08 00 00 ...........H....................
01c0 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 0c 00 00 00 01 40 08 00 00 ...........1...1............@...
01e0 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 0d 00 00 00 01 00 08 00 00 ................................
0200 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a 00 00 80 01 00 00 00 0e 00 00 00 01 00 08 00 00 ...........Q...j................
0220 00 00 00 00 00 00 00 01 00 01 00 f1 00 00 80 4a 00 00 00 ff ff ff ff 0f 00 00 00 00 c0 00 00 00 ...............J................
0240 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 10 00 00 00 00 80 00 00 00 ...........1...1................
0260 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 11 00 00 00 00 00 00 00 00 ................................
0280 00 00 00 00 00 00 00 01 00 03 00 1f 02 00 80 6a 00 00 80 ff ff ff ff 12 00 00 00 00 80 00 00 00 ...............j................
02a0 00 00 00 00 00 00 00 01 00 04 00 5c 00 00 00 9b 00 00 80 ff ff ff ff 13 00 00 00 00 80 00 00 00 ...........\....................
02c0 00 00 00 00 00 00 00 01 00 05 00 48 03 00 80 72 00 00 00 ff ff ff ff 14 00 00 00 00 80 00 00 00 ...........H...r................
02e0 00 00 00 00 00 00 00 01 00 06 01 31 00 00 80 31 00 00 80 ff ff ff ff 15 00 00 00 01 40 00 00 00 ...........1...1............@...
0300 00 00 00 00 00 00 00 01 00 07 00 de 00 00 80 1b 03 00 80 04 00 00 00 16 00 00 00 01 00 00 00 00 ................................
0320 00 00 00 00 00 00 00 01 00 07 00 51 00 00 80 6a 00 00 80 01 00 00 00 17 00 00 00 01 00 00 00 00 ...........Q...j................
0340 00 00 00 00 00 00 00 01 00 05 00 48 03 00 80 77 00 00 00 ff ff ff ff 18 00 00 00 00 80 00 00 00 ...........H...w................
0360 00 00 00 00 00 00 00 01 00 06 01 31 00 00 80 31 00 00 80 ff ff ff ff 19 00 00 00 01 40 00 00 00 ...........1...1............@...
0380 00 00 00 00 00 00 00 01 00 07 00 de 00 00 80 1b 03 00 80 04 00 00 00 1a 00 00 00 01 00 00 00 00 ................................
03a0 00 00 00 00 00 00 00 01 00 07 00 51 00 00 80 6a 00 00 80 01 00 00 00 1b 00 00 00 01 00 00 00 00 ...........Q...j................
03c0 00 00 00 00 00 00 00 01 00 05 00 48 03 00 80 80 00 00 00 ff ff ff ff 1c 00 00 00 00 80 00 00 00 ...........H....................
03e0 00 00 00 00 00 00 00 01 00 06 01 31 00 00 80 31 00 00 80 ff ff ff ff 1d 00 00 00 01 40 00 00 00 ...........1...1............@...
0400 00 00 00 00 00 00 00 01 00 07 00 de 00 00 80 1b 03 00 80 04 00 00 00 1e 00 00 00 01 00 00 00 00 ................................
0420 00 00 00 00 00 00 00 01 00 07 00 51 00 00 80 6a 00 00 80 01 00 00 00 1f 00 00 00 01 00 00 00 00 ...........Q...j................
0440 00 00 00 00 00 00 00 01 00 04 00 79 02 00 80 0a 03 00 80 0c 00 00 00 20 00 00 00 00 00 00 00 00 ...........y....................
0460 00 00 00 00 00 00 00 01 00 05 00 de 00 00 80 23 00 00 00 04 00 00 00 21 00 00 00 01 00 80 00 00 ...............#.......!........
0480 00 00 00 00 00 00 00 01 00 05 00 2e 03 00 80 2c 00 00 00 08 00 00 00 22 00 00 00 01 00 80 00 00 ...............,......."........
04a0 00 00 00 00 00 00 00 01 00 01 00 11 03 00 80 85 00 00 00 ff ff ff ff 23 00 00 00 01 40 08 00 00 .......................#....@...
04c0 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 24 00 00 00 01 00 08 00 00 ...........1...1.......$........
04e0 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 25 00 00 00 01 00 08 00 00 .......................%........
0500 00 00 00 00 00 00 00 01 00 03 00 2e 03 00 80 6a 00 00 80 08 00 00 00 26 00 00 00 01 00 08 00 00 ...............j.......&........
0520 00 00 00 00 00 00 00 01 00 01 00 d5 03 00 80 93 00 00 00 ff ff ff ff 27 00 00 00 00 80 00 00 00 .......................'........
0540 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 28 00 00 00 00 c0 00 00 00 ...........1...1.......(........
0560 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 29 00 00 00 00 00 00 00 00 .......................)........
0580 00 00 00 00 00 00 00 01 00 03 00 1f 02 00 80 6a 00 00 80 ff ff ff ff 2a 00 00 00 00 80 00 00 00 ...............j.......*........
05a0 00 00 00 00 00 00 00 01 00 04 00 48 03 00 80 9b 00 00 80 ff ff ff ff 2b 00 00 00 00 80 00 00 00 ...........H...........+........
05c0 00 00 00 00 00 00 00 01 00 05 01 31 00 00 80 31 00 00 80 ff ff ff ff 2c 00 00 00 01 40 00 00 00 ...........1...1.......,....@...
05e0 00 00 00 00 00 00 00 01 00 06 00 de 00 00 80 1b 03 00 80 04 00 00 00 2d 00 00 00 01 00 00 00 00 .......................-........
0600 00 00 00 00 00 00 00 01 00 06 00 51 00 00 80 6a 00 00 80 01 00 00 00 2e 00 00 00 01 00 00 00 00 ...........Q...j................
0620 00 00 00 00 00 00 00 01 00 04 00 79 02 00 80 0a 03 00 80 0c 00 00 00 2f 00 00 00 00 00 00 00 00 ...........y.........../........
0640 00 00 00 00 00 00 00 01 00 05 00 de 00 00 80 23 00 00 00 04 00 00 00 30 00 00 00 01 00 80 00 00 ...............#.......0........
0660 00 00 00 00 00 00 00 01 00 05 00 2e 03 00 80 2c 00 00 00 08 00 00 00 31 00 00 00 01 00 80 00 00 ...............,.......1........
0680 00 00 00 00 00 00 00 01 00 01 00 20 03 00 80 a7 00 00 00 02 00 00 00 32 00 00 00 00 40 00 00 00 .......................2....@...
06a0 00 00 00 00 00 00 00 01 00 01 00 be 02 00 80 b6 00 00 00 0c 00 00 00 33 00 00 00 00 40 00 00 00 .......................3....@...
06c0 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 23 00 00 00 04 00 00 00 34 00 00 00 01 00 80 00 00 ...............#.......4........
06e0 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 2c 00 00 00 08 00 00 00 35 00 00 00 01 00 80 00 00 ...............,.......5........
0700 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 bb 00 00 00 ff ff ff ff 36 00 00 00 01 80 00 00 00 ...........H...........6........
0720 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 37 00 00 00 01 40 00 00 00 ...........1...1.......7....@...
0740 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 38 00 00 00 01 00 00 00 00 .......................8........
0760 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a 00 00 80 01 00 00 00 39 00 00 00 01 00 00 00 00 ...........Q...j.......9........
0780 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 c6 00 00 00 ff ff ff ff 3a 00 00 00 01 80 00 00 00 ...........H...........:........
07a0 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 3b 00 00 00 01 40 00 00 00 ...........1...1.......;....@...
07c0 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 3c 00 00 00 01 00 00 00 00 .......................<........
07e0 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a 00 00 80 01 00 00 00 3d 00 00 00 01 00 00 00 00 ...........Q...j.......=........
0800 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 d8 00 00 00 ff ff ff ff 3e 00 00 00 01 80 00 00 00 ...........H...........>........
0820 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 3f 00 00 00 01 40 00 00 00 ...........1...1.......?....@...
0840 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 40 00 00 00 01 00 00 00 00 .......................@........
0860 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a 00 00 80 01 00 00 00 41 00 00 00 01 00 00 00 00 ...........Q...j.......A........
0880 00 00 00 00 00 00 00 4d 6f 6e 6f 49 6d 70 6f 72 74 65 72 00 50 50 74 72 3c 45 64 69 74 6f 72 45 .......MonoImporter.PPtr<EditorE
08a0 78 74 65 6e 73 69 6f 6e 3e 00 6d 5f 46 69 6c 65 49 44 00 6d 5f 50 61 74 68 49 44 00 50 50 74 72 xtension>.m_FileID.m_PathID.PPtr
08c0 3c 50 72 65 66 61 62 49 6e 73 74 61 6e 63 65 3e 00 6d 5f 45 78 74 65 72 6e 61 6c 4f 62 6a 65 63 <PrefabInstance>.m_ExternalObjec
08e0 74 73 00 53 6f 75 72 63 65 41 73 73 65 74 49 64 65 6e 74 69 66 69 65 72 00 74 79 70 65 00 61 73 ts.SourceAssetIdentifier.type.as
0900 73 65 6d 62 6c 79 00 6e 61 6d 65 00 6d 5f 55 73 65 64 46 69 6c 65 49 44 73 00 6d 5f 44 65 66 61 sembly.name.m_UsedFileIDs.m_Defa
0920 75 6c 74 52 65 66 65 72 65 6e 63 65 73 00 65 78 65 63 75 74 69 6f 6e 4f 72 64 65 72 00 69 63 6f ultReferences.executionOrder.ico
0940 6e 00 6d 5f 55 73 65 72 44 61 74 61 00 6d 5f 41 73 73 65 74 42 75 6e 64 6c 65 4e 61 6d 65 00 6d n.m_UserData.m_AssetBundleName.m
0960 5f 41 73 73 65 74 42 75 6e 64 6c 65 56 61 72 69 61 6e 74 00 00 00 00 00 73 00 00 00 00 ff ff a3 _AssetBundleVariant.....s.......
0980 47 f1 d7 dc 8f 5a 35 36 a0 3a 21 40 69 c1 4a 2a 00 00 00 81 00 00 00 05 00 00 00 15 01 00 80 37 G....Z56.:!@i.J*...............7
09a0 00 00 80 ff ff ff ff 00 00 00 00 00 80 00 00 00 00 00 00 00 00 00 00 01 00 01 00 a6 03 00 80 b2 ................................
09c0 01 00 80 04 00 00 00 01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 01 00 00 00 00 00 45 ...............................E
09e0 04 00 80 0c 00 00 00 02 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 16 ................................
0a00 00 00 00 04 00 00 00 03 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 1f ................................
0a20 00 00 00 08 00 00 00 04 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 01 00 28 00 00 00 61 ...........................(...a
0a40 04 00 80 0c 00 00 00 05 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 16 ................................
0a60 00 00 00 04 00 00 00 06 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 1f ................................
0a80 00 00 00 08 00 00 00 07 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 01 00 86 02 00 80 72 ...............................r
0aa0 04 00 80 0c 00 00 00 08 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 16 ................................
0ac0 00 00 00 04 00 00 00 09 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 1f ................................
0ae0 00 00 00 08 00 00 00 0a 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 ab ...........................H....
0b00 01 00 80 ff ff ff ff 0b 00 00 00 01 80 08 00 00 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 ...........................1...1
0b20 00 00 80 ff ff ff ff 0c 00 00 00 01 40 08 00 00 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b ............@...................
0b40 03 00 80 04 00 00 00 0d 00 00 00 01 00 08 00 00 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a ...........................Q...j
0b60 00 00 80 01 00 00 00 0e 00 00 00 01 00 08 00 00 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 ea ...........................H....
0b80 01 00 80 ff ff ff ff 0f 00 00 00 01 80 00 00 00 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 ...........................1...1
0ba0 00 00 80 ff ff ff ff 10 00 00 00 01 40 00 00 00 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b ............@...................
0bc0 03 00 80 04 00 00 00 11 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a ...........................Q...j
0be0 00 00 80 01 00 00 00 12 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 01 00 f1 00 00 80 3d ...............................=
0c00 00 00 00 ff ff ff ff 13 00 00 00 01 80 00 00 00 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 ...........................1...1
0c20 00 00 80 ff ff ff ff 14 00 00 00 01 80 00 00 00 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b ................................
0c40 03 00 80 04 00 00 00 15 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 03 00 1f 02 00 80 6a ...............................j
0c60 00 00 80 ff ff ff ff 16 00 00 00 01 80 00 00 00 00 00 00 00 00 00 00 01 00 04 00 48 03 00 80 9b ...........................H....
0c80 00 00 80 ff ff ff ff 17 00 00 00 01 80 00 00 00 00 00 00 00 00 00 00 01 00 05 01 31 00 00 80 31 ...........................1...1
0ca0 00 00 80 ff ff ff ff 18 00 00 00 01 40 00 00 00 00 00 00 00 00 00 00 01 00 06 00 de 00 00 80 1b ............@...................
0cc0 03 00 80 04 00 00 00 19 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 06 00 51 00 00 80 6a ...........................Q...j
0ce0 00 00 80 01 00 00 00 1a 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 04 00 79 02 00 80 0a ...........................y....
0d00 03 00 80 0c 00 00 00 1b 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 05 00 de 00 00 80 16 ................................
0d20 00 00 00 04 00 00 00 1c 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 05 00 2e 03 00 80 1f ................................
0d40 00 00 00 08 00 00 00 1d 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 01 00 79 02 00 80 51 ...........................y...Q
0d60 00 00 00 0c 00 00 00 1e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 16 ................................
0d80 00 00 00 04 00 00 00 1f 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 1f ................................
0da0 00 00 00 08 00 00 00 20 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 01 00 de 00 00 80 58 ...............................X
0dc0 00 00 00 04 00 00 00 21 00 00 00 10 00 00 00 00 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 69 .......!...................H...i
0de0 00 00 00 ff ff ff ff 22 00 00 00 10 80 00 00 00 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 ......."...................1...1
0e00 00 00 80 ff ff ff ff 23 00 00 00 11 40 00 00 00 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b .......#....@...................
0e20 03 00 80 04 00 00 00 24 00 00 00 11 00 00 00 00 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a .......$...................Q...j
0e40 00 00 80 01 00 00 00 25 00 00 00 11 00 00 00 00 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 75 .......%...................H...u
0e60 00 00 00 ff ff ff ff 26 00 00 00 10 80 00 00 00 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 .......&...................1...1
0e80 00 00 80 ff ff ff ff 27 00 00 00 11 40 00 00 00 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b .......'....@...................
0ea0 03 00 80 04 00 00 00 28 00 00 00 11 00 00 00 00 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a .......(...................Q...j
0ec0 00 00 80 01 00 00 00 29 00 00 00 11 00 00 00 00 00 00 00 00 00 00 00 50 50 74 72 3c 45 64 69 74 .......)...............PPtr<Edit
0ee0 6f 72 45 78 74 65 6e 73 69 6f 6e 3e 00 6d 5f 46 69 6c 65 49 44 00 6d 5f 50 61 74 68 49 44 00 50 orExtension>.m_FileID.m_PathID.P
0f00 50 74 72 3c 50 72 65 66 61 62 49 6e 73 74 61 6e 63 65 3e 00 6d 5f 44 65 66 61 75 6c 74 52 65 66 Ptr<PrefabInstance>.m_DefaultRef
0f20 65 72 65 6e 63 65 73 00 6d 5f 49 63 6f 6e 00 6d 5f 45 78 65 63 75 74 69 6f 6e 4f 72 64 65 72 00 erences.m_Icon.m_ExecutionOrder.
0f40 6d 5f 43 6c 61 73 73 4e 61 6d 65 00 6d 5f 4e 61 6d 65 73 70 61 63 65 00 00 00 00 00 02 00 00 00 m_ClassName.m_Namespace.........
0f60 03 00 00 00 00 00 00 00 00 00 00 00 5c 00 00 00 00 00 00 00 e0 79 af 00 00 00 00 00 60 00 00 00 ............\........y......`...
0f80 f4 2c 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .,..............................
0fa0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0fc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0fe0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 e0 79 af 00 00 00 00 00 00 00 00 00 .....................y..........
1040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1080 00 00 00 00 00 00 00 00 1b 00 00 00 54 4d 50 5f 43 68 61 72 61 63 74 65 72 50 72 6f 70 65 72 74 ............TMP_CharacterPropert
10a0 79 44 72 61 77 65 72 00 57 2c 00 00 75 73 69 6e 67 20 55 6e 69 74 79 45 6e 67 69 6e 65 3b 0d 0a yDrawer.W,..using.UnityEngine;..
10c0 75 73 69 6e 67 20 55 6e 69 74 79 45 6e 67 69 6e 65 2e 54 65 78 74 43 6f 72 65 3b 0d 0a 75 73 69 using.UnityEngine.TextCore;..usi
10e0 6e 67 20 55 6e 69 74 79 45 6e 67 69 6e 65 2e 54 65 78 74 43 6f 72 65 2e 4c 6f 77 4c 65 76 65 6c ng.UnityEngine.TextCore.LowLevel
1100 3b 0d 0a 75 73 69 6e 67 20 55 6e 69 74 79 45 64 69 74 6f 72 3b 0d 0a 75 73 69 6e 67 20 53 79 73 ;..using.UnityEditor;..using.Sys
1120 74 65 6d 2e 43 6f 6c 6c 65 63 74 69 6f 6e 73 3b 0d 0a 0d 0a 0d 0a 6e 61 6d 65 73 70 61 63 65 20 tem.Collections;......namespace.
1140 54 4d 50 72 6f 2e 45 64 69 74 6f 72 55 74 69 6c 69 74 69 65 73 0d 0a 7b 0d 0a 20 20 20 20 5b 43 TMPro.EditorUtilities..{......[C
1160 75 73 74 6f 6d 50 72 6f 70 65 72 74 79 44 72 61 77 65 72 28 74 79 70 65 6f 66 28 54 4d 50 5f 43 ustomPropertyDrawer(typeof(TMP_C
1180 68 61 72 61 63 74 65 72 29 29 5d 0d 0a 20 20 20 20 70 75 62 6c 69 63 20 63 6c 61 73 73 20 54 4d haracter))]......public.class.TM
11a0 50 5f 43 68 61 72 61 63 74 65 72 50 72 6f 70 65 72 74 79 44 72 61 77 65 72 20 3a 20 50 72 6f 70 P_CharacterPropertyDrawer.:.Prop
11c0 65 72 74 79 44 72 61 77 65 72 0d 0a 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 2f 2f 5b 53 65 ertyDrawer......{..........//[Se
11e0 72 69 61 6c 69 7a 65 46 69 65 6c 64 5d 0d 0a 20 20 20 20 20 20 20 20 2f 2f 73 74 61 74 69 63 20 rializeField]..........//static.
1200 4d 61 74 65 72 69 61 6c 20 73 5f 49 6e 74 65 72 6e 61 6c 53 44 46 4d 61 74 65 72 69 61 6c 3b 0d Material.s_InternalSDFMaterial;.
1220 0a 0d 0a 20 20 20 20 20 20 20 20 2f 2f 5b 53 65 72 69 61 6c 69 7a 65 46 69 65 6c 64 5d 0d 0a 20 ...........//[SerializeField]...
1240 20 20 20 20 20 20 20 2f 2f 73 74 61 74 69 63 20 4d 61 74 65 72 69 61 6c 20 73 5f 49 6e 74 65 72 .......//static.Material.s_Inter
1260 6e 61 6c 42 69 74 6d 61 70 4d 61 74 65 72 69 61 6c 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 69 6e nalBitmapMaterial;............in
1280 74 20 6d 5f 47 6c 79 70 68 53 65 6c 65 63 74 65 64 46 6f 72 45 64 69 74 69 6e 67 20 3d 20 2d 31 t.m_GlyphSelectedForEditing.=.-1
12a0 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 6f 76 65 72 72 69 64 65 20 76 6f 69 ;............public.override.voi
12c0 64 20 4f 6e 47 55 49 28 52 65 63 74 20 70 6f 73 69 74 69 6f 6e 2c 20 53 65 72 69 61 6c 69 7a 65 d.OnGUI(Rect.position,.Serialize
12e0 64 50 72 6f 70 65 72 74 79 20 70 72 6f 70 65 72 74 79 2c 20 47 55 49 43 6f 6e 74 65 6e 74 20 6c dProperty.property,.GUIContent.l
1300 61 62 65 6c 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 53 65 abel)..........{..............Se
1320 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 20 70 72 6f 70 5f 55 6e 69 63 6f 64 65 20 3d 20 rializedProperty.prop_Unicode.=.
1340 70 72 6f 70 65 72 74 79 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 52 65 6c 61 74 69 76 65 28 22 6d property.FindPropertyRelative("m
1360 5f 55 6e 69 63 6f 64 65 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 53 65 72 69 61 6c 69 _Unicode");..............Seriali
1380 7a 65 64 50 72 6f 70 65 72 74 79 20 70 72 6f 70 5f 47 6c 79 70 68 49 6e 64 65 78 20 3d 20 70 72 zedProperty.prop_GlyphIndex.=.pr
13a0 6f 70 65 72 74 79 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 52 65 6c 61 74 69 76 65 28 22 6d 5f 47 operty.FindPropertyRelative("m_G
13c0 6c 79 70 68 49 6e 64 65 78 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 53 65 72 69 61 6c lyphIndex");..............Serial
13e0 69 7a 65 64 50 72 6f 70 65 72 74 79 20 70 72 6f 70 5f 53 63 61 6c 65 20 3d 20 70 72 6f 70 65 72 izedProperty.prop_Scale.=.proper
1400 74 79 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 52 65 6c 61 74 69 76 65 28 22 6d 5f 53 63 61 6c 65 ty.FindPropertyRelative("m_Scale
1420 22 29 3b 0d 0a 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 47 55 49 53 74 79 6c 65 20 73 74 ");..................GUIStyle.st
1440 79 6c 65 20 3d 20 6e 65 77 20 47 55 49 53 74 79 6c 65 28 45 64 69 74 6f 72 53 74 79 6c 65 73 2e yle.=.new.GUIStyle(EditorStyles.
1460 6c 61 62 65 6c 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 74 79 6c 65 2e 72 69 63 68 54 label);..............style.richT
1480 65 78 74 20 3d 20 74 72 75 65 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f ext.=.true;................Edito
14a0 72 47 55 49 55 74 69 6c 69 74 79 2e 6c 61 62 65 6c 57 69 64 74 68 20 3d 20 34 30 66 3b 0d 0a 20 rGUIUtility.labelWidth.=.40f;...
14c0 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 66 69 65 6c ...........EditorGUIUtility.fiel
14e0 64 57 69 64 74 68 20 3d 20 35 30 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 52 65 63 74 dWidth.=.50;................Rect
1500 20 72 65 63 74 20 3d 20 6e 65 77 20 52 65 63 74 28 70 6f 73 69 74 69 6f 6e 2e 78 20 2b 20 35 30 .rect.=.new.Rect(position.x.+.50
1520 2c 20 70 6f 73 69 74 69 6f 6e 2e 79 2c 20 70 6f 73 69 74 69 6f 6e 2e 77 69 64 74 68 2c 20 34 39 ,.position.y,.position.width,.49
1540 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 44 69 73 70 6c 61 79 20 6e 6f 6e );................//.Display.non
1560 2d 65 64 69 74 61 62 6c 65 20 66 69 65 6c 64 73 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 -editable.fields..............if
1580 20 28 47 55 49 2e 65 6e 61 62 6c 65 64 20 3d 3d 20 66 61 6c 73 65 29 0d 0a 20 20 20 20 20 20 20 .(GUI.enabled.==.false).........
15a0 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 74 20 75 6e 69 63 .....{..................int.unic
15c0 6f 64 65 20 3d 20 70 72 6f 70 5f 55 6e 69 63 6f 64 65 2e 69 6e 74 56 61 6c 75 65 3b 0d 0a 20 20 ode.=.prop_Unicode.intValue;....
15e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 2e 4c 61 62 65 6c 46 69 65 ..............EditorGUI.LabelFie
1600 6c 64 28 6e 65 77 20 52 65 63 74 28 72 65 63 74 2e 78 2c 20 72 65 63 74 2e 79 2c 20 31 32 30 66 ld(new.Rect(rect.x,.rect.y,.120f
1620 2c 20 31 38 29 2c 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 55 6e 69 63 6f 64 65 3a 20 ,.18),.new.GUIContent("Unicode:.
1640 3c 63 6f 6c 6f 72 3d 23 46 46 46 46 38 30 3e 30 78 22 20 2b 20 75 6e 69 63 6f 64 65 2e 54 6f 53 <color=#FFFF80>0x".+.unicode.ToS
1660 74 72 69 6e 67 28 22 58 22 29 20 2b 20 22 3c 2f 63 6f 6c 6f 72 3e 22 29 2c 20 73 74 79 6c 65 29 tring("X").+."</color>"),.style)
1680 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 2e 4c 61 62 ;..................EditorGUI.Lab
16a0 65 6c 46 69 65 6c 64 28 6e 65 77 20 52 65 63 74 28 72 65 63 74 2e 78 20 2b 20 31 31 35 2c 20 72 elField(new.Rect(rect.x.+.115,.r
16c0 65 63 74 2e 79 2c 20 31 32 30 66 2c 20 31 38 29 2c 20 75 6e 69 63 6f 64 65 20 3c 3d 20 30 78 46 ect.y,.120f,.18),.unicode.<=.0xF
16e0 46 46 46 20 3f 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 55 54 46 31 36 3a 20 3c 63 6f FFF.?.new.GUIContent("UTF16:.<co
1700 6c 6f 72 3d 23 46 46 46 46 38 30 3e 5c 5c 75 22 20 2b 20 75 6e 69 63 6f 64 65 2e 54 6f 53 74 72 lor=#FFFF80>\\u".+.unicode.ToStr
1720 69 6e 67 28 22 58 34 22 29 20 2b 20 22 3c 2f 63 6f 6c 6f 72 3e 22 29 20 3a 20 6e 65 77 20 47 55 ing("X4").+."</color>").:.new.GU
1740 49 43 6f 6e 74 65 6e 74 28 22 55 54 46 33 32 3a 20 3c 63 6f 6c 6f 72 3d 23 46 46 46 46 38 30 3e IContent("UTF32:.<color=#FFFF80>
1760 5c 5c 55 22 20 2b 20 75 6e 69 63 6f 64 65 2e 54 6f 53 74 72 69 6e 67 28 22 58 38 22 29 20 2b 20 \\U".+.unicode.ToString("X8").+.
1780 22 3c 2f 63 6f 6c 6f 72 3e 22 29 2c 20 73 74 79 6c 65 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 "</color>"),.style);............
17a0 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 2e 4c 61 62 65 6c 46 69 65 6c 64 28 6e 65 77 20 52 ......EditorGUI.LabelField(new.R
17c0 65 63 74 28 72 65 63 74 2e 78 2c 20 72 65 63 74 2e 79 20 2b 20 31 38 2c 20 31 32 30 2c 20 31 38 ect(rect.x,.rect.y.+.18,.120,.18
17e0 29 2c 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 47 6c 79 70 68 20 49 44 3a 20 3c 63 6f ),.new.GUIContent("Glyph.ID:.<co
1800 6c 6f 72 3d 23 46 46 46 46 38 30 3e 22 20 2b 20 70 72 6f 70 5f 47 6c 79 70 68 49 6e 64 65 78 2e lor=#FFFF80>".+.prop_GlyphIndex.
1820 69 6e 74 56 61 6c 75 65 20 2b 20 22 3c 2f 63 6f 6c 6f 72 3e 22 29 2c 20 73 74 79 6c 65 29 3b 0d intValue.+."</color>"),.style);.
1840 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 2e 4c 61 62 65 6c .................EditorGUI.Label
1860 46 69 65 6c 64 28 6e 65 77 20 52 65 63 74 28 72 65 63 74 2e 78 2c 20 72 65 63 74 2e 79 20 2b 20 Field(new.Rect(rect.x,.rect.y.+.
1880 33 36 2c 20 38 30 2c 20 31 38 29 2c 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 53 63 61 36,.80,.18),.new.GUIContent("Sca
18a0 6c 65 3a 20 3c 63 6f 6c 6f 72 3d 23 46 46 46 46 38 30 3e 22 20 2b 20 70 72 6f 70 5f 53 63 61 6c le:.<color=#FFFF80>".+.prop_Scal
18c0 65 2e 66 6c 6f 61 74 56 61 6c 75 65 20 2b 20 22 3c 2f 63 6f 6c 6f 72 3e 22 29 2c 20 73 74 79 6c e.floatValue.+."</color>"),.styl
18e0 65 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 44 72 61 77 20 47 e);....................//.Draw.G
1900 6c 79 70 68 20 28 69 66 20 65 78 69 73 74 73 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 lyph.(if.exists)................
1920 20 20 44 72 61 77 47 6c 79 70 68 28 70 6f 73 69 74 69 6f 6e 2c 20 70 72 6f 70 65 72 74 79 29 3b ..DrawGlyph(position,.property);
1940 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 ..............}..............els
1960 65 20 2f 2f 20 44 69 73 70 6c 61 79 20 65 64 69 74 61 62 6c 65 20 66 69 65 6c 64 73 0d 0a 20 20 e.//.Display.editable.fields....
1980 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 ..........{..................Edi
19a0 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 6c 61 62 65 6c 57 69 64 74 68 20 3d 20 35 35 66 3b 0d torGUIUtility.labelWidth.=.55f;.
19c0 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 47 55 49 2e 53 65 74 4e 65 78 74 43 6f 6e 74 .................GUI.SetNextCont
19e0 72 6f 6c 4e 61 6d 65 28 22 55 6e 69 63 6f 64 65 20 49 6e 70 75 74 22 29 3b 0d 0a 20 20 20 20 20 rolName("Unicode.Input");.......
1a00 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 2e 42 65 67 69 6e 43 68 61 6e 67 65 ...........EditorGUI.BeginChange
1a20 43 68 65 63 6b 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 74 72 69 6e 67 Check();..................string
1a40 20 75 6e 69 63 6f 64 65 20 3d 20 45 64 69 74 6f 72 47 55 49 2e 54 65 78 74 46 69 65 6c 64 28 6e .unicode.=.EditorGUI.TextField(n
1a60 65 77 20 52 65 63 74 28 72 65 63 74 2e 78 2c 20 72 65 63 74 2e 79 2c 20 31 32 30 2c 20 31 38 29 ew.Rect(rect.x,.rect.y,.120,.18)
1a80 2c 20 22 55 6e 69 63 6f 64 65 3a 22 2c 20 70 72 6f 70 5f 55 6e 69 63 6f 64 65 2e 69 6e 74 56 61 ,."Unicode:",.prop_Unicode.intVa
1aa0 6c 75 65 2e 54 6f 53 74 72 69 6e 67 28 22 58 22 29 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 lue.ToString("X"));.............
1ac0 20 20 20 20 20 20 20 69 66 20 28 47 55 49 2e 47 65 74 4e 61 6d 65 4f 66 46 6f 63 75 73 65 64 43 .......if.(GUI.GetNameOfFocusedC
1ae0 6f 6e 74 72 6f 6c 28 29 20 3d 3d 20 22 55 6e 69 63 6f 64 65 20 49 6e 70 75 74 22 29 0d 0a 20 20 ontrol().==."Unicode.Input")....
1b00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ..............{.................
1b20 20 20 20 20 20 2f 2f 46 69 6c 74 65 72 20 6f 75 74 20 75 6e 77 61 6e 74 65 64 20 63 68 61 72 61 .....//Filter.out.unwanted.chara
1b40 63 74 65 72 73 2e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 68 61 72 cters.......................char
1b60 20 63 68 72 20 3d 20 45 76 65 6e 74 2e 63 75 72 72 65 6e 74 2e 63 68 61 72 61 63 74 65 72 3b 0d .chr.=.Event.current.character;.
1b80 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 28 63 68 72 20 3c 20 .....................if.((chr.<.
1ba0 27 30 27 20 7c 7c 20 63 68 72 20 3e 20 27 39 27 29 20 26 26 20 28 63 68 72 20 3c 20 27 61 27 20 '0'.||.chr.>.'9').&&.(chr.<.'a'.
1bc0 7c 7c 20 63 68 72 20 3e 20 27 66 27 29 20 26 26 20 28 63 68 72 20 3c 20 27 41 27 20 7c 7c 20 63 ||.chr.>.'f').&&.(chr.<.'A'.||.c
1be0 68 72 20 3e 20 27 46 27 29 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 hr.>.'F'))......................
1c00 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 45 76 65 6e 74 {..........................Event
1c20 2e 63 75 72 72 65 6e 74 2e 63 68 61 72 61 63 74 65 72 20 3d 20 27 5c 30 27 3b 0d 0a 20 20 20 20 .current.character.=.'\0';......
1c40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 ................}...............
1c60 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 45 64 69 74 ...}....................if.(Edit
1c80 6f 72 47 55 49 2e 45 6e 64 43 68 61 6e 67 65 43 68 65 63 6b 28 29 29 0d 0a 20 20 20 20 20 20 20 orGUI.EndChangeCheck()).........
1ca0 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .........{......................
1cc0 2f 2f 20 55 70 64 61 74 65 20 55 6e 69 63 6f 64 65 20 76 61 6c 75 65 0d 0a 20 20 20 20 20 20 20 //.Update.Unicode.value.........
1ce0 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 6f 70 5f 55 6e 69 63 6f 64 65 2e 69 6e 74 56 61 6c .............prop_Unicode.intVal
1d00 75 65 20 3d 20 54 4d 50 5f 54 65 78 74 55 74 69 6c 69 74 69 65 73 2e 53 74 72 69 6e 67 48 65 78 ue.=.TMP_TextUtilities.StringHex
1d20 54 6f 49 6e 74 28 75 6e 69 63 6f 64 65 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ToInt(unicode);.................
1d40 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 43 61 63 68 65 20 63 .}....................//.Cache.c
1d60 75 72 72 65 6e 74 20 67 6c 79 70 68 20 69 6e 64 65 78 20 69 6e 20 63 61 73 65 20 69 74 20 6e 65 urrent.glyph.index.in.case.it.ne
1d80 65 64 73 20 74 6f 20 62 65 20 72 65 73 74 6f 72 65 64 20 69 66 20 74 68 65 20 6e 65 77 20 67 6c eds.to.be.restored.if.the.new.gl
1da0 79 70 68 20 69 6e 64 65 78 20 69 73 20 69 6e 76 61 6c 69 64 2e 0d 0a 20 20 20 20 20 20 20 20 20 yph.index.is.invalid............
1dc0 20 20 20 20 20 20 20 69 6e 74 20 63 75 72 72 65 6e 74 47 6c 79 70 68 49 6e 64 65 78 20 3d 20 70 .......int.currentGlyphIndex.=.p
1de0 72 6f 70 5f 47 6c 79 70 68 49 6e 64 65 78 2e 69 6e 74 56 61 6c 75 65 3b 0d 0a 0d 0a 20 20 20 20 rop_GlyphIndex.intValue;........
1e00 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 6c 61 62 ............EditorGUIUtility.lab
1e20 65 6c 57 69 64 74 68 20 3d 20 35 39 66 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 elWidth.=.59f;..................
1e40 45 64 69 74 6f 72 47 55 49 2e 42 65 67 69 6e 43 68 61 6e 67 65 43 68 65 63 6b 28 29 3b 0d 0a 20 EditorGUI.BeginChangeCheck();...
1e60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 2e 44 65 6c 61 79 65 64 ...............EditorGUI.Delayed
1e80 49 6e 74 46 69 65 6c 64 28 6e 65 77 20 52 65 63 74 28 72 65 63 74 2e 78 2c 20 72 65 63 74 2e 79 IntField(new.Rect(rect.x,.rect.y
1ea0 20 2b 20 31 38 2c 20 31 30 30 2c 20 31 38 29 2c 20 70 72 6f 70 5f 47 6c 79 70 68 49 6e 64 65 78 .+.18,.100,.18),.prop_GlyphIndex
1ec0 2c 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 47 6c 79 70 68 20 49 44 3a 22 29 29 3b 0d ,.new.GUIContent("Glyph.ID:"));.
1ee0 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 45 64 69 74 6f 72 47 55 49 2e 45 .................if.(EditorGUI.E
1f00 6e 64 43 68 61 6e 67 65 43 68 65 63 6b 28 29 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ndChangeCheck())................
1f20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 47 65 74 20 ..{......................//.Get.
1f40 61 20 72 65 66 65 72 65 6e 63 65 20 74 6f 20 74 68 65 20 66 6f 6e 74 20 61 73 73 65 74 0d 0a 20 a.reference.to.the.font.asset...
1f60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 54 4d 50 5f 46 6f 6e 74 41 73 73 65 74 ...................TMP_FontAsset
1f80 20 66 6f 6e 74 41 73 73 65 74 20 3d 20 70 72 6f 70 65 72 74 79 2e 73 65 72 69 61 6c 69 7a 65 64 .fontAsset.=.property.serialized
1fa0 4f 62 6a 65 63 74 2e 74 61 72 67 65 74 4f 62 6a 65 63 74 20 61 73 20 54 4d 50 5f 46 6f 6e 74 41 Object.targetObject.as.TMP_FontA
1fc0 73 73 65 74 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a 20 20 20 sset;...........................
1fe0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 4d 61 6b 65 20 73 75 72 65 20 6e 65 .................//.Make.sure.ne
2000 77 20 67 6c 79 70 68 20 69 6e 64 65 78 20 69 73 20 76 61 6c 69 64 2e 0d 0a 20 20 20 20 20 20 20 w.glyph.index.is.valid..........
2020 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 74 20 65 6c 65 6d 65 6e 74 49 6e 64 65 78 20 3d 20 .............int.elementIndex.=.
2040 66 6f 6e 74 41 73 73 65 74 2e 67 6c 79 70 68 54 61 62 6c 65 2e 46 69 6e 64 49 6e 64 65 78 28 69 fontAsset.glyphTable.FindIndex(i
2060 74 65 6d 20 3d 3e 20 69 74 65 6d 2e 69 6e 64 65 78 20 3d 3d 20 70 72 6f 70 5f 47 6c 79 70 68 49 tem.=>.item.index.==.prop_GlyphI
2080 6e 64 65 78 2e 69 6e 74 56 61 6c 75 65 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 ndex.intValue);.................
20a0 20 20 20 20 20 20 20 69 66 20 28 65 6c 65 6d 65 6e 74 49 6e 64 65 78 20 3d 3d 20 2d 31 29 0d 0a .......if.(elementIndex.==.-1)..
20c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 6f 70 5f 47 6c 79 ........................prop_Gly
20e0 70 68 49 6e 64 65 78 2e 69 6e 74 56 61 6c 75 65 20 3d 20 63 75 72 72 65 6e 74 47 6c 79 70 68 49 phIndex.intValue.=.currentGlyphI
2100 6e 64 65 78 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 0d ndex;......................else.
2120 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 6e 74 41 73 73 .........................fontAss
2140 65 74 2e 6d 5f 49 73 46 6f 6e 74 41 73 73 65 74 4c 6f 6f 6b 75 70 54 61 62 6c 65 73 44 69 72 74 et.m_IsFontAssetLookupTablesDirt
2160 79 20 3d 20 74 72 75 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a y.=.true;..................}....
2180 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 74 20 67 6c 79 70 68 49 6e 64 65 78 20 3d ................int.glyphIndex.=
21a0 20 70 72 6f 70 5f 47 6c 79 70 68 49 6e 64 65 78 2e 69 6e 74 56 61 6c 75 65 3b 0d 0a 20 20 20 20 .prop_GlyphIndex.intValue;......
21c0 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f ..............................//
21e0 20 52 65 73 65 74 20 67 6c 79 70 68 20 73 65 6c 65 63 74 69 6f 6e 20 69 66 20 6e 65 77 20 63 68 .Reset.glyph.selection.if.new.ch
2200 61 72 61 63 74 65 72 20 68 61 73 20 62 65 65 6e 20 73 65 6c 65 63 74 65 64 2e 0d 0a 20 20 20 20 aracter.has.been.selected.......
2220 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 47 55 49 2e 65 6e 61 62 6c 65 64 20 26 26 20 6d ............if.(GUI.enabled.&&.m
2240 5f 47 6c 79 70 68 53 65 6c 65 63 74 65 64 46 6f 72 45 64 69 74 69 6e 67 20 21 3d 20 67 6c 79 70 _GlyphSelectedForEditing.!=.glyp
2260 68 49 6e 64 65 78 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 47 hIndex)......................m_G
2280 6c 79 70 68 53 65 6c 65 63 74 65 64 46 6f 72 45 64 69 74 69 6e 67 20 3d 20 2d 31 3b 0d 0a 0d 0a lyphSelectedForEditing.=.-1;....
22a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 44 69 73 70 6c 61 79 20 62 75 74 74 6f ................//.Display.butto
22c0 6e 20 74 6f 20 65 64 69 74 20 74 68 65 20 67 6c 79 70 68 20 64 61 74 61 2e 0d 0a 20 20 20 20 20 n.to.edit.the.glyph.data........
22e0 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 47 55 49 2e 42 75 74 74 6f 6e 28 6e 65 77 20 52 65 ...........if.(GUI.Button(new.Re
2300 63 74 28 72 65 63 74 2e 78 20 2b 20 31 32 30 2c 20 72 65 63 74 2e 79 20 2b 20 31 38 2c 20 37 35 ct(rect.x.+.120,.rect.y.+.18,.75
2320 2c 20 31 38 29 2c 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 45 64 69 74 20 47 6c 79 70 ,.18),.new.GUIContent("Edit.Glyp
2340 68 22 29 29 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 h")))..................{........
2360 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6d 5f 47 6c 79 70 68 53 65 6c 65 63 74 65 ..............if.(m_GlyphSelecte
2380 64 46 6f 72 45 64 69 74 69 6e 67 20 3d 3d 20 2d 31 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 dForEditing.==.-1)..............
23a0 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 47 6c 79 70 68 53 65 6c 65 63 74 65 64 46 6f 72 45 64 ............m_GlyphSelectedForEd
23c0 69 74 69 6e 67 20 3d 20 67 6c 79 70 68 49 6e 64 65 78 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 iting.=.glyphIndex;.............
23e0 20 20 20 20 20 20 20 20 20 65 6c 73 65 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .........else...................
2400 20 20 20 20 20 20 20 6d 5f 47 6c 79 70 68 53 65 6c 65 63 74 65 64 46 6f 72 45 64 69 74 69 6e 67 .......m_GlyphSelectedForEditing
2420 20 3d 20 2d 31 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f .=.-1;........................//
2440 20 42 75 74 74 6f 6e 20 63 6c 69 63 6b 73 20 73 68 6f 75 6c 64 20 6e 6f 74 20 72 65 73 75 6c 74 .Button.clicks.should.not.result
2460 20 69 6e 20 70 6f 74 65 6e 74 69 61 6c 20 63 68 61 6e 67 65 2e 0d 0a 20 20 20 20 20 20 20 20 20 .in.potential.change............
2480 20 20 20 20 20 20 20 20 20 20 20 47 55 49 2e 63 68 61 6e 67 65 64 20 3d 20 66 61 6c 73 65 3b 0d ...........GUI.changed.=.false;.
24a0 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 .................}..............
24c0 20 20 20 20 20 20 2f 2f 20 53 68 6f 77 20 74 68 65 20 67 6c 79 70 68 20 70 72 6f 70 65 72 74 79 ......//.Show.the.glyph.property
24e0 20 64 72 61 77 65 72 20 69 66 20 73 65 6c 65 63 74 65 64 0d 0a 20 20 20 20 20 20 20 20 20 20 20 .drawer.if.selected.............
2500 20 20 20 20 20 69 66 20 28 67 6c 79 70 68 49 6e 64 65 78 20 3d 3d 20 6d 5f 47 6c 79 70 68 53 65 .....if.(glyphIndex.==.m_GlyphSe
2520 6c 65 63 74 65 64 46 6f 72 45 64 69 74 69 6e 67 20 26 26 20 47 55 49 2e 65 6e 61 62 6c 65 64 29 lectedForEditing.&&.GUI.enabled)
2540 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 ..................{.............
2560 20 20 20 20 20 20 20 20 20 2f 2f 20 47 65 74 20 61 20 72 65 66 65 72 65 6e 63 65 20 74 6f 20 74 .........//.Get.a.reference.to.t
2580 68 65 20 66 6f 6e 74 20 61 73 73 65 74 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 he.font.asset...................
25a0 20 20 20 54 4d 50 5f 46 6f 6e 74 41 73 73 65 74 20 66 6f 6e 74 41 73 73 65 74 20 3d 20 70 72 6f ...TMP_FontAsset.fontAsset.=.pro
25c0 70 65 72 74 79 2e 73 65 72 69 61 6c 69 7a 65 64 4f 62 6a 65 63 74 2e 74 61 72 67 65 74 4f 62 6a perty.serializedObject.targetObj
25e0 65 63 74 20 61 73 20 54 4d 50 5f 46 6f 6e 74 41 73 73 65 74 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 ect.as.TMP_FontAsset;...........
2600 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 66 6f 6e 74 41 73 73 65 74 20 21 3d 20 6e 75 .............if.(fontAsset.!=.nu
2620 6c 6c 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 ll)......................{......
2640 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 47 65 74 20 74 68 65 20 69 ....................//.Get.the.i
2660 6e 64 65 78 20 6f 66 20 74 68 65 20 67 6c 79 70 68 20 69 6e 20 74 68 65 20 66 6f 6e 74 20 61 73 ndex.of.the.glyph.in.the.font.as
2680 73 65 74 20 67 6c 79 70 68 20 74 61 62 6c 65 2e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 set.glyph.table.................
26a0 20 20 20 20 20 20 20 20 20 20 69 6e 74 20 65 6c 65 6d 65 6e 74 49 6e 64 65 78 20 3d 20 66 6f 6e ..........int.elementIndex.=.fon
26c0 74 41 73 73 65 74 2e 67 6c 79 70 68 54 61 62 6c 65 2e 46 69 6e 64 49 6e 64 65 78 28 69 74 65 6d tAsset.glyphTable.FindIndex(item
26e0 20 3d 3e 20 69 74 65 6d 2e 69 6e 64 65 78 20 3d 3d 20 67 6c 79 70 68 49 6e 64 65 78 29 3b 0d 0a .=>.item.index.==.glyphIndex);..
2700 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a 20 20 20 20 20 20 ................................
2720 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 65 6c 65 6d 65 6e 74 49 6e 64 ..................if.(elementInd
2740 65 78 20 21 3d 20 2d 31 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ex.!=.-1).......................
2760 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ...{............................
2780 20 20 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 20 70 72 6f 70 5f 47 6c 79 70 68 54 ..SerializedProperty.prop_GlyphT
27a0 61 62 6c 65 20 3d 20 70 72 6f 70 65 72 74 79 2e 73 65 72 69 61 6c 69 7a 65 64 4f 62 6a 65 63 74 able.=.property.serializedObject
27c0 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 28 22 6d 5f 47 6c 79 70 68 54 61 62 6c 65 22 29 3b 0d 0a .FindProperty("m_GlyphTable");..
27e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 53 65 72 69 ............................Seri
2800 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 20 70 72 6f 70 5f 47 6c 79 70 68 20 3d 20 70 72 6f 70 alizedProperty.prop_Glyph.=.prop
2820 5f 47 6c 79 70 68 54 61 62 6c 65 2e 47 65 74 41 72 72 61 79 45 6c 65 6d 65 6e 74 41 74 49 6e 64 _GlyphTable.GetArrayElementAtInd
2840 65 78 28 65 6c 65 6d 65 6e 74 49 6e 64 65 78 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 ex(elementIndex);...............
2860 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 .................SerializedPrope
2880 72 74 79 20 70 72 6f 70 5f 47 6c 79 70 68 4d 65 74 72 69 63 73 20 3d 20 70 72 6f 70 5f 47 6c 79 rty.prop_GlyphMetrics.=.prop_Gly
28a0 70 68 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 52 65 6c 61 74 69 76 65 28 22 6d 5f 4d 65 74 72 69 ph.FindPropertyRelative("m_Metri
28c0 63 73 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 cs");...........................
28e0 20 20 20 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 20 70 72 6f 70 5f 47 6c 79 70 68 ...SerializedProperty.prop_Glyph
2900 52 65 63 74 20 3d 20 70 72 6f 70 5f 47 6c 79 70 68 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 52 65 Rect.=.prop_Glyph.FindPropertyRe
2920 6c 61 74 69 76 65 28 22 6d 5f 47 6c 79 70 68 52 65 63 74 22 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 lative("m_GlyphRect");..........
2940 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 52 65 63 74 20 6e 65 77 52 65 ......................Rect.newRe
2960 63 74 20 3d 20 45 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e 47 65 74 43 6f 6e 74 72 6f 6c 52 ct.=.EditorGUILayout.GetControlR
2980 65 63 74 28 66 61 6c 73 65 2c 20 31 31 35 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ect(false,.115);................
29a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 2e 44 72 61 77 52 65 63 74 ..............EditorGUI.DrawRect
29c0 28 6e 65 77 20 52 65 63 74 28 6e 65 77 52 65 63 74 2e 78 20 2b 20 35 32 2c 20 6e 65 77 52 65 63 (new.Rect(newRect.x.+.52,.newRec
29e0 74 2e 79 20 2d 20 32 30 2c 20 6e 65 77 52 65 63 74 2e 77 69 64 74 68 20 2d 20 35 32 2c 20 6e 65 t.y.-.20,.newRect.width.-.52,.ne
2a00 77 52 65 63 74 2e 68 65 69 67 68 74 20 2d 20 35 29 2c 20 6e 65 77 20 43 6f 6c 6f 72 28 30 2e 31 wRect.height.-.5),.new.Color(0.1
2a20 66 2c 20 30 2e 31 66 2c 20 30 2e 31 66 2c 20 30 2e 34 35 66 29 29 3b 0d 0a 20 20 20 20 20 20 20 f,.0.1f,.0.1f,.0.45f));.........
2a40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 2e 44 .....................EditorGUI.D
2a60 72 61 77 52 65 63 74 28 6e 65 77 20 52 65 63 74 28 6e 65 77 52 65 63 74 2e 78 20 2b 20 35 33 2c rawRect(new.Rect(newRect.x.+.53,
2a80 20 6e 65 77 52 65 63 74 2e 79 20 2d 20 31 39 2c 20 6e 65 77 52 65 63 74 2e 77 69 64 74 68 20 2d .newRect.y.-.19,.newRect.width.-
2aa0 20 35 34 2c 20 6e 65 77 52 65 63 74 2e 68 65 69 67 68 74 20 2d 20 37 29 2c 20 6e 65 77 20 43 6f .54,.newRect.height.-.7),.new.Co
2ac0 6c 6f 72 28 30 2e 33 66 2c 20 30 2e 33 66 2c 20 30 2e 33 66 2c 20 30 2e 38 66 29 29 3b 0d 0a 0d lor(0.3f,.0.3f,.0.3f,.0.8f));...
2ae0 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 .............................//.
2b00 44 69 73 70 6c 61 79 20 47 6c 79 70 68 52 65 63 74 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 Display.GlyphRect...............
2b20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 65 77 52 65 63 74 2e 78 20 2b 3d 20 35 35 3b 0d ...............newRect.x.+=.55;.
2b40 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 65 77 .............................new
2b60 52 65 63 74 2e 79 20 2d 3d 20 31 38 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 Rect.y.-=.18;...................
2b80 20 20 20 20 20 20 20 20 20 20 20 6e 65 77 52 65 63 74 2e 77 69 64 74 68 20 2b 3d 20 35 3b 0d 0a ...........newRect.width.+=.5;..
2ba0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 ............................Edit
2bc0 6f 72 47 55 49 2e 50 72 6f 70 65 72 74 79 46 69 65 6c 64 28 6e 65 77 52 65 63 74 2c 20 70 72 6f orGUI.PropertyField(newRect,.pro
2be0 70 5f 47 6c 79 70 68 52 65 63 74 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 p_GlyphRect);...................
2c00 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 44 69 73 70 6c 61 79 20 47 6c 79 70 68 4d 65 74 .............//.Display.GlyphMet
2c20 72 69 63 73 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 rics............................
2c40 20 20 6e 65 77 52 65 63 74 2e 79 20 2b 3d 20 34 35 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 ..newRect.y.+=.45;..............
2c60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 2e 50 72 6f 70 65 72 ................EditorGUI.Proper
2c80 74 79 46 69 65 6c 64 28 6e 65 77 52 65 63 74 2c 20 70 72 6f 70 5f 47 6c 79 70 68 4d 65 74 72 69 tyField(newRect,.prop_GlyphMetri
2ca0 63 73 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 cs);............................
2cc0 20 20 20 20 72 65 63 74 2e 79 20 2b 3d 20 31 32 30 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 ....rect.y.+=.120;..............
2ce0 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ............}...................
2d00 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 ...}..................}.........
2d20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 6c 61 62 65 ...........EditorGUIUtility.labe
2d40 6c 57 69 64 74 68 20 3d 20 33 39 66 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 45 lWidth.=.39f;..................E
2d60 64 69 74 6f 72 47 55 49 2e 50 72 6f 70 65 72 74 79 46 69 65 6c 64 28 6e 65 77 20 52 65 63 74 28 ditorGUI.PropertyField(new.Rect(
2d80 72 65 63 74 2e 78 2c 20 72 65 63 74 2e 79 20 2b 20 33 36 2c 20 38 30 2c 20 31 38 29 2c 20 70 72 rect.x,.rect.y.+.36,.80,.18),.pr
2da0 6f 70 5f 53 63 61 6c 65 2c 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 53 63 61 6c 65 3a op_Scale,.new.GUIContent("Scale:
2dc0 22 29 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a 20 20 20 20 20 20 20 20 "));............................
2de0 20 20 20 20 20 20 20 20 2f 2f 20 44 72 61 77 20 47 6c 79 70 68 20 28 69 66 20 65 78 69 73 74 73 ........//.Draw.Glyph.(if.exists
2e00 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 44 72 61 77 47 6c 79 70 68 28 70 6f 73 )..................DrawGlyph(pos
2e20 69 74 69 6f 6e 2c 20 70 72 6f 70 65 72 74 79 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d ition,.property);..............}
2e40 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 6f 76 ..........}............public.ov
2e60 65 72 72 69 64 65 20 66 6c 6f 61 74 20 47 65 74 50 72 6f 70 65 72 74 79 48 65 69 67 68 74 28 53 erride.float.GetPropertyHeight(S
2e80 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 20 70 72 6f 70 65 72 74 79 2c 20 47 55 49 43 erializedProperty.property,.GUIC
2ea0 6f 6e 74 65 6e 74 20 6c 61 62 65 6c 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 ontent.label)..........{........
2ec0 20 20 20 20 20 20 72 65 74 75 72 6e 20 35 38 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 ......return.58;..........}.....
2ee0 20 20 20 20 20 20 20 76 6f 69 64 20 44 72 61 77 47 6c 79 70 68 28 52 65 63 74 20 70 6f 73 69 74 .......void.DrawGlyph(Rect.posit
2f00 69 6f 6e 2c 20 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 20 70 72 6f 70 65 72 74 79 ion,.SerializedProperty.property
2f20 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 47 65 74 )..........{..............//.Get
2f40 20 61 20 72 65 66 65 72 65 6e 63 65 20 74 6f 20 74 68 65 20 61 74 6c 61 73 20 74 65 78 74 75 72 .a.reference.to.the.atlas.textur
2f60 65 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 54 4d 50 5f 46 6f 6e 74 41 73 73 65 74 20 66 6f 6e e..............TMP_FontAsset.fon
2f80 74 41 73 73 65 74 20 3d 20 70 72 6f 70 65 72 74 79 2e 73 65 72 69 61 6c 69 7a 65 64 4f 62 6a 65 tAsset.=.property.serializedObje
2fa0 63 74 2e 74 61 72 67 65 74 4f 62 6a 65 63 74 20 61 73 20 54 4d 50 5f 46 6f 6e 74 41 73 73 65 74 ct.targetObject.as.TMP_FontAsset
2fc0 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 66 6f 6e 74 41 73 73 65 74 20 3d ;................if.(fontAsset.=
2fe0 3d 20 6e 75 6c 6c 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b =.null)..................return;
3000 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 47 65 74 20 61 20 72 65 66 65 72 65 6e ................//.Get.a.referen
3020 63 65 20 74 6f 20 74 68 65 20 47 6c 79 70 68 20 54 61 62 6c 65 0d 0a 20 20 20 20 20 20 20 20 20 ce.to.the.Glyph.Table...........
3040 20 20 20 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 20 70 72 6f 70 5f 47 6c 79 70 68 ...SerializedProperty.prop_Glyph
3060 54 61 62 6c 65 20 3d 20 70 72 6f 70 65 72 74 79 2e 73 65 72 69 61 6c 69 7a 65 64 4f 62 6a 65 63 Table.=.property.serializedObjec
3080 74 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 28 22 6d 5f 47 6c 79 70 68 54 61 62 6c 65 22 29 3b 0d t.FindProperty("m_GlyphTable");.
30a0 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 74 20 67 6c 79 70 68 49 6e 64 65 78 20 3d 20 70 72 .............int.glyphIndex.=.pr
30c0 6f 70 65 72 74 79 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 52 65 6c 61 74 69 76 65 28 22 6d 5f 47 operty.FindPropertyRelative("m_G
30e0 6c 79 70 68 49 6e 64 65 78 22 29 2e 69 6e 74 56 61 6c 75 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 lyphIndex").intValue;...........
3100 20 20 20 69 6e 74 20 65 6c 65 6d 65 6e 74 49 6e 64 65 78 20 3d 20 66 6f 6e 74 41 73 73 65 74 2e ...int.elementIndex.=.fontAsset.
3120 67 6c 79 70 68 54 61 62 6c 65 2e 46 69 6e 64 49 6e 64 65 78 28 69 74 65 6d 20 3d 3e 20 69 74 65 glyphTable.FindIndex(item.=>.ite
3140 6d 2e 69 6e 64 65 78 20 3d 3d 20 67 6c 79 70 68 49 6e 64 65 78 29 3b 0d 0a 0d 0a 20 20 20 20 20 m.index.==.glyphIndex);.........
3160 20 20 20 20 20 20 20 2f 2f 20 52 65 74 75 72 6e 20 69 66 20 77 65 20 63 61 6e 27 74 20 66 69 6e .......//.Return.if.we.can't.fin
3180 64 20 74 68 65 20 67 6c 79 70 68 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 65 6c 65 d.the.glyph..............if.(ele
31a0 6d 65 6e 74 49 6e 64 65 78 20 3d 3d 20 2d 31 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 mentIndex.==.-1)................
31c0 20 20 72 65 74 75 72 6e 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 53 65 72 69 61 6c 69 ..return;................Seriali
31e0 7a 65 64 50 72 6f 70 65 72 74 79 20 70 72 6f 70 5f 47 6c 79 70 68 20 3d 20 70 72 6f 70 5f 47 6c zedProperty.prop_Glyph.=.prop_Gl
3200 79 70 68 54 61 62 6c 65 2e 47 65 74 41 72 72 61 79 45 6c 65 6d 65 6e 74 41 74 49 6e 64 65 78 28 yphTable.GetArrayElementAtIndex(
3220 65 6c 65 6d 65 6e 74 49 6e 64 65 78 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f elementIndex);................//
3240 20 47 65 74 20 72 65 66 65 72 65 6e 63 65 20 74 6f 20 61 74 6c 61 73 20 74 65 78 74 75 72 65 2e .Get.reference.to.atlas.texture.
3260 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 74 20 61 74 6c 61 73 49 6e 64 65 78 20 3d 20 70 ..............int.atlasIndex.=.p
3280 72 6f 70 5f 47 6c 79 70 68 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 52 65 6c 61 74 69 76 65 28 22 rop_Glyph.FindPropertyRelative("
32a0 6d 5f 41 74 6c 61 73 49 6e 64 65 78 22 29 2e 69 6e 74 56 61 6c 75 65 3b 0d 0a 20 20 20 20 20 20 m_AtlasIndex").intValue;........
32c0 20 20 20 20 20 20 54 65 78 74 75 72 65 32 44 20 61 74 6c 61 73 54 65 78 74 75 72 65 20 3d 20 66 ......Texture2D.atlasTexture.=.f
32e0 6f 6e 74 41 73 73 65 74 2e 61 74 6c 61 73 54 65 78 74 75 72 65 73 2e 4c 65 6e 67 74 68 20 3e 20 ontAsset.atlasTextures.Length.>.
3300 61 74 6c 61 73 49 6e 64 65 78 20 3f 20 66 6f 6e 74 41 73 73 65 74 2e 61 74 6c 61 73 54 65 78 74 atlasIndex.?.fontAsset.atlasText
3320 75 72 65 73 5b 61 74 6c 61 73 49 6e 64 65 78 5d 20 3a 20 6e 75 6c 6c 3b 0d 0a 0d 0a 20 20 20 20 ures[atlasIndex].:.null;........
3340 20 20 20 20 20 20 20 20 69 66 20 28 61 74 6c 61 73 54 65 78 74 75 72 65 20 3d 3d 20 6e 75 6c 6c ........if.(atlasTexture.==.null
3360 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0d 0a 0d 0a 20 20 )..................return;......
3380 20 20 20 20 20 20 20 20 20 20 4d 61 74 65 72 69 61 6c 20 6d 61 74 3b 0d 0a 20 20 20 20 20 20 20 ..........Material.mat;.........
33a0 20 20 20 20 20 69 66 20 28 28 28 47 6c 79 70 68 52 61 73 74 65 72 4d 6f 64 65 73 29 66 6f 6e 74 .....if.(((GlyphRasterModes)font
33c0 41 73 73 65 74 2e 61 74 6c 61 73 52 65 6e 64 65 72 4d 6f 64 65 20 26 20 47 6c 79 70 68 52 61 73 Asset.atlasRenderMode.&.GlyphRas
33e0 74 65 72 4d 6f 64 65 73 2e 52 41 53 54 45 52 5f 4d 4f 44 45 5f 42 49 54 4d 41 50 29 20 3d 3d 20 terModes.RASTER_MODE_BITMAP).==.
3400 47 6c 79 70 68 52 61 73 74 65 72 4d 6f 64 65 73 2e 52 41 53 54 45 52 5f 4d 4f 44 45 5f 42 49 54 GlyphRasterModes.RASTER_MODE_BIT
3420 4d 41 50 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 MAP)..............{.............
3440 20 20 20 20 20 6d 61 74 20 3d 20 54 4d 50 5f 46 6f 6e 74 41 73 73 65 74 45 64 69 74 6f 72 2e 69 .....mat.=.TMP_FontAssetEditor.i
3460 6e 74 65 72 6e 61 6c 42 69 74 6d 61 70 4d 61 74 65 72 69 61 6c 3b 0d 0a 0d 0a 20 20 20 20 20 20 nternalBitmapMaterial;..........
3480 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6d 61 74 20 3d 3d 20 6e 75 6c 6c 29 0d 0a 20 20 20 20 ..........if.(mat.==.null)......
34a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0d 0a 0d 0a 20 20 20 20 20 ................return;.........
34c0 20 20 20 20 20 20 20 20 20 20 20 6d 61 74 2e 6d 61 69 6e 54 65 78 74 75 72 65 20 3d 20 61 74 6c ...........mat.mainTexture.=.atl
34e0 61 73 54 65 78 74 75 72 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 61 74 2e asTexture;..................mat.
3500 53 65 74 43 6f 6c 6f 72 28 22 5f 43 6f 6c 6f 72 22 2c 20 43 6f 6c 6f 72 2e 77 68 69 74 65 29 3b SetColor("_Color",.Color.white);
3520 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 ..............}..............els
3540 65 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 e..............{................
3560 20 20 6d 61 74 20 3d 20 54 4d 50 5f 46 6f 6e 74 41 73 73 65 74 45 64 69 74 6f 72 2e 69 6e 74 65 ..mat.=.TMP_FontAssetEditor.inte
3580 72 6e 61 6c 53 44 46 4d 61 74 65 72 69 61 6c 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 rnalSDFMaterial;................
35a0 20 20 20 20 69 66 20 28 6d 61 74 20 3d 3d 20 6e 75 6c 6c 29 0d 0a 20 20 20 20 20 20 20 20 20 20 ....if.(mat.==.null)............
35c0 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 ..........return;...............
35e0 20 20 20 20 20 6d 61 74 2e 6d 61 69 6e 54 65 78 74 75 72 65 20 3d 20 61 74 6c 61 73 54 65 78 74 .....mat.mainTexture.=.atlasText
3600 75 72 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 61 74 2e 53 65 74 46 6c 6f ure;..................mat.SetFlo
3620 61 74 28 53 68 61 64 65 72 55 74 69 6c 69 74 69 65 73 2e 49 44 5f 47 72 61 64 69 65 6e 74 53 63 at(ShaderUtilities.ID_GradientSc
3640 61 6c 65 2c 20 66 6f 6e 74 41 73 73 65 74 2e 61 74 6c 61 73 50 61 64 64 69 6e 67 20 2b 20 31 29 ale,.fontAsset.atlasPadding.+.1)
3660 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 ;..............}................
3680 2f 2f 20 44 72 61 77 20 67 6c 79 70 68 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 52 65 63 74 20 //.Draw.glyph..............Rect.
36a0 67 6c 79 70 68 44 72 61 77 50 6f 73 69 74 69 6f 6e 20 3d 20 6e 65 77 20 52 65 63 74 28 70 6f 73 glyphDrawPosition.=.new.Rect(pos
36c0 69 74 69 6f 6e 2e 78 2c 20 70 6f 73 69 74 69 6f 6e 2e 79 2c 20 34 38 2c 20 35 38 29 3b 0d 0a 0d ition.x,.position.y,.48,.58);...
36e0 0a 20 20 20 20 20 20 20 20 20 20 20 20 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 20 .............SerializedProperty.
3700 70 72 6f 70 5f 47 6c 79 70 68 52 65 63 74 20 3d 20 70 72 6f 70 5f 47 6c 79 70 68 2e 46 69 6e 64 prop_GlyphRect.=.prop_Glyph.Find
3720 50 72 6f 70 65 72 74 79 52 65 6c 61 74 69 76 65 28 22 6d 5f 47 6c 79 70 68 52 65 63 74 22 29 3b PropertyRelative("m_GlyphRect");
3740 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 74 20 67 6c 79 70 68 4f 72 69 67 69 6e 58 ................int.glyphOriginX
3760 20 3d 20 70 72 6f 70 5f 47 6c 79 70 68 52 65 63 74 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 52 65 .=.prop_GlyphRect.FindPropertyRe
3780 6c 61 74 69 76 65 28 22 6d 5f 58 22 29 2e 69 6e 74 56 61 6c 75 65 3b 0d 0a 20 20 20 20 20 20 20 lative("m_X").intValue;.........
37a0 20 20 20 20 20 69 6e 74 20 67 6c 79 70 68 4f 72 69 67 69 6e 59 20 3d 20 70 72 6f 70 5f 47 6c 79 .....int.glyphOriginY.=.prop_Gly
37c0 70 68 52 65 63 74 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 52 65 6c 61 74 69 76 65 28 22 6d 5f 59 phRect.FindPropertyRelative("m_Y
37e0 22 29 2e 69 6e 74 56 61 6c 75 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 74 20 67 6c ").intValue;..............int.gl
3800 79 70 68 57 69 64 74 68 20 3d 20 70 72 6f 70 5f 47 6c 79 70 68 52 65 63 74 2e 46 69 6e 64 50 72 yphWidth.=.prop_GlyphRect.FindPr
3820 6f 70 65 72 74 79 52 65 6c 61 74 69 76 65 28 22 6d 5f 57 69 64 74 68 22 29 2e 69 6e 74 56 61 6c opertyRelative("m_Width").intVal
3840 75 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 74 20 67 6c 79 70 68 48 65 69 67 68 74 ue;..............int.glyphHeight
3860 20 3d 20 70 72 6f 70 5f 47 6c 79 70 68 52 65 63 74 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 52 65 .=.prop_GlyphRect.FindPropertyRe
3880 6c 61 74 69 76 65 28 22 6d 5f 48 65 69 67 68 74 22 29 2e 69 6e 74 56 61 6c 75 65 3b 0d 0a 0d 0a lative("m_Height").intValue;....
38a0 20 20 20 20 20 20 20 20 20 20 20 20 66 6c 6f 61 74 20 6e 6f 72 6d 61 6c 69 7a 65 64 48 65 69 67 ............float.normalizedHeig
38c0 68 74 20 3d 20 66 6f 6e 74 41 73 73 65 74 2e 66 61 63 65 49 6e 66 6f 2e 61 73 63 65 6e 74 4c 69 ht.=.fontAsset.faceInfo.ascentLi
38e0 6e 65 20 2d 20 66 6f 6e 74 41 73 73 65 74 2e 66 61 63 65 49 6e 66 6f 2e 64 65 73 63 65 6e 74 4c ne.-.fontAsset.faceInfo.descentL
3900 69 6e 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 66 6c 6f 61 74 20 73 63 61 6c 65 20 3d 20 ine;..............float.scale.=.
3920 67 6c 79 70 68 44 72 61 77 50 6f 73 69 74 69 6f 6e 2e 77 69 64 74 68 20 2f 20 6e 6f 72 6d 61 6c glyphDrawPosition.width./.normal
3940 69 7a 65 64 48 65 69 67 68 74 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 43 6f izedHeight;................//.Co
3960 6d 70 75 74 65 20 74 68 65 20 6e 6f 72 6d 61 6c 69 7a 65 64 20 74 65 78 74 75 72 65 20 63 6f 6f mpute.the.normalized.texture.coo
3980 72 64 69 6e 61 74 65 73 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 52 65 63 74 20 74 65 78 43 6f rdinates..............Rect.texCo
39a0 6f 72 64 73 20 3d 20 6e 65 77 20 52 65 63 74 28 28 66 6c 6f 61 74 29 67 6c 79 70 68 4f 72 69 67 ords.=.new.Rect((float)glyphOrig
39c0 69 6e 58 20 2f 20 61 74 6c 61 73 54 65 78 74 75 72 65 2e 77 69 64 74 68 2c 20 28 66 6c 6f 61 74 inX./.atlasTexture.width,.(float
39e0 29 67 6c 79 70 68 4f 72 69 67 69 6e 59 20 2f 20 61 74 6c 61 73 54 65 78 74 75 72 65 2e 68 65 69 )glyphOriginY./.atlasTexture.hei
3a00 67 68 74 2c 20 28 66 6c 6f 61 74 29 67 6c 79 70 68 57 69 64 74 68 20 2f 20 61 74 6c 61 73 54 65 ght,.(float)glyphWidth./.atlasTe
3a20 78 74 75 72 65 2e 77 69 64 74 68 2c 20 28 66 6c 6f 61 74 29 67 6c 79 70 68 48 65 69 67 68 74 20 xture.width,.(float)glyphHeight.
3a40 2f 20 61 74 6c 61 73 54 65 78 74 75 72 65 2e 68 65 69 67 68 74 29 3b 0d 0a 0d 0a 20 20 20 20 20 /.atlasTexture.height);.........
3a60 20 20 20 20 20 20 20 69 66 20 28 45 76 65 6e 74 2e 63 75 72 72 65 6e 74 2e 74 79 70 65 20 3d 3d .......if.(Event.current.type.==
3a80 20 45 76 65 6e 74 54 79 70 65 2e 52 65 70 61 69 6e 74 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 .EventType.Repaint).............
3aa0 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 6c 79 70 68 44 72 61 77 50 6f 73 .{..................glyphDrawPos
3ac0 69 74 69 6f 6e 2e 78 20 2b 3d 20 28 67 6c 79 70 68 44 72 61 77 50 6f 73 69 74 69 6f 6e 2e 77 69 ition.x.+=.(glyphDrawPosition.wi
3ae0 64 74 68 20 2d 20 67 6c 79 70 68 57 69 64 74 68 20 2a 20 73 63 61 6c 65 29 20 2f 20 32 3b 0d 0a dth.-.glyphWidth.*.scale)./.2;..
3b00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 6c 79 70 68 44 72 61 77 50 6f 73 69 74 69 6f ................glyphDrawPositio
3b20 6e 2e 79 20 2b 3d 20 28 67 6c 79 70 68 44 72 61 77 50 6f 73 69 74 69 6f 6e 2e 68 65 69 67 68 74 n.y.+=.(glyphDrawPosition.height
3b40 20 2d 20 67 6c 79 70 68 48 65 69 67 68 74 20 2a 20 73 63 61 6c 65 29 20 2f 20 32 3b 0d 0a 20 20 .-.glyphHeight.*.scale)./.2;....
3b60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 6c 79 70 68 44 72 61 77 50 6f 73 69 74 69 6f 6e 2e ..............glyphDrawPosition.
3b80 77 69 64 74 68 20 3d 20 67 6c 79 70 68 57 69 64 74 68 20 2a 20 73 63 61 6c 65 3b 0d 0a 20 20 20 width.=.glyphWidth.*.scale;.....
3ba0 20 20 20 20 20 20 20 20 20 20 20 20 20 67 6c 79 70 68 44 72 61 77 50 6f 73 69 74 69 6f 6e 2e 68 .............glyphDrawPosition.h
3bc0 65 69 67 68 74 20 3d 20 67 6c 79 70 68 48 65 69 67 68 74 20 2a 20 73 63 61 6c 65 3b 0d 0a 0d 0a eight.=.glyphHeight.*.scale;....
3be0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 43 6f 75 6c 64 20 73 77 69 74 63 68 20 ................//.Could.switch.
3c00 74 6f 20 75 73 69 6e 67 20 74 68 65 20 64 65 66 61 75 6c 74 20 6d 61 74 65 72 69 61 6c 20 6f 66 to.using.the.default.material.of
3c20 20 74 68 65 20 66 6f 6e 74 20 61 73 73 65 74 20 77 68 69 63 68 20 77 6f 75 6c 64 20 72 65 71 75 .the.font.asset.which.would.requ
3c40 69 72 65 20 70 61 73 73 69 6e 67 20 73 63 61 6c 65 20 74 6f 20 74 68 65 20 73 68 61 64 65 72 2e ire.passing.scale.to.the.shader.
3c60 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 47 72 61 70 68 69 63 73 2e 44 72 61 77 54 ..................Graphics.DrawT
3c80 65 78 74 75 72 65 28 67 6c 79 70 68 44 72 61 77 50 6f 73 69 74 69 6f 6e 2c 20 61 74 6c 61 73 54 exture(glyphDrawPosition,.atlasT
3ca0 65 78 74 75 72 65 2c 20 74 65 78 43 6f 6f 72 64 73 2c 20 30 2c 20 30 2c 20 30 2c 20 30 2c 20 6e exture,.texCoords,.0,.0,.0,.0,.n
3cc0 65 77 20 43 6f 6c 6f 72 28 31 66 2c 20 31 66 2c 20 31 66 29 2c 20 6d 61 74 29 3b 0d 0a 20 20 20 ew.Color(1f,.1f,.1f),.mat);.....
3ce0 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 7d 0d 0a .........}..........}........}..
3d00 7d 0d 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 1b 00 00 00 54 4d 50 5f }...........................TMP_
3d20 43 68 61 72 61 63 74 65 72 50 72 6f 70 65 72 74 79 44 72 61 77 65 72 00 15 00 00 00 54 4d 50 72 CharacterPropertyDrawer.....TMPr
3d40 6f 2e 45 64 69 74 6f 72 55 74 69 6c 69 74 69 65 73 00 00 00 o.EditorUtilities...