summaryrefslogtreecommitdiff
path: root/Library/Artifacts/70/70aa3dda62eef6110622f02f3db9cc5a
blob: 847bb4d9b775ca46a0e9d89289f0f2d9d93275c8 (plain)
ofshex dumpascii
0000 00 00 0f 81 00 00 3d 44 00 00 00 15 00 00 10 00 00 00 00 00 32 30 31 39 2e 33 2e 36 66 31 00 fe ......=D............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 e4 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 21 00 00 00 54 4d 50 5f 53 70 72 69 74 65 43 68 61 72 61 63 74 65 72 50 ........!...TMP_SpriteCharacterP
10a0 72 6f 70 65 72 74 79 44 72 61 77 65 72 00 00 00 35 2c 00 00 75 73 69 6e 67 20 55 6e 69 74 79 45 ropertyDrawer...5,..using.UnityE
10c0 6e 67 69 6e 65 3b 0d 0a 75 73 69 6e 67 20 55 6e 69 74 79 45 6e 67 69 6e 65 2e 54 65 78 74 43 6f ngine;..using.UnityEngine.TextCo
10e0 72 65 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 re;..using.UnityEditor;..using.S
1100 79 73 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 ystem.Collections;......namespac
1120 65 20 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 0d 0a 20 20 e.TMPro.EditorUtilities..{......
1140 20 20 5b 43 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 ..[CustomPropertyDrawer(typeof(T
1160 4d 50 5f 53 70 72 69 74 65 43 68 61 72 61 63 74 65 72 29 29 5d 0d 0a 20 20 20 20 70 75 62 6c 69 MP_SpriteCharacter))]......publi
1180 63 20 63 6c 61 73 73 20 54 4d 50 5f 53 70 72 69 74 65 43 68 61 72 61 63 74 65 72 50 72 6f 70 65 c.class.TMP_SpriteCharacterPrope
11a0 72 74 79 44 72 61 77 65 72 20 3a 20 50 72 6f 70 65 72 74 79 44 72 61 77 65 72 0d 0a 20 20 20 20 rtyDrawer.:.PropertyDrawer......
11c0 7b 0d 0a 20 20 20 20 20 20 20 20 69 6e 74 20 6d 5f 47 6c 79 70 68 53 65 6c 65 63 74 65 64 46 6f {..........int.m_GlyphSelectedFo
11e0 72 45 64 69 74 69 6e 67 20 3d 20 2d 31 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 rEditing.=.-1;............public
1200 20 6f 76 65 72 72 69 64 65 20 76 6f 69 64 20 4f 6e 47 55 49 28 52 65 63 74 20 70 6f 73 69 74 69 .override.void.OnGUI(Rect.positi
1220 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 2c on,.SerializedProperty.property,
1240 20 47 55 49 43 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 .GUIContent.label)..........{...
1260 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 70 72 ...........SerializedProperty.pr
1280 6f 70 5f 53 70 72 69 74 65 4e 61 6d 65 20 3d 20 70 72 6f 70 65 72 74 79 2e 46 69 6e 64 50 72 6f op_SpriteName.=.property.FindPro
12a0 70 65 72 74 79 52 65 6c 61 74 69 76 65 28 22 6d 5f 4e 61 6d 65 22 29 3b 0d 0a 20 20 20 20 20 20 pertyRelative("m_Name");........
12c0 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 70 72 6f 70 5f 53 70 ......SerializedProperty.prop_Sp
12e0 72 69 74 65 4e 61 6d 65 48 61 73 68 43 6f 64 65 20 3d 20 70 72 6f 70 65 72 74 79 2e 46 69 6e 64 riteNameHashCode.=.property.Find
1300 50 72 6f 70 65 72 74 79 52 65 6c 61 74 69 76 65 28 22 6d 5f 48 61 73 68 43 6f 64 65 22 29 3b 0d PropertyRelative("m_HashCode");.
1320 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.
1340 70 72 6f 70 5f 53 70 72 69 74 65 55 6e 69 63 6f 64 65 20 3d 20 70 72 6f 70 65 72 74 79 2e 46 69 prop_SpriteUnicode.=.property.Fi
1360 6e 64 50 72 6f 70 65 72 74 79 52 65 6c 61 74 69 76 65 28 22 6d 5f 55 6e 69 63 6f 64 65 22 29 3b ndPropertyRelative("m_Unicode");
1380 0d 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 ..............SerializedProperty
13a0 20 70 72 6f 70 5f 53 70 72 69 74 65 47 6c 79 70 68 49 6e 64 65 78 20 3d 20 70 72 6f 70 65 72 74 .prop_SpriteGlyphIndex.=.propert
13c0 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 6c 79 70 68 49 y.FindPropertyRelative("m_GlyphI
13e0 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 69 7a 65 64 50 ndex");..............SerializedP
1400 72 6f 70 65 72 74 79 20 70 72 6f 70 5f 53 70 72 69 74 65 53 63 61 6c 65 20 3d 20 70 72 6f 70 65 roperty.prop_SpriteScale.=.prope
1420 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 53 63 61 6c rty.FindPropertyRelative("m_Scal
1440 65 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 e");..................GUIStyle.s
1460 74 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 tyle.=.new.GUIStyle(EditorStyles
1480 2e 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 .label);..............style.rich
14a0 54 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 Text.=.true;................Edit
14c0 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 34 30 66 3b 0d 0a orGUIUtility.labelWidth.=.40f;..
14e0 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 66 69 65 ............EditorGUIUtility.fie
1500 6c 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 ldWidth.=.50;................Rec
1520 74 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 36 t.rect.=.new.Rect(position.x.+.6
1540 30 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 0,.position.y,.position.width,.4
1560 39 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 9);................//.Display.no
1580 6e 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 n-editable.fields..............i
15a0 66 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 f.(GUI.enabled.==.false)........
15c0 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 2f 2f 20 53 70 72 69 ......{..................//.Spri
15e0 74 65 20 43 68 61 72 61 63 74 65 72 20 49 6e 64 65 78 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 te.Character.Index..............
1600 20 20 20 20 69 6e 74 2e 54 72 79 50 61 72 73 65 28 70 72 6f 70 65 72 74 79 2e 64 69 73 70 6c 61 ....int.TryParse(property.displa
1620 79 4e 61 6d 65 2e 53 70 6c 69 74 28 27 20 27 29 5b 31 5d 2c 20 6f 75 74 20 69 6e 74 20 73 70 72 yName.Split('.')[1],.out.int.spr
1640 69 74 65 43 68 61 72 61 63 74 65 72 49 6e 64 65 78 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 iteCharacterIndex);.............
1660 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 65 .....EditorGUI.LabelField(new.Re
1680 63 74 28 72 65 63 74 2e 78 2c 20 72 65 63 74 2e 79 2c 20 37 35 66 2c 20 31 38 29 2c 20 6e 65 77 ct(rect.x,.rect.y,.75f,.18),.new
16a0 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 49 6e 64 65 78 3a 20 3c 63 6f 6c 6f 72 3d 23 46 46 46 46 .GUIContent("Index:.<color=#FFFF
16c0 38 30 3e 22 20 2b 20 73 70 72 69 74 65 43 68 61 72 61 63 74 65 72 49 6e 64 65 78 20 2b 20 22 3c 80>".+.spriteCharacterIndex.+."<
16e0 2f 63 6f 6c 6f 72 3e 22 29 2c 20 73 74 79 6c 65 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 /color>"),.style);..............
1700 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
1720 65 63 74 28 72 65 63 74 2e 78 20 2b 20 37 35 66 2c 20 72 65 63 74 2e 79 2c 20 31 32 30 66 2c 20 ect(rect.x.+.75f,.rect.y,.120f,.
1740 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 3c 63 18),.new.GUIContent("Unicode:.<c
1760 6f 6c 6f 72 3d 23 46 46 46 46 38 30 3e 30 78 22 20 2b 20 70 72 6f 70 5f 53 70 72 69 74 65 55 6e olor=#FFFF80>0x".+.prop_SpriteUn
1780 69 63 6f 64 65 2e 69 6e 74 56 61 6c 75 65 2e 54 6f 53 74 72 69 6e 67 28 22 58 22 29 20 2b 20 22 icode.intValue.ToString("X").+."
17a0 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 20 </color>"),.style);.............
17c0 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 65 .....EditorGUI.LabelField(new.Re
17e0 63 74 28 72 65 63 74 2e 78 20 2b 20 31 39 35 66 2c 20 72 65 63 74 2e 79 2c 20 72 65 63 74 2e 77 ct(rect.x.+.195f,.rect.y,.rect.w
1800 69 64 74 68 20 2d 20 32 35 35 2c 20 31 38 29 2c 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 idth.-.255,.18),.new.GUIContent(
1820 22 4e 61 6d 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 "Name:.<color=#FFFF80>".+.prop_S
1840 70 72 69 74 65 4e 61 6d 65 2e 73 74 72 69 6e 67 56 61 6c 75 65 20 2b 20 22 3c 2f 63 6f 6c 6f 72 priteName.stringValue.+."</color
1860 3e 22 29 2c 20 73 74 79 6c 65 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 >"),.style);....................
1880 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 65 63 74 28 72 65 EditorGUI.LabelField(new.Rect(re
18a0 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 29 2c 20 6e 65 77 ct.x,.rect.y.+.18,.120,.18),.new
18c0 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 6c 6f 72 3d 23 46 .GUIContent("Glyph.ID:.<color=#F
18e0 46 46 46 38 30 3e 22 20 2b 20 70 72 6f 70 5f 53 70 72 69 74 65 47 6c 79 70 68 49 6e 64 65 78 2e FFF80>".+.prop_SpriteGlyphIndex.
1900 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);.
1920 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 53 70 72 69 74 ...................//.Draw.Sprit
1940 65 20 47 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 e.Glyph.(if.exists).............
1960 20 20 20 20 20 44 72 61 77 53 70 72 69 74 65 47 6c 79 70 68 28 70 6f 73 69 74 69 6f 6e 2c 20 70 .....DrawSpriteGlyph(position,.p
1980 72 6f 70 65 72 74 79 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 roperty);....................Edi
19a0 74 6f 72 47 55 49 2e 4c 61 62 65 6c 46 69 65 6c 64 28 6e 65 77 20 52 65 63 74 28 72 65 63 74 2e torGUI.LabelField(new.Rect(rect.
19c0 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 6e 65 77 20 47 55 49 x,.rect.y.+.36,.80,.18),.new.GUI
19e0 43 6f 6e 74 65 6e 74 28 22 53 63 61 6c 65 3a 20 3c 63 6f 6c 6f 72 3d 23 46 46 46 46 38 30 3e 22 Content("Scale:.<color=#FFFF80>"
1a00 20 2b 20 70 72 6f 70 5f 53 70 72 69 74 65 53 63 61 6c 65 2e 66 6c 6f 61 74 56 61 6c 75 65 20 2b .+.prop_SpriteScale.floatValue.+
1a20 20 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 ."</color>"),.style);...........
1a40 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 20 2f 2f 20 44 69 73 70 6c 61 ...}..............else.//.Displa
1a60 79 20 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 7b y.editable.fields..............{
1a80 0d 0a 20 20 20 20 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 ..................//.Get.a.refer
1aa0 65 6e 63 65 20 74 6f 20 74 68 65 20 75 6e 64 65 72 6c 79 69 6e 67 20 53 70 72 69 74 65 20 41 73 ence.to.the.underlying.Sprite.As
1ac0 73 65 74 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 54 4d 50 5f 53 70 72 69 74 65 41 set..................TMP_SpriteA
1ae0 73 73 65 74 20 73 70 72 69 74 65 41 73 73 65 74 20 3d 20 70 72 6f 70 65 72 74 79 2e 73 65 72 69 sset.spriteAsset.=.property.seri
1b00 61 6c 69 7a 65 64 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 alizedObject.targetObject.as.TMP
1b20 5f 53 70 72 69 74 65 41 73 73 65 74 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 _SpriteAsset;...................
1b40 20 2f 2f 20 53 70 72 69 74 65 20 43 68 61 72 61 63 74 65 72 20 49 6e 64 65 78 0d 0a 20 20 20 20 .//.Sprite.Character.Index......
1b60 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 74 2e 54 72 79 50 61 72 73 65 28 70 72 6f 70 65 72 74 ............int.TryParse(propert
1b80 79 2e 64 69 73 70 6c 61 79 4e 61 6d 65 2e 53 70 6c 69 74 28 27 20 27 29 5b 31 5d 2c 20 6f 75 74 y.displayName.Split('.')[1],.out
1ba0 20 69 6e 74 20 73 70 72 69 74 65 43 68 61 72 61 63 74 65 72 49 6e 64 65 78 29 3b 0d 0a 0d 0a 20 .int.spriteCharacterIndex);.....
1bc0 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 46 69 ...............EditorGUI.LabelFi
1be0 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 2c 20 37 35 66 eld(new.Rect(rect.x,.rect.y,.75f
1c00 2c 20 31 38 29 2c 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 49 6e 64 65 78 3a 20 3c 63 ,.18),.new.GUIContent("Index:.<c
1c20 6f 6c 6f 72 3d 23 46 46 46 46 38 30 3e 22 20 2b 20 73 70 72 69 74 65 43 68 61 72 61 63 74 65 72 olor=#FFFF80>".+.spriteCharacter
1c40 49 6e 64 65 78 20 2b 20 22 3c 2f 63 6f 6c 6f 72 3e 22 29 2c 20 73 74 79 6c 65 29 3b 0d 0a 0d 0a Index.+."</color>"),.style);....
1c60 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 55 74 69 6c 69 74 79 ................EditorGUIUtility
1c80 2e 6c 61 62 65 6c 57 69 64 74 68 20 3d 20 35 35 66 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 .labelWidth.=.55f;..............
1ca0 20 20 20 20 47 55 49 2e 53 65 74 4e 65 78 74 43 6f 6e 74 72 6f 6c 4e 61 6d 65 28 22 55 6e 69 63 ....GUI.SetNextControlName("Unic
1cc0 6f 64 65 20 49 6e 70 75 74 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 45 64 ode.Input");..................Ed
1ce0 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 20 20 itorGUI.BeginChangeCheck();.....
1d00 20 20 20 20 20 20 20 20 20 20 20 20 20 73 74 72 69 6e 67 20 75 6e 69 63 6f 64 65 20 3d 20 45 64 .............string.unicode.=.Ed
1d20 69 74 6f 72 47 55 49 2e 44 65 6c 61 79 65 64 54 65 78 74 46 69 65 6c 64 28 6e 65 77 20 52 65 63 itorGUI.DelayedTextField(new.Rec
1d40 74 28 72 65 63 74 2e 78 20 2b 20 37 35 66 2c 20 72 65 63 74 2e 79 2c 20 31 32 30 2c 20 31 38 29 t(rect.x.+.75f,.rect.y,.120,.18)
1d60 2c 20 22 55 6e 69 63 6f 64 65 3a 22 2c 20 70 72 6f 70 5f 53 70 72 69 74 65 55 6e 69 63 6f 64 65 ,."Unicode:",.prop_SpriteUnicode
1d80 2e 69 6e 74 56 61 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 .intValue.ToString("X"));.......
1da0 20 20 20 20 20 20 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 .............if.(GUI.GetNameOfFo
1dc0 63 75 73 65 64 43 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 cusedControl().==."Unicode.Input
1de0 22 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 20 20 20 ")..................{...........
1e00 20 20 20 20 20 20 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 ...........//Filter.out.unwanted
1e20 20 63 68 61 72 61 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 .characters.....................
1e40 20 20 63 68 61 72 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 ..char.chr.=.Event.current.chara
1e60 63 74 65 72 3b 0d 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 cter;......................if.((
1e80 63 68 72 20 3c 20 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 chr.<.'0'.||.chr.>.'9').&&.(chr.
1ea0 3c 20 27 61 27 20 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 <.'a'.||.chr.>.'f').&&.(chr.<.'A
1ec0 27 20 7c 7c 20 63 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 '.||.chr.>.'F'))................
1ee0 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 20 20 20 ......{.........................
1f00 20 45 76 65 6e 74 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 .Event.current.character.=.'\0';
1f20 0d 0a 20 20 20 20 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 ......................}.........
1f40 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 20 20 20 20 69 66 .........}....................if
1f60 20 28 45 64 69 74 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 .(EditorGUI.EndChangeCheck())...
1f80 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 20 20 20 ...............{................
1fa0 20 20 20 20 20 20 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 ......//.Update.Unicode.value...
1fc0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 6f 70 5f 53 70 72 69 74 65 55 6e ...................prop_SpriteUn
1fe0 69 63 6f 64 65 2e 69 6e 74 56 61 6c 75 65 20 3d 20 54 4d 50 5f 54 65 78 74 55 74 69 6c 69 74 69 icode.intValue.=.TMP_TextUtiliti
2000 65 73 2e 53 74 72 69 6e 67 48 65 78 54 6f 49 6e 74 28 75 6e 69 63 6f 64 65 29 3b 0d 0a 20 20 20 es.StringHexToInt(unicode);.....
2020 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 70 72 69 74 65 41 73 73 65 74 2e 6d 5f 49 .................spriteAsset.m_I
2040 73 53 70 72 69 74 65 41 73 73 65 74 4c 6f 6f 6b 75 70 54 61 62 6c 65 73 44 69 72 74 79 20 3d 20 sSpriteAssetLookupTablesDirty.=.
2060 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 20 20 20 20 true;..................}........
2080 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
20a0 65 6c 57 69 64 74 68 20 3d 20 34 31 66 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 elWidth.=.41f;..................
20c0 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();...
20e0 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
2100 54 65 78 74 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 39 35 66 TextField(new.Rect(rect.x.+.195f
2120 2c 20 72 65 63 74 2e 79 2c 20 72 65 63 74 2e 77 69 64 74 68 20 2d 20 32 35 35 2c 20 31 38 29 2c ,.rect.y,.rect.width.-.255,.18),
2140 20 70 72 6f 70 5f 53 70 72 69 74 65 4e 61 6d 65 2c 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 .prop_SpriteName,.new.GUIContent
2160 28 22 4e 61 6d 65 3a 22 29 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 ("Name:"));..................if.
2180 28 45 64 69 74 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 (EditorGUI.EndChangeCheck())....
21a0 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 ..............{.................
21c0 20 20 20 20 20 2f 2f 20 52 65 63 6f 6d 70 75 74 65 20 68 61 73 68 43 6f 64 65 20 66 6f 72 20 6e .....//.Recompute.hashCode.for.n
21e0 65 77 20 6e 61 6d 65 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 6f ew.name......................pro
2200 70 5f 53 70 72 69 74 65 4e 61 6d 65 48 61 73 68 43 6f 64 65 2e 69 6e 74 56 61 6c 75 65 20 3d 20 p_SpriteNameHashCode.intValue.=.
2220 54 4d 50 5f 54 65 78 74 55 74 69 6c 69 74 69 65 73 2e 47 65 74 53 69 6d 70 6c 65 48 61 73 68 43 TMP_TextUtilities.GetSimpleHashC
2240 6f 64 65 28 70 72 6f 70 5f 53 70 72 69 74 65 4e 61 6d 65 2e 73 74 72 69 6e 67 56 61 6c 75 65 29 ode(prop_SpriteName.stringValue)
2260 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 70 72 69 74 65 41 73 73 ;......................spriteAss
2280 65 74 2e 6d 5f 49 73 53 70 72 69 74 65 41 73 73 65 74 4c 6f 6f 6b 75 70 54 61 62 6c 65 73 44 69 et.m_IsSpriteAssetLookupTablesDi
22a0 72 74 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 rty.=.true;..................}..
22c0 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 55 74 69 6c 69 ..................EditorGUIUtili
22e0 74 79 2e 6c 61 62 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 ty.labelWidth.=.59f;............
2300 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 43 68 65 63 6b ......EditorGUI.BeginChangeCheck
2320 28 29 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 44 ();..................EditorGUI.D
2340 65 6c 61 79 65 64 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 elayedIntField(new.Rect(rect.x,.
2360 72 65 63 74 2e 79 20 2b 20 31 38 2c 20 31 30 30 2c 20 31 38 29 2c 20 70 72 6f 70 5f 53 70 72 69 rect.y.+.18,.100,.18),.prop_Spri
2380 74 65 47 6c 79 70 68 49 6e 64 65 78 2c 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 47 6c teGlyphIndex,.new.GUIContent("Gl
23a0 79 70 68 20 49 44 3a 22 29 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 yph.ID:"));..................if.
23c0 28 45 64 69 74 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 (EditorGUI.EndChangeCheck())....
23e0 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 ..............{.................
2400 20 20 20 20 20 73 70 72 69 74 65 41 73 73 65 74 2e 6d 5f 49 73 53 70 72 69 74 65 41 73 73 65 74 .....spriteAsset.m_IsSpriteAsset
2420 4c 6f 6f 6b 75 70 54 61 62 6c 65 73 44 69 72 74 79 20 3d 20 74 72 75 65 3b 0d 0a 20 20 20 20 20 LookupTablesDirty.=.true;.......
2440 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 20 20 20 20 ...........}....................
2460 2f 2f 20 44 72 61 77 20 53 70 72 69 74 65 20 47 6c 79 70 68 20 28 69 66 20 65 78 69 73 74 73 29 //.Draw.Sprite.Glyph.(if.exists)
2480 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 44 72 61 77 53 70 72 69 74 65 47 6c 79 70 ..................DrawSpriteGlyp
24a0 68 28 70 6f 73 69 74 69 6f 6e 2c 20 70 72 6f 70 65 72 74 79 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 h(position,.property);..........
24c0 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 6f 70 5f ..........int.glyphIndex.=.prop_
24e0 53 70 72 69 74 65 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 SpriteGlyphIndex.intValue;......
2500 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 52 65 73 65 74 20 67 6c 79 70 68 20 73 65 6c ..............//.Reset.glyph.sel
2520 65 63 74 69 6f 6e 20 69 66 20 6e 65 77 20 63 68 61 72 61 63 74 65 72 20 68 61 73 20 62 65 65 6e ection.if.new.character.has.been
2540 20 73 65 6c 65 63 74 65 64 2e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 .selected...................if.(
2560 47 55 49 2e 65 6e 61 62 6c 65 64 20 26 26 20 6d 5f 47 6c 79 70 68 53 65 6c 65 63 74 65 64 46 6f GUI.enabled.&&.m_GlyphSelectedFo
2580 72 45 64 69 74 69 6e 67 20 21 3d 20 67 6c 79 70 68 49 6e 64 65 78 29 0d 0a 20 20 20 20 20 20 20 rEditing.!=.glyphIndex).........
25a0 20 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 .............m_GlyphSelectedForE
25c0 64 69 74 69 6e 67 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 diting.=.-1;....................
25e0 2f 2f 20 44 69 73 70 6c 61 79 20 62 75 74 74 6f 6e 20 74 6f 20 65 64 69 74 20 74 68 65 20 67 6c //.Display.button.to.edit.the.gl
2600 79 70 68 20 64 61 74 61 2e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 47 yph.data...................if.(G
2620 55 49 2e 42 75 74 74 6f 6e 28 6e 65 77 20 52 65 63 74 28 72 65 63 74 2e 78 20 2b 20 31 32 30 2c UI.Button(new.Rect(rect.x.+.120,
2640 20 72 65 63 74 2e 79 20 2b 20 31 38 2c 20 37 35 2c 20 31 38 29 2c 20 6e 65 77 20 47 55 49 43 6f .rect.y.+.18,.75,.18),.new.GUICo
2660 6e 74 65 6e 74 28 22 45 64 69 74 20 47 6c 79 70 68 22 29 29 29 0d 0a 20 20 20 20 20 20 20 20 20 ntent("Edit.Glyph")))...........
2680 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 69 66 .......{......................if
26a0 20 28 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 3d 20 2d .(m_GlyphSelectedForEditing.==.-
26c0 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 20 20 20 6d 5f 47 6c 1)..........................m_Gl
26e0 79 70 68 53 65 6c 65 63 74 65 64 46 6f 72 45 64 69 74 69 6e 67 20 3d 20 67 6c 79 70 68 49 6e 64 yphSelectedForEditing.=.glyphInd
2700 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 0a 20 ex;......................else...
2720 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 47 6c 79 70 68 53 65 .......................m_GlyphSe
2740 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 20 20 20 20 20 20 lectedForEditing.=.-1;..........
2760 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 42 75 74 74 6f 6e 20 63 6c 69 63 6b 73 20 73 ..............//.Button.clicks.s
2780 68 6f 75 6c 64 20 6e 6f 74 20 72 65 73 75 6c 74 20 69 6e 20 70 6f 74 65 6e 74 69 61 6c 20 63 68 hould.not.result.in.potential.ch
27a0 61 6e 67 65 2e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 47 55 49 2e 63 ange.......................GUI.c
27c0 68 61 6e 67 65 64 20 3d 20 66 61 6c 73 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 hanged.=.false;.................
27e0 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 53 68 6f 77 20 74 68 .}....................//.Show.th
2800 65 20 67 6c 79 70 68 20 70 72 6f 70 65 72 74 79 20 64 72 61 77 65 72 20 69 66 20 73 65 6c 65 63 e.glyph.property.drawer.if.selec
2820 74 65 64 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 67 6c 79 70 68 49 6e ted..................if.(glyphIn
2840 64 65 78 20 3d 3d 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 dex.==.m_GlyphSelectedForEditing
2860 20 26 26 20 47 55 49 2e 65 6e 61 62 6c 65 64 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .&&.GUI.enabled)................
2880 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 69 66 20 28 73 70 72 ..{......................if.(spr
28a0 69 74 65 41 73 73 65 74 20 21 3d 20 6e 75 6c 6c 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 iteAsset.!=.null)...............
28c0 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 20 20 .......{........................
28e0 20 20 2f 2f 20 4c 6f 6f 6b 75 70 20 67 6c 79 70 68 20 61 6e 64 20 64 72 61 77 20 67 6c 79 70 68 ..//.Lookup.glyph.and.draw.glyph
2900 20 28 69 66 20 61 76 61 69 6c 61 62 6c 65 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .(if.available).................
2920 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 73 70 72 69 .........int.elementIndex.=.spri
2940 74 65 41 73 73 65 74 2e 73 70 72 69 74 65 47 6c 79 70 68 54 61 62 6c 65 2e 46 69 6e 64 49 6e 64 teAsset.spriteGlyphTable.FindInd
2960 65 78 28 69 74 65 6d 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 ex(item.=>.item.index.==.glyphIn
2980 64 65 78 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 dex);...........................
29a0 20 69 66 20 28 65 6c 65 6d 65 6e 74 49 6e 64 65 78 20 21 3d 20 2d 31 29 0d 0a 20 20 20 20 20 20 .if.(elementIndex.!=.-1)........
29c0 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 20 20 20 20 20 20 20 ..................{.............
29e0 20 20 20 20 20 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 .................//.Get.a.refere
2a00 6e 63 65 20 74 6f 20 74 68 65 20 53 70 72 69 74 65 20 47 6c 79 70 68 20 54 61 62 6c 65 0d 0a 20 nce.to.the.Sprite.Glyph.Table...
2a20 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 61 ...........................Seria
2a40 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 20 70 72 6f 70 5f 53 70 72 69 74 65 47 6c 79 70 68 54 61 lizedProperty.prop_SpriteGlyphTa
2a60 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 2e ble.=.property.serializedObject.
2a80 46 69 6e 64 50 72 6f 70 65 72 74 79 28 22 6d 5f 53 70 72 69 74 65 47 6c 79 70 68 54 61 62 6c 65 FindProperty("m_SpriteGlyphTable
2aa0 22 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 20 ");.............................
2ac0 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 53 70 72 69 74 ...SerializedProperty.prop_Sprit
2ae0 65 47 6c 79 70 68 20 3d 20 70 72 6f 70 5f 53 70 72 69 74 65 47 6c 79 70 68 54 61 62 6c 65 2e 47 eGlyph.=.prop_SpriteGlyphTable.G
2b00 65 74 41 72 72 61 79 45 6c 65 6d 65 6e 74 41 74 49 6e 64 65 78 28 65 6c 65 6d 65 6e 74 49 6e 64 etArrayElementAtIndex(elementInd
2b20 65 78 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 20 ex);............................
2b40 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 4d ..SerializedProperty.prop_GlyphM
2b60 65 74 72 69 63 73 20 3d 20 70 72 6f 70 5f 53 70 72 69 74 65 47 6c 79 70 68 2e 46 69 6e 64 50 72 etrics.=.prop_SpriteGlyph.FindPr
2b80 6f 70 65 72 74 79 52 65 6c 61 74 69 76 65 28 22 6d 5f 4d 65 74 72 69 63 73 22 29 3b 0d 0a 20 20 opertyRelative("m_Metrics");....
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 53 65 72 69 61 6c ..........................Serial
2bc0 69 7a 65 64 50 72 6f 70 65 72 74 79 20 70 72 6f 70 5f 47 6c 79 70 68 52 65 63 74 20 3d 20 70 72 izedProperty.prop_GlyphRect.=.pr
2be0 6f 70 5f 53 70 72 69 74 65 47 6c 79 70 68 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 52 65 6c 61 74 op_SpriteGlyph.FindPropertyRelat
2c00 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 20 20 20 ive("m_GlyphRect");.............
2c20 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 63 74 20 ...................Rect.newRect.
2c40 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 65 63 74 =.EditorGUILayout.GetControlRect
2c60 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 20 20 20 (false,.115);...................
2c80 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 28 6e 65 ...........EditorGUI.DrawRect(ne
2ca0 77 20 52 65 63 74 28 6e 65 77 52 65 63 74 2e 78 20 2b 20 36 32 2c 20 6e 65 77 52 65 63 74 2e 79 w.Rect(newRect.x.+.62,.newRect.y
2cc0 20 2d 20 32 30 2c 20 6e 65 77 52 65 63 74 2e 77 69 64 74 68 20 2d 20 36 32 2c 20 6e 65 77 52 65 .-.20,.newRect.width.-.62,.newRe
2ce0 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 66 2c 20 ct.height.-.5),.new.Color(0.1f,.
2d00 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 20 20 20 0.1f,.0.1f,.0.45f));............
2d20 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 72 61 77 ..................EditorGUI.Draw
2d40 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 36 33 2c 20 6e 65 Rect(new.Rect(newRect.x.+.63,.ne
2d60 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 20 36 34 wRect.y.-.19,.newRect.width.-.64
2d80 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 6c 6f 72 ,.newRect.height.-.7),.new.Color
2da0 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 0a 20 20 (0.3f,.0.3f,.0.3f,.0.8f));......
2dc0 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 44 69 73 ..........................//.Dis
2de0 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 20 20 20 play.GlyphRect..................
2e00 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 36 35 3b 0d 0a 20 20 ............newRect.x.+=.65;....
2e20 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 52 65 63 ..........................newRec
2e40 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 20 20 20 t.y.-=.18;......................
2e60 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 20 20 20 ........newRect.width.+=.5;.....
2e80 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 6f 72 47 .........................EditorG
2ea0 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 70 5f 47 UI.PropertyField(newRect,.prop_G
2ec0 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 20 20 20 lyphRect);......................
2ee0 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 72 69 63 ..........//.Display.GlyphMetric
2f00 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 20 20 6e s..............................n
2f20 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 20 20 20 ewRect.y.+=.45;.................
2f40 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 74 79 46 .............EditorGUI.PropertyF
2f60 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 63 73 29 ield(newRect,.prop_GlyphMetrics)
2f80 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 20 20 20 ;...............................
2fa0 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 20 20 20 .rect.y.+=.120;.................
2fc0 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 20 20 20 .........}......................
2fe0 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 20 20 20 }..................}............
3000 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 6c 57 69 ........EditorGUIUtility.labelWi
3020 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 64 69 74 dth.=.39f;..................Edit
3040 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 72 65 63 orGUI.PropertyField(new.Rect(rec
3060 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 6f 70 5f t.x,.rect.y.+.36,.80,.18),.prop_
3080 53 70 72 69 74 65 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 SpriteScale,.new.GUIContent("Sca
30a0 6c 65 3a 22 29 29 3b 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 le:"));..............}..........
30c0 7d 0d 0a 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 66 }..............public.override.f
30e0 6c 6f 61 74 20 47 65 74 50 72 6f 70 65 72 74 79 48 65 69 67 68 74 28 53 65 72 69 61 6c 69 7a 65 loat.GetPropertyHeight(Serialize
3100 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
3120 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 72 65 abel)..........{..............re
3140 74 75 72 6e 20 35 38 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 0d 0a 20 20 20 20 20 20 20 turn.58;..........}.............
3160 20 76 6f 69 64 20 44 72 61 77 53 70 72 69 74 65 47 6c 79 70 68 28 52 65 63 74 20 70 6f 73 69 74 .void.DrawSpriteGlyph(Rect.posit
3180 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
31a0 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
31c0 20 61 20 72 65 66 65 72 65 6e 63 65 20 74 6f 20 74 68 65 20 73 70 72 69 74 65 20 67 6c 79 70 68 .a.reference.to.the.sprite.glyph
31e0 20 74 61 62 6c 65 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 54 4d 50 5f 53 70 72 69 74 65 41 73 .table..............TMP_SpriteAs
3200 73 65 74 20 73 70 72 69 74 65 41 73 73 65 74 20 3d 20 70 72 6f 70 65 72 74 79 2e 73 65 72 69 61 set.spriteAsset.=.property.seria
3220 6c 69 7a 65 64 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 lizedObject.targetObject.as.TMP_
3240 53 70 72 69 74 65 41 73 73 65 74 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 SpriteAsset;................if.(
3260 73 70 72 69 74 65 41 73 73 65 74 20 3d 3d 20 6e 75 6c 6c 29 0d 0a 20 20 20 20 20 20 20 20 20 20 spriteAsset.==.null)............
3280 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 20 69 6e 74 ......return;................int
32a0 20 67 6c 79 70 68 49 6e 64 65 78 20 3d 20 70 72 6f 70 65 72 74 79 2e 46 69 6e 64 50 72 6f 70 65 .glyphIndex.=.property.FindPrope
32c0 72 74 79 52 65 6c 61 74 69 76 65 28 22 6d 5f 47 6c 79 70 68 49 6e 64 65 78 22 29 2e 69 6e 74 56 rtyRelative("m_GlyphIndex").intV
32e0 61 6c 75 65 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 4c 6f 6f 6b 75 70 20 67 alue;................//.Lookup.g
3300 6c 79 70 68 20 61 6e 64 20 64 72 61 77 20 67 6c 79 70 68 20 28 69 66 20 61 76 61 69 6c 61 62 6c lyph.and.draw.glyph.(if.availabl
3320 65 29 0d 0a 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 e)..............int.elementIndex
3340 20 3d 20 73 70 72 69 74 65 41 73 73 65 74 2e 73 70 72 69 74 65 47 6c 79 70 68 54 61 62 6c 65 2e .=.spriteAsset.spriteGlyphTable.
3360 46 69 6e 64 49 6e 64 65 78 28 69 74 65 6d 20 3d 3e 20 69 74 65 6d 2e 69 6e 64 65 78 20 3d 3d 20 FindIndex(item.=>.item.index.==.
3380 67 6c 79 70 68 49 6e 64 65 78 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 glyphIndex);................if.(
33a0 65 6c 65 6d 65 6e 74 49 6e 64 65 78 20 21 3d 20 2d 31 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 elementIndex.!=.-1).............
33c0 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 47 65 74 20 61 20 72 65 66 .{..................//.Get.a.ref
33e0 65 72 65 6e 63 65 20 74 6f 20 74 68 65 20 53 70 72 69 74 65 20 47 6c 79 70 68 20 54 61 62 6c 65 erence.to.the.Sprite.Glyph.Table
3400 0d 0a 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 ..................SerializedProp
3420 65 72 74 79 20 70 72 6f 70 5f 53 70 72 69 74 65 47 6c 79 70 68 54 61 62 6c 65 20 3d 20 70 72 6f erty.prop_SpriteGlyphTable.=.pro
3440 70 65 72 74 79 2e 73 65 72 69 61 6c 69 7a 65 64 4f 62 6a 65 63 74 2e 46 69 6e 64 50 72 6f 70 65 perty.serializedObject.FindPrope
3460 72 74 79 28 22 6d 5f 53 70 72 69 74 65 47 6c 79 70 68 54 61 62 6c 65 22 29 3b 0d 0a 20 20 20 20 rty("m_SpriteGlyphTable");......
3480 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 70 ............SerializedProperty.p
34a0 72 6f 70 5f 53 70 72 69 74 65 47 6c 79 70 68 20 3d 20 70 72 6f 70 5f 53 70 72 69 74 65 47 6c 79 rop_SpriteGlyph.=.prop_SpriteGly
34c0 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 65 phTable.GetArrayElementAtIndex(e
34e0 6c 65 6d 65 6e 74 49 6e 64 65 78 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 53 lementIndex);..................S
3500 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 52 65 63 74 erializedProperty.prop_GlyphRect
3520 20 3d 20 70 72 6f 70 5f 53 70 72 69 74 65 47 6c 79 70 68 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 .=.prop_SpriteGlyph.FindProperty
3540 52 65 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 Relative("m_GlyphRect");........
3560 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 63 65 20 74 ............//.Get.a.reference.t
3580 6f 20 74 68 65 20 73 70 72 69 74 65 20 74 65 78 74 75 72 65 0d 0a 20 20 20 20 20 20 20 20 20 20 o.the.sprite.texture............
35a0 20 20 20 20 20 20 54 65 78 74 75 72 65 20 74 65 78 20 3d 20 73 70 72 69 74 65 41 73 73 65 74 2e ......Texture.tex.=.spriteAsset.
35c0 73 70 72 69 74 65 53 68 65 65 74 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 spriteSheet;....................
35e0 2f 2f 20 52 65 74 75 72 6e 20 69 66 20 77 65 20 64 6f 6e 27 74 20 68 61 76 65 20 61 20 74 65 78 //.Return.if.we.don't.have.a.tex
3600 74 75 72 65 20 61 73 73 69 67 6e 65 64 20 74 6f 20 74 68 65 20 73 70 72 69 74 65 20 61 73 73 65 ture.assigned.to.the.sprite.asse
3620 74 2e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 65 78 20 3d 3d 20 6e t...................if.(tex.==.n
3640 75 6c 6c 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 20 ull)..................{.........
3660 20 20 20 20 20 20 20 20 20 20 20 20 20 44 65 62 75 67 2e 4c 6f 67 57 61 72 6e 69 6e 67 28 22 50 .............Debug.LogWarning("P
3680 6c 65 61 73 65 20 61 73 73 69 67 6e 20 61 20 76 61 6c 69 64 20 53 70 72 69 74 65 20 41 74 6c 61 lease.assign.a.valid.Sprite.Atla
36a0 73 20 74 65 78 74 75 72 65 20 74 6f 20 74 68 65 20 5b 22 20 2b 20 73 70 72 69 74 65 41 73 73 65 s.texture.to.the.[".+.spriteAsse
36c0 74 2e 6e 61 6d 65 20 2b 20 22 5d 20 53 70 72 69 74 65 20 41 73 73 65 74 2e 22 2c 20 73 70 72 69 t.name.+."].Sprite.Asset.",.spri
36e0 74 65 41 73 73 65 74 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 teAsset);......................r
3700 65 74 75 72 6e 3b 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 eturn;..................}.......
3720 20 20 20 20 20 20 20 20 20 20 20 20 20 56 65 63 74 6f 72 32 20 73 70 72 69 74 65 54 65 78 50 6f .............Vector2.spriteTexPo
3740 73 69 74 69 6f 6e 20 3d 20 6e 65 77 20 56 65 63 74 6f 72 32 28 70 6f 73 69 74 69 6f 6e 2e 78 2c sition.=.new.Vector2(position.x,
3760 20 70 6f 73 69 74 69 6f 6e 2e 79 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 56 .position.y);..................V
3780 65 63 74 6f 72 32 20 73 70 72 69 74 65 53 69 7a 65 20 3d 20 6e 65 77 20 56 65 63 74 6f 72 32 28 ector2.spriteSize.=.new.Vector2(
37a0 34 38 2c 20 34 38 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 56 65 63 74 6f 72 48,.48);..................Vector
37c0 32 20 61 6c 69 67 6e 6d 65 6e 74 4f 66 66 73 65 74 20 3d 20 6e 65 77 20 56 65 63 74 6f 72 32 28 2.alignmentOffset.=.new.Vector2(
37e0 28 35 38 20 2d 20 73 70 72 69 74 65 53 69 7a 65 2e 78 29 20 2f 20 32 2c 20 28 35 38 20 2d 20 73 (58.-.spriteSize.x)./.2,.(58.-.s
3800 70 72 69 74 65 53 69 7a 65 2e 79 29 20 2f 20 32 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 priteSize.y)./.2);..............
3820 20 20 20 20 20 20 66 6c 6f 61 74 20 78 20 3d 20 70 72 6f 70 5f 47 6c 79 70 68 52 65 63 74 2e 46 ......float.x.=.prop_GlyphRect.F
3840 69 6e 64 50 72 6f 70 65 72 74 79 52 65 6c 61 74 69 76 65 28 22 6d 5f 58 22 29 2e 69 6e 74 56 61 indPropertyRelative("m_X").intVa
3860 6c 75 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 6c 6f 61 74 20 79 20 3d 20 lue;..................float.y.=.
3880 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 6c 61 74 prop_GlyphRect.FindPropertyRelat
38a0 69 76 65 28 22 6d 5f 59 22 29 2e 69 6e 74 56 61 6c 75 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 ive("m_Y").intValue;............
38c0 20 20 20 20 20 20 66 6c 6f 61 74 20 73 70 72 69 74 65 57 69 64 74 68 20 3d 20 70 72 6f 70 5f 47 ......float.spriteWidth.=.prop_G
38e0 6c 79 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 lyphRect.FindPropertyRelative("m
3900 5f 57 69 64 74 68 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 _Width").intValue;..............
3920 20 20 20 20 66 6c 6f 61 74 20 73 70 72 69 74 65 48 65 69 67 68 74 20 3d 20 70 72 6f 70 5f 47 6c ....float.spriteHeight.=.prop_Gl
3940 79 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 yphRect.FindPropertyRelative("m_
3960 48 65 69 67 68 74 22 29 2e 69 6e 74 56 61 6c 75 65 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 Height").intValue;..............
3980 20 20 20 20 20 20 69 66 20 28 73 70 72 69 74 65 57 69 64 74 68 20 3e 3d 20 73 70 72 69 74 65 48 ......if.(spriteWidth.>=.spriteH
39a0 65 69 67 68 74 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 eight)..................{.......
39c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 70 72 69 74 65 53 69 7a 65 2e 79 20 3d 20 73 70 ...............spriteSize.y.=.sp
39e0 72 69 74 65 48 65 69 67 68 74 20 2a 20 73 70 72 69 74 65 53 69 7a 65 2e 78 20 2f 20 73 70 72 69 riteHeight.*.spriteSize.x./.spri
3a00 74 65 57 69 64 74 68 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 70 teWidth;......................sp
3a20 72 69 74 65 54 65 78 50 6f 73 69 74 69 6f 6e 2e 79 20 2b 3d 20 28 73 70 72 69 74 65 53 69 7a 65 riteTexPosition.y.+=.(spriteSize
3a40 2e 78 20 2d 20 73 70 72 69 74 65 53 69 7a 65 2e 79 29 20 2f 20 32 3b 0d 0a 20 20 20 20 20 20 20 .x.-.spriteSize.y)./.2;.........
3a60 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 65 6c 73 65 .........}..................else
3a80 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 ..................{.............
3aa0 20 20 20 20 20 20 20 20 20 73 70 72 69 74 65 53 69 7a 65 2e 78 20 3d 20 73 70 72 69 74 65 57 69 .........spriteSize.x.=.spriteWi
3ac0 64 74 68 20 2a 20 73 70 72 69 74 65 53 69 7a 65 2e 79 20 2f 20 73 70 72 69 74 65 48 65 69 67 68 dth.*.spriteSize.y./.spriteHeigh
3ae0 74 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 70 72 69 74 65 54 65 t;......................spriteTe
3b00 78 50 6f 73 69 74 69 6f 6e 2e 78 20 2b 3d 20 28 73 70 72 69 74 65 53 69 7a 65 2e 79 20 2d 20 73 xPosition.x.+=.(spriteSize.y.-.s
3b20 70 72 69 74 65 53 69 7a 65 2e 78 29 20 2f 20 32 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 priteSize.x)./.2;...............
3b40 20 20 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 6f 6d 70 75 ...}....................//.Compu
3b60 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 72 64 69 te.the.normalized.texture.coordi
3b80 6e 61 74 65 73 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 52 65 63 74 20 74 65 78 43 nates..................Rect.texC
3ba0 6f 6f 72 64 73 20 3d 20 6e 65 77 20 52 65 63 74 28 78 20 2f 20 74 65 78 2e 77 69 64 74 68 2c 20 oords.=.new.Rect(x./.tex.width,.
3bc0 79 20 2f 20 74 65 78 2e 68 65 69 67 68 74 2c 20 73 70 72 69 74 65 57 69 64 74 68 20 2f 20 74 65 y./.tex.height,.spriteWidth./.te
3be0 78 2e 77 69 64 74 68 2c 20 73 70 72 69 74 65 48 65 69 67 68 74 20 2f 20 74 65 78 2e 68 65 69 67 x.width,.spriteHeight./.tex.heig
3c00 68 74 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 47 55 49 2e 44 72 61 77 54 65 ht);..................GUI.DrawTe
3c20 78 74 75 72 65 57 69 74 68 54 65 78 43 6f 6f 72 64 73 28 6e 65 77 20 52 65 63 74 28 73 70 72 69 xtureWithTexCoords(new.Rect(spri
3c40 74 65 54 65 78 50 6f 73 69 74 69 6f 6e 2e 78 20 2b 20 61 6c 69 67 6e 6d 65 6e 74 4f 66 66 73 65 teTexPosition.x.+.alignmentOffse
3c60 74 2e 78 2c 20 73 70 72 69 74 65 54 65 78 50 6f 73 69 74 69 6f 6e 2e 79 20 2b 20 61 6c 69 67 6e t.x,.spriteTexPosition.y.+.align
3c80 6d 65 6e 74 4f 66 66 73 65 74 2e 79 2c 20 73 70 72 69 74 65 53 69 7a 65 2e 78 2c 20 73 70 72 69 mentOffset.y,.spriteSize.x,.spri
3ca0 74 65 53 69 7a 65 2e 79 29 2c 20 74 65 78 2c 20 74 65 78 43 6f 6f 72 64 73 2c 20 74 72 75 65 29 teSize.y),.tex,.texCoords,.true)
3cc0 3b 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 7d 0d 0a 0d 0a 20 ;..............}..........}.....
3ce0 20 20 20 7d 0d 0a 7d 0d 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ...}..}.........................
3d00 21 00 00 00 54 4d 50 5f 53 70 72 69 74 65 43 68 61 72 61 63 74 65 72 50 72 6f 70 65 72 74 79 44 !...TMP_SpriteCharacterPropertyD
3d20 72 61 77 65 72 00 00 00 15 00 00 00 54 4d 50 72 6f 2e 45 64 69 74 6f 72 55 74 69 6c 69 74 69 65 rawer.......TMPro.EditorUtilitie
3d40 73 00 00 00 s...