| ofs | hex dump | ascii |
|---|
| 0000 | 00 00 0f 81 00 00 52 ec 00 00 00 15 00 00 10 00 00 00 00 00 32 30 31 39 2e 33 2e 36 66 31 00 fe | ......R.............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 | 8c 42 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 | .B.............................. |
| 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 2b 00 00 00 54 4d 50 5f 47 6c 79 70 68 50 61 69 72 41 64 6a 75 73 74 6d | ........+...TMP_GlyphPairAdjustm |
| 10a0 | 65 6e 74 52 65 63 6f 72 64 50 72 6f 70 65 72 74 79 44 72 61 77 65 72 00 d0 41 00 00 75 73 69 6e | entRecordPropertyDrawer..A..usin |
| 10c0 | 67 20 55 6e 69 74 79 45 6e 67 69 6e 65 3b 0d 0a 75 73 69 6e 67 20 55 6e 69 74 79 45 6e 67 69 6e | g.UnityEngine;..using.UnityEngin |
| 10e0 | 65 2e 54 65 78 74 43 6f 72 65 3b 0d 0a 75 73 69 6e 67 20 55 6e 69 74 79 45 6e 67 69 6e 65 2e 54 | e.TextCore;..using.UnityEngine.T |
| 1100 | 65 78 74 43 6f 72 65 2e 4c 6f 77 4c 65 76 65 6c 3b 0d 0a 75 73 69 6e 67 20 55 6e 69 74 79 45 64 | extCore.LowLevel;..using.UnityEd |
| 1120 | 69 74 6f 72 3b 0d 0a 75 73 69 6e 67 20 53 79 73 74 65 6d 2e 43 6f 6c 6c 65 63 74 69 6f 6e 73 3b | itor;..using.System.Collections; |
| 1140 | 0d 0a 75 73 69 6e 67 20 53 79 73 74 65 6d 2e 54 65 78 74 2e 52 65 67 75 6c 61 72 45 78 70 72 65 | ..using.System.Text.RegularExpre |
| 1160 | 73 73 69 6f 6e 73 3b 0d 0a 0d 0a 0d 0a 6e 61 6d 65 73 70 61 63 65 20 54 4d 50 72 6f 2e 45 64 69 | ssions;......namespace.TMPro.Edi |
| 1180 | 74 6f 72 55 74 69 6c 69 74 69 65 73 0d 0a 7b 0d 0a 0d 0a 20 20 20 20 5b 43 75 73 74 6f 6d 50 72 | torUtilities..{........[CustomPr |
| 11a0 | 6f 70 65 72 74 79 44 72 61 77 65 72 28 74 79 70 65 6f 66 28 54 4d 50 5f 47 6c 79 70 68 50 61 69 | opertyDrawer(typeof(TMP_GlyphPai |
| 11c0 | 72 41 64 6a 75 73 74 6d 65 6e 74 52 65 63 6f 72 64 29 29 5d 0d 0a 20 20 20 20 70 75 62 6c 69 63 | rAdjustmentRecord))]......public |
| 11e0 | 20 63 6c 61 73 73 20 54 4d 50 5f 47 6c 79 70 68 50 61 69 72 41 64 6a 75 73 74 6d 65 6e 74 52 65 | .class.TMP_GlyphPairAdjustmentRe |
| 1200 | 63 6f 72 64 50 72 6f 70 65 72 74 79 44 72 61 77 65 72 20 3a 20 50 72 6f 70 65 72 74 79 44 72 61 | cordPropertyDrawer.:.PropertyDra |
| 1220 | 77 65 72 0d 0a 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 62 6f 6f 6c | wer......{..........private.bool |
| 1240 | 20 69 73 45 64 69 74 69 6e 67 45 6e 61 62 6c 65 64 20 3d 20 66 61 6c 73 65 3b 0d 0a 20 20 20 20 | .isEditingEnabled.=.false;...... |
| 1260 | 20 20 20 20 70 72 69 76 61 74 65 20 62 6f 6f 6c 20 69 73 53 65 6c 65 63 74 61 62 6c 65 20 3d 20 | ....private.bool.isSelectable.=. |
| 1280 | 66 61 6c 73 65 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 73 74 72 69 6e 67 | false;............private.string |
| 12a0 | 20 6d 5f 46 69 72 73 74 43 68 61 72 61 63 74 65 72 20 3d 20 73 74 72 69 6e 67 2e 45 6d 70 74 79 | .m_FirstCharacter.=.string.Empty |
| 12c0 | 3b 0d 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 73 74 72 69 6e 67 20 6d 5f 53 65 63 6f | ;..........private.string.m_Seco |
| 12e0 | 6e 64 43 68 61 72 61 63 74 65 72 20 3d 20 73 74 72 69 6e 67 2e 45 6d 70 74 79 3b 0d 0a 20 20 20 | ndCharacter.=.string.Empty;..... |
| 1300 | 20 20 20 20 20 70 72 69 76 61 74 65 20 73 74 72 69 6e 67 20 6d 5f 50 72 65 76 69 6f 75 73 49 6e | .....private.string.m_PreviousIn |
| 1320 | 70 75 74 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 73 74 61 74 69 63 20 47 55 49 43 6f 6e 74 65 6e | put;............static.GUIConten |
| 1340 | 74 20 73 5f 43 68 61 72 61 63 74 65 72 54 65 78 74 46 69 65 6c 64 4c 61 62 65 6c 20 3d 20 6e 65 | t.s_CharacterTextFieldLabel.=.ne |
| 1360 | 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 43 68 61 72 3a 22 2c 20 22 45 6e 74 65 72 20 74 68 65 | w.GUIContent("Char:",."Enter.the |
| 1380 | 20 63 68 61 72 61 63 74 65 72 20 6f 72 20 69 74 73 20 55 54 46 31 36 20 6f 72 20 55 54 46 33 32 | .character.or.its.UTF16.or.UTF32 |
| 13a0 | 20 55 6e 69 63 6f 64 65 20 63 68 61 72 61 63 74 65 72 20 65 73 63 61 70 65 20 73 65 71 75 65 6e | .Unicode.character.escape.sequen |
| 13c0 | 63 65 2e 20 46 6f 72 20 55 54 46 31 36 20 75 73 65 20 5c 22 5c 5c 75 46 46 30 30 5c 22 20 61 6e | ce..For.UTF16.use.\"\\uFF00\".an |
| 13e0 | 64 20 66 6f 72 20 55 54 46 33 32 20 75 73 65 20 5c 22 5c 5c 55 46 46 30 30 46 46 30 30 5c 22 20 | d.for.UTF32.use.\"\\UFF00FF00\". |
| 1400 | 72 65 70 72 65 73 65 6e 74 61 74 69 6f 6e 2e 22 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 75 | representation.");............pu |
| 1420 | 62 6c 69 63 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 | blic.override.void.OnGUI(Rect.po |
| 1440 | 73 69 74 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 | sition,.SerializedProperty.prope |
| 1460 | 72 74 79 2c 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 | rty,.GUIContent.label).......... |
| 1480 | 7b 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 | {..............SerializedPropert |
| 14a0 | 79 20 70 72 6f 70 5f 46 69 72 73 74 41 64 6a 75 73 74 6d 65 6e 74 52 65 63 6f 72 64 20 3d 20 70 | y.prop_FirstAdjustmentRecord.=.p |
| 14c0 | 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 5f | roperty.FindPropertyRelative("m_ |
| 14e0 | 46 69 72 73 74 41 64 6a 75 73 74 6d 65 6e 74 52 65 63 6f 72 64 22 29 3b 0d 0a 20 20 20 20 20 20 | FirstAdjustmentRecord");........ |
| 1500 | 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 65 | ......SerializedProperty.prop_Se |
| 1520 | 63 6f 6e 64 41 64 6a 75 73 74 6d 65 6e 74 52 65 63 6f 72 64 20 3d 20 70 72 6f 70 65 72 74 79 2e | condAdjustmentRecord.=.property. |
| 1540 | 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 65 63 6f 6e 64 41 64 | FindPropertyRelative("m_SecondAd |
| 1560 | 6a 75 73 74 6d 65 6e 74 52 65 63 6f 72 64 22 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 | justmentRecord");............... |
| 1580 | 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 46 69 72 73 74 47 6c | .SerializedProperty.prop_FirstGl |
| 15a0 | 79 70 68 49 6e 64 65 78 20 3d 20 70 72 6f 70 5f 46 69 72 73 74 41 64 6a 75 73 74 6d 65 6e 74 52 | yphIndex.=.prop_FirstAdjustmentR |
| 15c0 | 65 63 6f 72 64 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 | ecord.FindPropertyRelative("m_Gl |
| 15e0 | 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 69 | yphIndex");..............Seriali |
| 1600 | 7a 65 64 50 72 6f 70 65 72 74 79 20 70 72 6f 70 5f 46 69 72 73 74 47 6c 79 70 68 56 61 6c 75 65 | zedProperty.prop_FirstGlyphValue |
| 1620 | 52 65 63 6f 72 64 20 3d 20 70 72 6f 70 5f 46 69 72 73 74 41 64 6a 75 73 74 6d 65 6e 74 52 65 63 | Record.=.prop_FirstAdjustmentRec |
| 1640 | 6f 72 64 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 | ord.FindPropertyRelative("m_Glyp |
| 1660 | 68 56 61 6c 75 65 52 65 63 6f 72 64 22 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 53 | hValueRecord");................S |
| 1680 | 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 20 70 72 6f 70 5f 53 65 63 6f 6e 64 47 6c 79 | erializedProperty.prop_SecondGly |
| 16a0 | 70 68 49 6e 64 65 78 20 3d 20 70 72 6f 70 5f 53 65 63 6f 6e 64 41 64 6a 75 73 74 6d 65 6e 74 52 | phIndex.=.prop_SecondAdjustmentR |
| 16c0 | 65 63 6f 72 64 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 | ecord.FindPropertyRelative("m_Gl |
| 16e0 | 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 69 | yphIndex");..............Seriali |
| 1700 | 7a 65 64 50 72 6f 70 65 72 74 79 20 70 72 6f 70 5f 53 65 63 6f 6e 64 47 6c 79 70 68 56 61 6c 75 | zedProperty.prop_SecondGlyphValu |
| 1720 | 65 52 65 63 6f 72 64 20 3d 20 70 72 6f 70 5f 53 65 63 6f 6e 64 41 64 6a 75 73 74 6d 65 6e 74 52 | eRecord.=.prop_SecondAdjustmentR |
| 1740 | 65 63 6f 72 64 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 | ecord.FindPropertyRelative("m_Gl |
| 1760 | 79 70 68 56 61 6c 75 65 52 65 63 6f 72 64 22 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 | yphValueRecord");............... |
| 1780 | 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 46 6f 6e 74 46 65 61 | .SerializedProperty.prop_FontFea |
| 17a0 | 74 75 72 65 4c 6f 6f 6b 75 70 46 6c 61 67 73 20 3d 20 70 72 6f 70 65 72 74 79 2e 46 69 6e 64 50 | tureLookupFlags.=.property.FindP |
| 17c0 | 72 6f 70 65 72 74 79 52 65 6c 61 74 69 76 65 28 22 6d 5f 46 65 61 74 75 72 65 4c 6f 6f 6b 75 70 | ropertyRelative("m_FeatureLookup |
| 17e0 | 46 6c 61 67 73 22 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 6f 73 69 74 69 6f 6e | Flags");................position |
| 1800 | 2e 79 4d 69 6e 20 2b 3d 20 32 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 66 6c 6f 61 74 | .yMin.+=.2;................float |
| 1820 | 20 77 69 64 74 68 20 3d 20 70 6f 73 69 74 69 6f 6e 2e 77 69 64 74 68 20 2f 20 32 3b 0d 0a 20 20 | .width.=.position.width./.2;.... |
| 1840 | 20 20 20 20 20 20 20 20 20 20 66 6c 6f 61 74 20 70 61 64 64 69 6e 67 20 3d 20 35 2e 30 66 3b 0d | ..........float.padding.=.5.0f;. |
| 1860 | 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 52 65 63 74 20 72 65 63 74 3b 0d 0a 0d 0a 20 20 20 | ...............Rect.rect;....... |
| 1880 | 20 20 20 20 20 20 20 20 20 69 73 45 64 69 74 69 6e 67 45 6e 61 62 6c 65 64 20 3d 20 47 55 49 2e | .........isEditingEnabled.=.GUI. |
| 18a0 | 65 6e 61 62 6c 65 64 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 73 53 65 6c 65 63 74 61 62 | enabled;..............isSelectab |
| 18c0 | 6c 65 20 3d 20 6c 61 62 65 6c 2e 74 65 78 74 20 3d 3d 20 22 53 65 6c 65 63 74 61 62 6c 65 22 20 | le.=.label.text.==."Selectable". |
| 18e0 | 3f 20 74 72 75 65 20 3a 20 66 61 6c 73 65 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 | ?.true.:.false;................i |
| 1900 | 66 20 28 69 73 53 65 6c 65 63 74 61 62 6c 65 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | f.(isSelectable)................ |
| 1920 | 20 20 47 55 49 4c 61 79 6f 75 74 55 74 69 6c 69 74 79 2e 47 65 74 52 65 63 74 28 70 6f 73 69 74 | ..GUILayoutUtility.GetRect(posit |
| 1940 | 69 6f 6e 2e 77 69 64 74 68 2c 20 37 35 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 | ion.width,.75);..............els |
| 1960 | 65 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 47 55 49 4c 61 79 6f 75 74 55 74 69 6c | e..................GUILayoutUtil |
| 1980 | 69 74 79 2e 47 65 74 52 65 63 74 28 70 6f 73 69 74 69 6f 6e 2e 77 69 64 74 68 2c 20 35 35 29 3b | ity.GetRect(position.width,.55); |
| 19a0 | 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 79 6c 65 20 3d | ................GUIStyle.style.= |
| 19c0 | 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 6c 61 62 65 6c | .new.GUIStyle(EditorStyles.label |
| 19e0 | 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 65 78 74 20 3d | );..............style.richText.= |
| 1a00 | 20 74 72 75 65 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 46 69 72 73 74 20 47 | .true;................//.First.G |
| 1a20 | 6c 79 70 68 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 47 55 49 2e 65 6e 61 62 6c 65 64 20 3d 20 | lyph..............GUI.enabled.=. |
| 1a40 | 69 73 45 64 69 74 69 6e 67 45 6e 61 62 6c 65 64 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 | isEditingEnabled;..............i |
| 1a60 | 66 20 28 69 73 53 65 6c 65 63 74 61 62 6c 65 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d | f.(isSelectable)..............{. |
| 1a80 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 63 74 20 3d 20 6e 65 77 20 52 65 63 74 | .................rect.=.new.Rect |
| 1aa0 | 28 70 6f 73 69 74 69 6f 6e 2e 78 20 2b 20 37 30 2c 20 70 6f 73 69 74 69 6f 6e 2e 79 2c 20 70 6f | (position.x.+.70,.position.y,.po |
| 1ac0 | 73 69 74 69 6f 6e 2e 77 69 64 74 68 2c 20 34 39 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 | sition.width,.49);.............. |
| 1ae0 | 20 20 20 20 20 20 66 6c 6f 61 74 20 6c 61 62 65 6c 57 69 64 74 68 20 3d 20 47 55 49 2e 73 6b 69 | ......float.labelWidth.=.GUI.ski |
| 1b00 | 6e 2e 6c 61 62 65 6c 2e 43 61 6c 63 53 69 7a 65 28 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 | n.label.CalcSize(new.GUIContent( |
| 1b20 | 22 49 44 3a 20 22 20 2b 20 70 72 6f 70 5f 46 69 72 73 74 47 6c 79 70 68 49 6e 64 65 78 2e 69 6e | "ID:.".+.prop_FirstGlyphIndex.in |
| 1b40 | 74 56 61 6c 75 65 29 29 2e 78 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 | tValue)).x;..................Edi |
| 1b60 | 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 70 6f 73 69 74 | torGUI.LabelField(new.Rect(posit |
| 1b80 | 69 6f 6e 2e 78 20 2b 20 28 36 34 20 2d 20 6c 61 62 65 6c 57 69 64 74 68 29 20 2f 20 32 2c 20 70 | ion.x.+.(64.-.labelWidth)./.2,.p |
| 1ba0 | 6f 73 69 74 69 6f 6e 2e 79 20 2b 20 36 30 2c 20 36 34 66 2c 20 31 38 66 29 2c 20 6e 65 77 20 47 | osition.y.+.60,.64f,.18f),.new.G |
| 1bc0 | 55 49 43 6f 6e 74 65 6e 74 28 22 49 44 3a 20 3c 63 6f 6c 6f 72 3d 23 46 46 46 46 38 30 3e 22 20 | UIContent("ID:.<color=#FFFF80>". |
| 1be0 | 2b 20 70 72 6f 70 5f 46 69 72 73 74 47 6c 79 70 68 49 6e 64 65 78 2e 69 6e 74 56 61 6c 75 65 20 | +.prop_FirstGlyphIndex.intValue. |
| 1c00 | 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 20 20 20 20 20 20 | +."</color>"),.style);.......... |
| 1c20 | 20 20 20 20 20 20 20 20 20 20 47 55 49 2e 65 6e 61 62 6c 65 64 20 3d 20 69 73 45 64 69 74 69 6e | ..........GUI.enabled.=.isEditin |
| 1c40 | 67 45 6e 61 62 6c 65 64 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f | gEnabled;..................Edito |
| 1c60 | 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 33 30 66 3b 0d 0a 0d | rGUIUtility.labelWidth.=.30f;... |
| 1c80 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 63 74 20 3d 20 6e 65 77 20 52 65 63 74 | .................rect.=.new.Rect |
| 1ca0 | 28 70 6f 73 69 74 69 6f 6e 2e 78 20 2b 20 37 30 2c 20 70 6f 73 69 74 69 6f 6e 2e 79 20 2b 20 31 | (position.x.+.70,.position.y.+.1 |
| 1cc0 | 30 2c 20 28 77 69 64 74 68 20 2d 20 37 30 29 20 2d 20 70 61 64 64 69 6e 67 2c 20 31 38 29 3b 0d | 0,.(width.-.70).-.padding,.18);. |
| 1ce0 | 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 50 72 6f 70 65 | .................EditorGUI.Prope |
| 1d00 | 72 74 79 46 69 65 6c 64 28 72 65 63 74 2c 20 70 72 6f 70 5f 46 69 72 73 74 47 6c 79 70 68 56 61 | rtyField(rect,.prop_FirstGlyphVa |
| 1d20 | 6c 75 65 52 65 63 6f 72 64 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 52 65 6c 61 74 69 76 65 28 22 | lueRecord.FindPropertyRelative(" |
| 1d40 | 6d 5f 58 50 6c 61 63 65 6d 65 6e 74 22 29 2c 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 | m_XPlacement"),.new.GUIContent(" |
| 1d60 | 4f 58 3a 22 29 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 63 74 2e | OX:"));....................rect. |
| 1d80 | 79 20 2b 3d 20 32 30 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 | y.+=.20;..................Editor |
| 1da0 | 47 55 49 2e 50 72 6f 70 65 72 74 79 46 69 65 6c 64 28 72 65 63 74 2c 20 70 72 6f 70 5f 46 69 72 | GUI.PropertyField(rect,.prop_Fir |
| 1dc0 | 73 74 47 6c 79 70 68 56 61 6c 75 65 52 65 63 6f 72 64 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 52 | stGlyphValueRecord.FindPropertyR |
| 1de0 | 65 6c 61 74 69 76 65 28 22 6d 5f 59 50 6c 61 63 65 6d 65 6e 74 22 29 2c 20 6e 65 77 20 47 55 49 | elative("m_YPlacement"),.new.GUI |
| 1e00 | 43 6f 6e 74 65 6e 74 28 22 4f 59 3a 22 29 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 | Content("OY:"));................ |
| 1e20 | 20 20 20 20 72 65 63 74 2e 79 20 2b 3d 20 32 30 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ....rect.y.+=.20;............... |
| 1e40 | 20 20 20 45 64 69 74 6f 72 47 55 49 2e 50 72 6f 70 65 72 74 79 46 69 65 6c 64 28 72 65 63 74 2c | ...EditorGUI.PropertyField(rect, |
| 1e60 | 20 70 72 6f 70 5f 46 69 72 73 74 47 6c 79 70 68 56 61 6c 75 65 52 65 63 6f 72 64 2e 46 69 6e 64 | .prop_FirstGlyphValueRecord.Find |
| 1e80 | 50 72 6f 70 65 72 74 79 52 65 6c 61 74 69 76 65 28 22 6d 5f 58 41 64 76 61 6e 63 65 22 29 2c 20 | PropertyRelative("m_XAdvance"),. |
| 1ea0 | 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 41 58 3a 22 29 29 3b 0d 0a 0d 0a 20 20 20 20 20 | new.GUIContent("AX:"));......... |
| 1ec0 | 20 20 20 20 20 20 20 20 20 20 20 2f 2f 72 65 63 74 2e 79 20 2b 3d 20 32 30 3b 0d 0a 20 20 20 20 | ...........//rect.y.+=.20;...... |
| 1ee0 | 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 45 64 69 74 6f 72 47 55 49 2e 50 72 6f 70 65 72 74 79 | ............//EditorGUI.Property |
| 1f00 | 46 69 65 6c 64 28 72 65 63 74 2c 20 70 72 6f 70 5f 46 69 72 73 74 47 6c 79 70 68 56 61 6c 75 65 | Field(rect,.prop_FirstGlyphValue |
| 1f20 | 52 65 63 6f 72 64 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 | Record.FindPropertyRelative("m_Y |
| 1f40 | 41 64 76 61 6e 63 65 22 29 2c 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 41 59 3a 22 29 | Advance"),.new.GUIContent("AY:") |
| 1f60 | 29 3b 0d 0a 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 | );....................DrawGlyph( |
| 1f80 | 28 75 69 6e 74 29 70 72 6f 70 5f 46 69 72 73 74 47 6c 79 70 68 49 6e 64 65 78 2e 69 6e 74 56 61 | (uint)prop_FirstGlyphIndex.intVa |
| 1fa0 | 6c 75 65 2c 20 6e 65 77 20 52 65 63 74 28 70 6f 73 69 74 69 6f 6e 2e 78 2c 20 70 6f 73 69 74 69 | lue,.new.Rect(position.x,.positi |
| 1fc0 | 6f 6e 2e 79 2c 20 70 6f 73 69 74 69 6f 6e 2e 77 69 64 74 68 2c 20 70 6f 73 69 74 69 6f 6e 2e 68 | on.y,.position.width,.position.h |
| 1fe0 | 65 69 67 68 74 29 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 | eight),.property);.............. |
| 2000 | 7d 0d 0a 20 20 20 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 | }..............else............. |
| 2020 | 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 63 74 20 3d 20 6e 65 77 20 52 | .{..................rect.=.new.R |
| 2040 | 65 63 74 28 70 6f 73 69 74 69 6f 6e 2e 78 2c 20 70 6f 73 69 74 69 6f 6e 2e 79 2c 20 77 69 64 74 | ect(position.x,.position.y,.widt |
| 2060 | 68 20 2f 20 32 20 2a 20 30 2e 38 66 20 2d 20 70 61 64 64 69 6e 67 2c 20 31 38 29 3b 0d 0a 20 20 | h./.2.*.0.8f.-.padding,.18);.... |
| 2080 | 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 2e 6c | ..............EditorGUIUtility.l |
| 20a0 | 61 62 65 6c 57 69 64 74 68 20 3d 20 34 30 66 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 | abelWidth.=.40f;................ |
| 20c0 | 20 20 20 20 2f 2f 20 46 69 72 73 74 20 43 68 61 72 61 63 74 65 72 20 4c 6f 6f 6b 75 70 0d 0a 20 | ....//.First.Character.Lookup... |
| 20e0 | 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 72 6f | ...............GUI.SetNextContro |
| 2100 | 6c 4e 61 6d 65 28 22 46 69 72 73 74 43 68 61 72 61 63 74 65 72 46 69 65 6c 64 22 29 3b 0d 0a 20 | lName("FirstCharacterField");... |
| 2120 | 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 42 65 67 69 6e 43 68 | ...............EditorGUI.BeginCh |
| 2140 | 61 6e 67 65 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 | angeCheck();..................st |
| 2160 | 72 69 6e 67 20 66 69 72 73 74 43 68 61 72 61 63 74 65 72 20 3d 20 45 64 69 74 6f 72 47 55 49 2e | ring.firstCharacter.=.EditorGUI. |
| 2180 | 54 65 78 74 46 69 65 6c 64 28 72 65 63 74 2c 20 73 5f 43 68 61 72 61 63 74 65 72 54 65 78 74 46 | TextField(rect,.s_CharacterTextF |
| 21a0 | 69 65 6c 64 4c 61 62 65 6c 2c 20 6d 5f 46 69 72 73 74 43 68 61 72 61 63 74 65 72 29 3b 0d 0a 0d | ieldLabel,.m_FirstCharacter);... |
| 21c0 | 0a 20 20 20 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 | .................if.(GUI.GetName |
| 21e0 | 4f 66 46 6f 63 75 73 65 64 43 6f 6e 74 72 6f 6c 28 29 20 3d 3d 20 22 46 69 72 73 74 43 68 61 72 | OfFocusedControl().==."FirstChar |
| 2200 | 61 63 74 65 72 46 69 65 6c 64 22 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d | acterField")..................{. |
| 2220 | 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 56 61 6c 69 64 61 74 | .....................if.(Validat |
| 2240 | 65 49 6e 70 75 74 28 66 69 72 73 74 43 68 61 72 61 63 74 65 72 29 29 0d 0a 20 20 20 20 20 20 20 | eInput(firstCharacter))......... |
| 2260 | 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 20 | .............{.................. |
| 2280 | 20 20 20 20 20 20 20 20 2f 2f 44 65 62 75 67 2e 4c 6f 67 28 22 31 73 74 20 55 6e 69 63 6f 64 65 | ........//Debug.Log("1st.Unicode |
| 22a0 | 20 76 61 6c 75 65 3a 20 5b 22 20 2b 20 66 69 72 73 74 43 68 61 72 61 63 74 65 72 20 2b 20 22 5d | .value:.[".+.firstCharacter.+."] |
| 22c0 | 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 75 | ");............................u |
| 22e0 | 69 6e 74 20 75 6e 69 63 6f 64 65 20 3d 20 47 65 74 55 6e 69 63 6f 64 65 43 68 61 72 61 63 74 65 | int.unicode.=.GetUnicodeCharacte |
| 2300 | 72 28 66 69 72 73 74 43 68 61 72 61 63 74 65 72 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 | r(firstCharacter);.............. |
| 2320 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 4c 6f 6f 6b 75 70 20 67 6c 79 70 68 20 69 6e | ..............//.Lookup.glyph.in |
| 2340 | 64 65 78 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 54 4d 50 | dex..........................TMP |
| 2360 | 5f 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 48 6f 6c 64 65 72 20 70 72 6f 70 65 72 | _SerializedPropertyHolder.proper |
| 2380 | 74 79 48 6f 6c 64 65 72 20 3d 20 70 72 6f 70 65 72 74 79 2e 73 65 72 69 61 6c 69 7a 65 64 4f 62 | tyHolder.=.property.serializedOb |
| 23a0 | 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 53 65 72 69 61 6c 69 | ject.targetObject.as.TMP_Seriali |
| 23c0 | 7a 65 64 50 72 6f 70 65 72 74 79 48 6f 6c 64 65 72 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 | zedPropertyHolder;.............. |
| 23e0 | 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 74 41 73 | ............TMP_FontAsset.fontAs |
| 2400 | 73 65 74 20 3d 20 70 72 6f 70 65 72 74 79 48 6f 6c 64 65 72 2e 66 6f 6e 74 41 73 73 65 74 3b 0d | set.=.propertyHolder.fontAsset;. |
| 2420 | 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 69 66 20 28 66 6f 6e | .........................if.(fon |
| 2440 | 74 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 20 20 | tAsset.!=.null)................. |
| 2460 | 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 | .........{...................... |
| 2480 | 20 20 20 20 20 20 20 20 70 72 6f 70 5f 46 69 72 73 74 47 6c 79 70 68 49 6e 64 65 78 2e 69 6e 74 | ........prop_FirstGlyphIndex.int |
| 24a0 | 56 61 6c 75 65 20 3d 20 28 69 6e 74 29 66 6f 6e 74 41 73 73 65 74 2e 47 65 74 47 6c 79 70 68 49 | Value.=.(int)fontAsset.GetGlyphI |
| 24c0 | 6e 64 65 78 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 20 | ndex(unicode);.................. |
| 24e0 | 20 20 20 20 20 20 20 20 20 20 20 20 70 72 6f 70 65 72 74 79 48 6f 6c 64 65 72 2e 66 69 72 73 74 | ............propertyHolder.first |
| 2500 | 43 68 61 72 61 63 74 65 72 20 3d 20 75 6e 69 63 6f 64 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 | Character.=.unicode;............ |
| 2520 | 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 20 20 | ..............}................. |
| 2540 | 20 20 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 | .....}..................}....... |
| 2560 | 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 6e 64 43 68 | .............if.(EditorGUI.EndCh |
| 2580 | 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 20 20 20 20 | angeCheck()).................... |
| 25a0 | 20 20 6d 5f 46 69 72 73 74 43 68 61 72 61 63 74 65 72 20 3d 20 66 69 72 73 74 43 68 61 72 61 63 | ..m_FirstCharacter.=.firstCharac |
| 25c0 | 74 65 72 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 46 69 72 73 74 | ter;....................//.First |
| 25e0 | 20 47 6c 79 70 68 20 49 6e 64 65 78 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 | .Glyph.Index..................re |
| 2600 | 63 74 2e 78 20 2b 3d 20 77 69 64 74 68 20 2f 20 32 20 2a 20 30 2e 38 66 3b 0d 0a 0d 0a 20 20 20 | ct.x.+=.width./.2.*.0.8f;....... |
| 2620 | 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 2e 6c 61 | .............EditorGUIUtility.la |
| 2640 | 62 65 6c 57 69 64 74 68 20 3d 20 32 35 66 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | belWidth.=.25f;................. |
| 2660 | 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 28 29 3b 0d 0a | .EditorGUI.BeginChangeCheck();.. |
| 2680 | 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 |
| 26a0 | 74 79 46 69 65 6c 64 28 72 65 63 74 2c 20 70 72 6f 70 5f 46 69 72 73 74 47 6c 79 70 68 49 6e 64 | tyField(rect,.prop_FirstGlyphInd |
| 26c0 | 65 78 2c 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 49 44 3a 22 29 29 3b 0d 0a 20 20 20 | ex,.new.GUIContent("ID:"));..... |
| 26e0 | 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 6e 64 43 68 | .............if.(EditorGUI.EndCh |
| 2700 | 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 20 20 7b 0d | angeCheck())..................{. |
| 2720 | 0a 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 | ...................}............ |
| 2740 | 20 20 20 20 20 20 20 20 47 55 49 2e 65 6e 61 62 6c 65 64 20 3d 20 69 73 45 64 69 74 69 6e 67 45 | ........GUI.enabled.=.isEditingE |
| 2760 | 6e 61 62 6c 65 64 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 | nabled;..................EditorG |
| 2780 | 55 49 55 74 69 6c 69 74 79 2e 6c 61 62 65 6c 57 69 64 74 68 20 3d 20 32 35 66 3b 0d 0a 0d 0a 20 | UIUtility.labelWidth.=.25f;..... |
| 27a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 63 74 20 3d 20 6e 65 77 20 52 65 63 74 28 70 | ...............rect.=.new.Rect(p |
| 27c0 | 6f 73 69 74 69 6f 6e 2e 78 2c 20 70 6f 73 69 74 69 6f 6e 2e 79 20 2b 20 32 30 2c 20 77 69 64 74 | osition.x,.position.y.+.20,.widt |
| 27e0 | 68 20 2a 20 30 2e 35 66 20 2d 20 70 61 64 64 69 6e 67 2c 20 31 38 29 3b 0d 0a 20 20 20 20 20 20 | h.*.0.5f.-.padding,.18);........ |
| 2800 | 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 69 65 6c | ..........EditorGUI.PropertyFiel |
| 2820 | 64 28 72 65 63 74 2c 20 70 72 6f 70 5f 46 69 72 73 74 47 6c 79 70 68 56 61 6c 75 65 52 65 63 6f | d(rect,.prop_FirstGlyphValueReco |
| 2840 | 72 64 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 58 50 6c 61 63 | rd.FindPropertyRelative("m_XPlac |
| 2860 | 65 6d 65 6e 74 22 29 2c 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 4f 58 22 29 29 3b 0d | ement"),.new.GUIContent("OX"));. |
| 2880 | 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 63 74 2e 78 20 2b 3d 20 77 69 64 | ...................rect.x.+=.wid |
| 28a0 | 74 68 20 2a 20 30 2e 35 66 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 | th.*.0.5f;..................Edit |
| 28c0 | 6f 72 47 55 49 2e 50 72 6f 70 65 72 74 79 46 69 65 6c 64 28 72 65 63 74 2c 20 70 72 6f 70 5f 46 | orGUI.PropertyField(rect,.prop_F |
| 28e0 | 69 72 73 74 47 6c 79 70 68 56 61 6c 75 65 52 65 63 6f 72 64 2e 46 69 6e 64 50 72 6f 70 65 72 74 | irstGlyphValueRecord.FindPropert |
| 2900 | 79 52 65 6c 61 74 69 76 65 28 22 6d 5f 59 50 6c 61 63 65 6d 65 6e 74 22 29 2c 20 6e 65 77 20 47 | yRelative("m_YPlacement"),.new.G |
| 2920 | 55 49 43 6f 6e 74 65 6e 74 28 22 4f 59 22 29 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 | UIContent("OY"));............... |
| 2940 | 20 20 20 20 20 72 65 63 74 2e 78 20 3d 20 70 6f 73 69 74 69 6f 6e 2e 78 3b 0d 0a 20 20 20 20 20 | .....rect.x.=.position.x;....... |
| 2960 | 20 20 20 20 20 20 20 20 20 20 20 72 65 63 74 2e 79 20 2b 3d 20 32 30 3b 0d 0a 20 20 20 20 20 20 | ...........rect.y.+=.20;........ |
| 2980 | 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 69 65 6c | ..........EditorGUI.PropertyFiel |
| 29a0 | 64 28 72 65 63 74 2c 20 70 72 6f 70 5f 46 69 72 73 74 47 6c 79 70 68 56 61 6c 75 65 52 65 63 6f | d(rect,.prop_FirstGlyphValueReco |
| 29c0 | 72 64 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 58 41 64 76 61 | rd.FindPropertyRelative("m_XAdva |
| 29e0 | 6e 63 65 22 29 2c 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 41 58 22 29 29 3b 0d 0a 0d | nce"),.new.GUIContent("AX"));... |
| 2a00 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 72 65 63 74 2e 78 20 2b 3d 20 77 69 64 | .................//rect.x.+=.wid |
| 2a20 | 74 68 20 2a 20 30 2e 35 66 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 45 64 | th.*.0.5f;..................//Ed |
| 2a40 | 69 74 6f 72 47 55 49 2e 50 72 6f 70 65 72 74 79 46 69 65 6c 64 28 72 65 63 74 2c 20 70 72 6f 70 | itorGUI.PropertyField(rect,.prop |
| 2a60 | 5f 46 69 72 73 74 47 6c 79 70 68 41 64 6a 75 73 74 6d 65 6e 74 2e 46 69 6e 64 50 72 6f 70 65 72 | _FirstGlyphAdjustment.FindProper |
| 2a80 | 74 79 52 65 6c 61 74 69 76 65 28 22 6d 5f 59 41 64 76 61 6e 63 65 22 29 2c 20 6e 65 77 20 47 55 | tyRelative("m_YAdvance"),.new.GU |
| 2aa0 | 49 43 6f 6e 74 65 6e 74 28 22 41 59 22 29 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 | IContent("AY"));................ |
| 2ac0 | 7d 0d 0a 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 53 65 63 6f 6e 64 20 47 6c 79 | }..................//.Second.Gly |
| 2ae0 | 70 68 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 47 55 49 2e 65 6e 61 62 6c 65 64 20 3d 20 69 73 | ph..............GUI.enabled.=.is |
| 2b00 | 45 64 69 74 69 6e 67 45 6e 61 62 6c 65 64 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 | EditingEnabled;..............if. |
| 2b20 | 28 69 73 53 65 6c 65 63 74 61 62 6c 65 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 | (isSelectable)..............{... |
| 2b40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 6c 6f 61 74 20 6c 61 62 65 6c 57 69 64 74 68 20 | ...............float.labelWidth. |
| 2b60 | 3d 20 47 55 49 2e 73 6b 69 6e 2e 6c 61 62 65 6c 2e 43 61 6c 63 53 69 7a 65 28 6e 65 77 20 47 55 | =.GUI.skin.label.CalcSize(new.GU |
| 2b80 | 49 43 6f 6e 74 65 6e 74 28 22 49 44 3a 20 22 20 2b 20 70 72 6f 70 5f 53 65 63 6f 6e 64 47 6c 79 | IContent("ID:.".+.prop_SecondGly |
| 2ba0 | 70 68 49 6e 64 65 78 2e 69 6e 74 56 61 6c 75 65 29 29 2e 78 3b 0d 0a 20 20 20 20 20 20 20 20 20 | phIndex.intValue)).x;........... |
| 2bc0 | 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 6c 64 28 6e 65 77 20 | .......EditorGUI.LabelField(new. |
| 2be0 | 52 65 63 74 28 70 6f 73 69 74 69 6f 6e 2e 77 69 64 74 68 20 2f 20 32 20 2b 20 32 30 20 2b 20 28 | Rect(position.width./.2.+.20.+.( |
| 2c00 | 36 34 20 2d 20 6c 61 62 65 6c 57 69 64 74 68 29 20 2f 20 32 2c 20 70 6f 73 69 74 69 6f 6e 2e 79 | 64.-.labelWidth)./.2,.position.y |
| 2c20 | 20 2b 20 36 30 2c 20 36 34 66 2c 20 31 38 66 29 2c 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 | .+.60,.64f,.18f),.new.GUIContent |
| 2c40 | 28 22 49 44 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 65 | ("ID:.<color=#FFFF80>".+.prop_Se |
| 2c60 | 63 6f 6e 64 47 6c 79 70 68 49 6e 64 65 78 2e 69 6e 74 56 61 6c 75 65 20 2b 20 22 3c 2f 63 6f 6c | condGlyphIndex.intValue.+."</col |
| 2c80 | 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 20 20 20 20 | or>"),.style);.................. |
| 2ca0 | 20 20 47 55 49 2e 65 6e 61 62 6c 65 64 20 3d 20 69 73 45 64 69 74 69 6e 67 45 6e 61 62 6c 65 64 | ..GUI.enabled.=.isEditingEnabled |
| 2cc0 | 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 55 74 69 6c | ;..................EditorGUIUtil |
| 2ce0 | 69 74 79 2e 6c 61 62 65 6c 57 69 64 74 68 20 3d 20 33 30 66 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 | ity.labelWidth.=.30f;........... |
| 2d00 | 20 20 20 20 20 20 20 20 20 72 65 63 74 20 3d 20 6e 65 77 20 52 65 63 74 28 70 6f 73 69 74 69 6f | .........rect.=.new.Rect(positio |
| 2d20 | 6e 2e 77 69 64 74 68 20 2f 20 32 20 2b 20 32 30 20 2b 20 37 30 2c 20 70 6f 73 69 74 69 6f 6e 2e | n.width./.2.+.20.+.70,.position. |
| 2d40 | 79 20 2b 20 31 30 2c 20 28 77 69 64 74 68 20 2d 20 37 30 29 20 2d 20 70 61 64 64 69 6e 67 2c 20 | y.+.10,.(width.-.70).-.padding,. |
| 2d60 | 31 38 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 | 18);..................EditorGUI. |
| 2d80 | 50 72 6f 70 65 72 74 79 46 69 65 6c 64 28 72 65 63 74 2c 20 70 72 6f 70 5f 53 65 63 6f 6e 64 47 | PropertyField(rect,.prop_SecondG |
| 2da0 | 6c 79 70 68 56 61 6c 75 65 52 65 63 6f 72 64 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 52 65 6c 61 | lyphValueRecord.FindPropertyRela |
| 2dc0 | 74 69 76 65 28 22 6d 5f 58 50 6c 61 63 65 6d 65 6e 74 22 29 2c 20 6e 65 77 20 47 55 49 43 6f 6e | tive("m_XPlacement"),.new.GUICon |
| 2de0 | 74 65 6e 74 28 22 4f 58 3a 22 29 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | tent("OX:"));................... |
| 2e00 | 20 72 65 63 74 2e 79 20 2b 3d 20 32 30 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .rect.y.+=.20;.................. |
| 2e20 | 45 64 69 74 6f 72 47 55 49 2e 50 72 6f 70 65 72 74 79 46 69 65 6c 64 28 72 65 63 74 2c 20 70 72 | EditorGUI.PropertyField(rect,.pr |
| 2e40 | 6f 70 5f 53 65 63 6f 6e 64 47 6c 79 70 68 56 61 6c 75 65 52 65 63 6f 72 64 2e 46 69 6e 64 50 72 | op_SecondGlyphValueRecord.FindPr |
| 2e60 | 6f 70 65 72 74 79 52 65 6c 61 74 69 76 65 28 22 6d 5f 59 50 6c 61 63 65 6d 65 6e 74 22 29 2c 20 | opertyRelative("m_YPlacement"),. |
| 2e80 | 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 4f 59 3a 22 29 29 3b 0d 0a 0d 0a 20 20 20 20 20 | new.GUIContent("OY:"));......... |
| 2ea0 | 20 20 20 20 20 20 20 20 20 20 20 72 65 63 74 2e 79 20 2b 3d 20 32 30 3b 0d 0a 20 20 20 20 20 20 | ...........rect.y.+=.20;........ |
| 2ec0 | 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 69 65 6c | ..........EditorGUI.PropertyFiel |
| 2ee0 | 64 28 72 65 63 74 2c 20 70 72 6f 70 5f 53 65 63 6f 6e 64 47 6c 79 70 68 56 61 6c 75 65 52 65 63 | d(rect,.prop_SecondGlyphValueRec |
| 2f00 | 6f 72 64 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 58 41 64 76 | ord.FindPropertyRelative("m_XAdv |
| 2f20 | 61 6e 63 65 22 29 2c 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 41 58 3a 22 29 29 3b 0d | ance"),.new.GUIContent("AX:"));. |
| 2f40 | 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 72 65 63 74 2e 79 20 2b 3d 20 32 | ...................//rect.y.+=.2 |
| 2f60 | 30 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 45 64 69 74 6f 72 47 55 49 2e | 0;..................//EditorGUI. |
| 2f80 | 50 72 6f 70 65 72 74 79 46 69 65 6c 64 28 72 65 63 74 2c 20 70 72 6f 70 5f 53 65 63 6f 6e 64 47 | PropertyField(rect,.prop_SecondG |
| 2fa0 | 6c 79 70 68 41 64 6a 75 73 74 6d 65 6e 74 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 52 65 6c 61 74 | lyphAdjustment.FindPropertyRelat |
| 2fc0 | 69 76 65 28 22 6d 5f 59 41 64 76 61 6e 63 65 22 29 2c 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e | ive("m_YAdvance"),.new.GUIConten |
| 2fe0 | 74 28 22 41 59 22 29 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 44 72 61 | t("AY"));....................Dra |
| 3000 | 77 47 6c 79 70 68 28 28 75 69 6e 74 29 70 72 6f 70 5f 53 65 63 6f 6e 64 47 6c 79 70 68 49 6e 64 | wGlyph((uint)prop_SecondGlyphInd |
| 3020 | 65 78 2e 69 6e 74 56 61 6c 75 65 2c 20 6e 65 77 20 52 65 63 74 28 70 6f 73 69 74 69 6f 6e 2e 77 | ex.intValue,.new.Rect(position.w |
| 3040 | 69 64 74 68 20 2f 20 32 20 2b 20 32 30 2c 20 70 6f 73 69 74 69 6f 6e 2e 79 2c 20 70 6f 73 69 74 | idth./.2.+.20,.position.y,.posit |
| 3060 | 69 6f 6e 2e 77 69 64 74 68 2c 20 70 6f 73 69 74 69 6f 6e 2e 68 65 69 67 68 74 29 2c 20 70 72 6f | ion.width,.position.height),.pro |
| 3080 | 70 65 72 74 79 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 | perty);..............}.......... |
| 30a0 | 20 20 20 20 65 6c 73 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 | ....else..............{......... |
| 30c0 | 20 20 20 20 20 20 20 20 20 72 65 63 74 20 3d 20 6e 65 77 20 52 65 63 74 28 70 6f 73 69 74 69 6f | .........rect.=.new.Rect(positio |
| 30e0 | 6e 2e 77 69 64 74 68 20 2f 20 32 20 2b 20 32 30 2c 20 70 6f 73 69 74 69 6f 6e 2e 79 2c 20 77 69 | n.width./.2.+.20,.position.y,.wi |
| 3100 | 64 74 68 20 2f 20 32 20 2a 20 30 2e 38 66 20 2d 20 70 61 64 64 69 6e 67 2c 20 31 38 29 3b 0d 0a | dth./.2.*.0.8f.-.padding,.18);.. |
| 3120 | 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 |
| 3140 | 2e 6c 61 62 65 6c 57 69 64 74 68 20 3d 20 34 30 66 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 | .labelWidth.=.40f;.............. |
| 3160 | 20 20 20 20 20 20 2f 2f 20 53 65 63 6f 6e 64 20 43 68 61 72 61 63 74 65 72 20 4c 6f 6f 6b 75 70 | ......//.Second.Character.Lookup |
| 3180 | 0d 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 | ..................GUI.SetNextCon |
| 31a0 | 74 72 6f 6c 4e 61 6d 65 28 22 53 65 63 6f 6e 64 43 68 61 72 61 63 74 65 72 46 69 65 6c 64 22 29 | trolName("SecondCharacterField") |
| 31c0 | 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 42 65 67 | ;..................EditorGUI.Beg |
| 31e0 | 69 6e 43 68 61 6e 67 65 43 68 65 63 6b 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | inChangeCheck();................ |
| 3200 | 20 20 73 74 72 69 6e 67 20 73 65 63 6f 6e 64 43 68 61 72 61 63 74 65 72 20 3d 20 45 64 69 74 6f | ..string.secondCharacter.=.Edito |
| 3220 | 72 47 55 49 2e 54 65 78 74 46 69 65 6c 64 28 72 65 63 74 2c 20 73 5f 43 68 61 72 61 63 74 65 72 | rGUI.TextField(rect,.s_Character |
| 3240 | 54 65 78 74 46 69 65 6c 64 4c 61 62 65 6c 2c 20 6d 5f 53 65 63 6f 6e 64 43 68 61 72 61 63 74 65 | TextFieldLabel,.m_SecondCharacte |
| 3260 | 72 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 47 55 49 2e 47 | r);....................if.(GUI.G |
| 3280 | 65 74 4e 61 6d 65 4f 66 46 6f 63 75 73 65 64 43 6f 6e 74 72 6f 6c 28 29 20 3d 3d 20 22 53 65 63 | etNameOfFocusedControl().==."Sec |
| 32a0 | 6f 6e 64 43 68 61 72 61 63 74 65 72 46 69 65 6c 64 22 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 | ondCharacterField")............. |
| 32c0 | 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 20 28 | .....{......................if.( |
| 32e0 | 56 61 6c 69 64 61 74 65 49 6e 70 75 74 28 73 65 63 6f 6e 64 43 68 61 72 61 63 74 65 72 29 29 0d | ValidateInput(secondCharacter)). |
| 3300 | 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 20 20 20 20 | .....................{.......... |
| 3320 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 44 65 62 75 67 2e 4c 6f 67 28 22 32 6e 64 | ................//Debug.Log("2nd |
| 3340 | 20 55 6e 69 63 6f 64 65 20 76 61 6c 75 65 3a 20 5b 22 20 2b 20 73 65 63 6f 6e 64 43 68 61 72 61 | .Unicode.value:.[".+.secondChara |
| 3360 | 63 74 65 72 20 2b 20 22 5d 22 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | cter.+."]");.................... |
| 3380 | 20 20 20 20 20 20 20 20 75 69 6e 74 20 75 6e 69 63 6f 64 65 20 3d 20 47 65 74 55 6e 69 63 6f 64 | ........uint.unicode.=.GetUnicod |
| 33a0 | 65 43 68 61 72 61 63 74 65 72 28 73 65 63 6f 6e 64 43 68 61 72 61 63 74 65 72 29 3b 0d 0a 0d 0a | eCharacter(secondCharacter);.... |
| 33c0 | 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 4c 6f 6f 6b 75 | ........................//.Looku |
| 33e0 | 70 20 67 6c 79 70 68 20 69 6e 64 65 78 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | p.glyph.index................... |
| 3400 | 20 20 20 20 20 20 20 54 4d 50 5f 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 48 6f 6c | .......TMP_SerializedPropertyHol |
| 3420 | 64 65 72 20 70 72 6f 70 65 72 74 79 48 6f 6c 64 65 72 20 3d 20 70 72 6f 70 65 72 74 79 2e 73 65 | der.propertyHolder.=.property.se |
| 3440 | 72 69 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 | rializedObject.targetObject.as.T |
| 3460 | 4d 50 5f 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 48 6f 6c 64 65 72 3b 0d 0a 20 20 | MP_SerializedPropertyHolder;.... |
| 3480 | 20 20 20 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 | ......................TMP_FontAs |
| 34a0 | 73 65 74 20 66 6f 6e 74 41 73 73 65 74 20 3d 20 70 72 6f 70 65 72 74 79 48 6f 6c 64 65 72 2e 66 | set.fontAsset.=.propertyHolder.f |
| 34c0 | 6f 6e 74 41 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 20 | ontAsset;....................... |
| 34e0 | 20 20 20 69 66 20 28 66 6f 6e 74 41 73 73 65 74 20 21 3d 20 6e 75 6c 6c 29 0d 0a 20 20 20 20 20 | ...if.(fontAsset.!=.null)....... |
| 3500 | 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 20 20 20 20 20 20 | ...................{............ |
| 3520 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 6f 70 5f 53 65 63 6f 6e 64 47 6c 79 | ..................prop_SecondGly |
| 3540 | 70 68 49 6e 64 65 78 2e 69 6e 74 56 61 6c 75 65 20 3d 20 28 69 6e 74 29 66 6f 6e 74 41 73 73 65 | phIndex.intValue.=.(int)fontAsse |
| 3560 | 74 2e 47 65 74 47 6c 79 70 68 49 6e 64 65 78 28 75 6e 69 63 6f 64 65 29 3b 0d 0a 20 20 20 20 20 | t.GetGlyphIndex(unicode);....... |
| 3580 | 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 65 72 74 79 48 | .......................propertyH |
| 35a0 | 6f 6c 64 65 72 2e 73 65 63 6f 6e 64 43 68 61 72 61 63 74 65 72 20 3d 20 75 6e 69 63 6f 64 65 3b | older.secondCharacter.=.unicode; |
| 35c0 | 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 7d 0d 0a 20 20 20 | ..........................}..... |
| 35e0 | 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 20 20 20 20 20 | .................}.............. |
| 3600 | 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 20 28 45 64 69 | ....}....................if.(Edi |
| 3620 | 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 20 20 20 20 | torGUI.EndChangeCheck())........ |
| 3640 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 53 65 63 6f 6e 64 43 68 61 72 61 63 74 65 72 20 | ..............m_SecondCharacter. |
| 3660 | 3d 20 73 65 63 6f 6e 64 43 68 61 72 61 63 74 65 72 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 | =.secondCharacter;.............. |
| 3680 | 20 20 20 20 20 20 2f 2f 20 53 65 63 6f 6e 64 20 47 6c 79 70 68 20 49 6e 64 65 78 0d 0a 20 20 20 | ......//.Second.Glyph.Index..... |
| 36a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 63 74 2e 78 20 2b 3d 20 77 69 64 74 68 20 2f 20 32 | .............rect.x.+=.width./.2 |
| 36c0 | 20 2a 20 30 2e 38 66 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 | .*.0.8f;....................Edit |
| 36e0 | 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 32 35 66 3b 0d 0a | orGUIUtility.labelWidth.=.25f;.. |
| 3700 | 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 42 65 67 69 6e 43 | ................EditorGUI.BeginC |
| 3720 | 68 61 6e 67 65 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 45 | hangeCheck();..................E |
| 3740 | 64 69 74 6f 72 47 55 49 2e 50 72 6f 70 65 72 74 79 46 69 65 6c 64 28 72 65 63 74 2c 20 70 72 6f | ditorGUI.PropertyField(rect,.pro |
| 3760 | 70 5f 53 65 63 6f 6e 64 47 6c 79 70 68 49 6e 64 65 78 2c 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 | p_SecondGlyphIndex,.new.GUIConte |
| 3780 | 6e 74 28 22 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 | nt("ID:"));..................if. |
| 37a0 | 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()).... |
| 37c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ..............{................. |
| 37e0 | 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 47 55 49 2e 65 6e 61 62 | ...}....................GUI.enab |
| 3800 | 6c 65 64 20 3d 20 69 73 45 64 69 74 69 6e 67 45 6e 61 62 6c 65 64 3b 0d 0a 20 20 20 20 20 20 20 | led.=.isEditingEnabled;......... |
| 3820 | 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 6c 57 | .........EditorGUIUtility.labelW |
| 3840 | 69 64 74 68 20 3d 20 32 35 66 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 | idth.=.25f;....................r |
| 3860 | 65 63 74 20 3d 20 6e 65 77 20 52 65 63 74 28 70 6f 73 69 74 69 6f 6e 2e 77 69 64 74 68 20 2f 20 | ect.=.new.Rect(position.width./. |
| 3880 | 32 20 2b 20 32 30 2c 20 70 6f 73 69 74 69 6f 6e 2e 79 20 2b 20 32 30 2c 20 77 69 64 74 68 20 2a | 2.+.20,.position.y.+.20,.width.* |
| 38a0 | 20 30 2e 35 66 20 2d 20 70 61 64 64 69 6e 67 2c 20 31 38 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 | .0.5f.-.padding,.18);........... |
| 38c0 | 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 69 65 6c 64 28 72 | .......EditorGUI.PropertyField(r |
| 38e0 | 65 63 74 2c 20 70 72 6f 70 5f 53 65 63 6f 6e 64 47 6c 79 70 68 56 61 6c 75 65 52 65 63 6f 72 64 | ect,.prop_SecondGlyphValueRecord |
| 3900 | 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 58 50 6c 61 63 65 6d | .FindPropertyRelative("m_XPlacem |
| 3920 | 65 6e 74 22 29 2c 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 4f 58 22 29 29 3b 0d 0a 0d | ent"),.new.GUIContent("OX"));... |
| 3940 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 63 74 2e 78 20 2b 3d 20 77 69 64 74 68 | .................rect.x.+=.width |
| 3960 | 20 2a 20 30 2e 35 66 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 | .*.0.5f;..................Editor |
| 3980 | 47 55 49 2e 50 72 6f 70 65 72 74 79 46 69 65 6c 64 28 72 65 63 74 2c 20 70 72 6f 70 5f 53 65 63 | GUI.PropertyField(rect,.prop_Sec |
| 39a0 | 6f 6e 64 47 6c 79 70 68 56 61 6c 75 65 52 65 63 6f 72 64 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 | ondGlyphValueRecord.FindProperty |
| 39c0 | 52 65 6c 61 74 69 76 65 28 22 6d 5f 59 50 6c 61 63 65 6d 65 6e 74 22 29 2c 20 6e 65 77 20 47 55 | Relative("m_YPlacement"),.new.GU |
| 39e0 | 49 43 6f 6e 74 65 6e 74 28 22 4f 59 22 29 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 | IContent("OY"));................ |
| 3a00 | 20 20 20 20 72 65 63 74 2e 78 20 3d 20 70 6f 73 69 74 69 6f 6e 2e 77 69 64 74 68 20 2f 20 32 20 | ....rect.x.=.position.width./.2. |
| 3a20 | 2b 20 32 30 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 63 74 2e 79 20 2b 3d | +.20;..................rect.y.+= |
| 3a40 | 20 32 30 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 | .20;..................EditorGUI. |
| 3a60 | 50 72 6f 70 65 72 74 79 46 69 65 6c 64 28 72 65 63 74 2c 20 70 72 6f 70 5f 53 65 63 6f 6e 64 47 | PropertyField(rect,.prop_SecondG |
| 3a80 | 6c 79 70 68 56 61 6c 75 65 52 65 63 6f 72 64 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 52 65 6c 61 | lyphValueRecord.FindPropertyRela |
| 3aa0 | 74 69 76 65 28 22 6d 5f 58 41 64 76 61 6e 63 65 22 29 2c 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 | tive("m_XAdvance"),.new.GUIConte |
| 3ac0 | 6e 74 28 22 41 58 22 29 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f | nt("AX"));....................// |
| 3ae0 | 72 65 63 74 2e 78 20 2b 3d 20 77 69 64 74 68 20 2a 20 30 2e 35 66 3b 0d 0a 20 20 20 20 20 20 20 | rect.x.+=.width.*.0.5f;......... |
| 3b00 | 20 20 20 20 20 20 20 20 20 2f 2f 45 64 69 74 6f 72 47 55 49 2e 50 72 6f 70 65 72 74 79 46 69 65 | .........//EditorGUI.PropertyFie |
| 3b20 | 6c 64 28 72 65 63 74 2c 20 70 72 6f 70 5f 53 65 63 6f 6e 64 47 6c 79 70 68 41 64 6a 75 73 74 6d | ld(rect,.prop_SecondGlyphAdjustm |
| 3b40 | 65 6e 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 41 64 76 | ent.FindPropertyRelative("m_YAdv |
| 3b60 | 61 6e 63 65 22 29 2c 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 41 59 22 29 29 3b 0d 0a | ance"),.new.GUIContent("AY"));.. |
| 3b80 | 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 2f 2f 20 | ............}................//. |
| 3ba0 | 46 6f 6e 74 20 46 65 61 74 75 72 65 20 4c 6f 6f 6b 75 70 20 46 6c 61 67 73 0d 0a 20 20 20 20 20 | Font.Feature.Lookup.Flags....... |
| 3bc0 | 20 20 20 20 20 20 20 69 66 20 28 69 73 53 65 6c 65 63 74 61 62 6c 65 29 0d 0a 20 20 20 20 20 20 | .......if.(isSelectable)........ |
| 3be0 | 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 74 6f 72 47 | ......{..................EditorG |
| 3c00 | 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 0a 0d 0a 20 | UIUtility.labelWidth.=.55f;..... |
| 3c20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 63 74 2e 78 20 3d 20 70 6f 73 69 74 69 6f 6e | ...............rect.x.=.position |
| 3c40 | 2e 77 69 64 74 68 20 2d 20 32 35 35 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 | .width.-.255;..................r |
| 3c60 | 65 63 74 2e 79 20 2b 3d 20 32 33 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 | ect.y.+=.23;..................re |
| 3c80 | 63 74 2e 77 69 64 74 68 20 3d 20 32 37 30 3b 20 2f 2f 20 77 69 64 74 68 20 2d 20 37 30 20 2d 20 | ct.width.=.270;.//.width.-.70.-. |
| 3ca0 | 70 61 64 64 69 6e 67 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 46 6f 6e 74 | padding;....................Font |
| 3cc0 | 46 65 61 74 75 72 65 4c 6f 6f 6b 75 70 46 6c 61 67 73 20 66 6c 61 67 73 20 3d 20 28 46 6f 6e 74 | FeatureLookupFlags.flags.=.(Font |
| 3ce0 | 46 65 61 74 75 72 65 4c 6f 6f 6b 75 70 46 6c 61 67 73 29 70 72 6f 70 5f 46 6f 6e 74 46 65 61 74 | FeatureLookupFlags)prop_FontFeat |
| 3d00 | 75 72 65 4c 6f 6f 6b 75 70 46 6c 61 67 73 2e 69 6e 74 56 61 6c 75 65 3b 0d 0a 0d 0a 20 20 20 20 | ureLookupFlags.intValue;........ |
| 3d20 | 20 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 | ............EditorGUI.BeginChang |
| 3d40 | 65 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 66 6c 61 67 73 | eCheck();..................flags |
| 3d60 | 20 3d 20 28 46 6f 6e 74 46 65 61 74 75 72 65 4c 6f 6f 6b 75 70 46 6c 61 67 73 29 45 64 69 74 6f | .=.(FontFeatureLookupFlags)Edito |
| 3d80 | 72 47 55 49 2e 45 6e 75 6d 46 6c 61 67 73 46 69 65 6c 64 28 72 65 63 74 2c 20 6e 65 77 20 47 55 | rGUI.EnumFlagsField(rect,.new.GU |
| 3da0 | 49 43 6f 6e 74 65 6e 74 28 22 4f 70 74 69 6f 6e 73 3a 22 29 2c 20 66 6c 61 67 73 29 3b 0d 0a 20 | IContent("Options:"),.flags);... |
| 3dc0 | 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 6e 64 | ...............if.(EditorGUI.End |
| 3de0 | 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 20 20 | ChangeCheck()).................. |
| 3e00 | 7b 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 70 5f 46 6f 6e 74 | {......................prop_Font |
| 3e20 | 46 65 61 74 75 72 65 4c 6f 6f 6b 75 70 46 6c 61 67 73 2e 69 6e 74 56 61 6c 75 65 20 3d 20 28 69 | FeatureLookupFlags.intValue.=.(i |
| 3e40 | 6e 74 29 66 6c 61 67 73 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 | nt)flags;..................}.... |
| 3e60 | 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 | ..........}............}........ |
| 3e80 | 20 20 20 20 62 6f 6f 6c 20 56 61 6c 69 64 61 74 65 49 6e 70 75 74 28 73 74 72 69 6e 67 20 73 6f | ....bool.ValidateInput(string.so |
| 3ea0 | 75 72 63 65 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 69 6e | urce)..........{..............in |
| 3ec0 | 74 20 6c 65 6e 67 74 68 20 3d 20 73 74 72 69 6e 67 2e 49 73 4e 75 6c 6c 4f 72 45 6d 70 74 79 28 | t.length.=.string.IsNullOrEmpty( |
| 3ee0 | 73 6f 75 72 63 65 29 20 3f 20 30 20 3a 20 73 6f 75 72 63 65 2e 4c 65 6e 67 74 68 3b 0d 0a 0d 0a | source).?.0.:.source.Length;.... |
| 3f00 | 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 2f 2f 46 69 6c 74 65 72 20 6f 75 74 20 75 6e 77 61 6e | ............////Filter.out.unwan |
| 3f20 | 74 65 64 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 45 76 65 | ted.characters...............Eve |
| 3f40 | 6e 74 20 65 76 74 20 3d 20 45 76 65 6e 74 2e 63 75 72 72 65 6e 74 3b 0d 0a 0d 0a 20 20 20 20 20 | nt.evt.=.Event.current;......... |
| 3f60 | 20 20 20 20 20 20 20 63 68 61 72 20 63 20 3d 20 65 76 74 2e 63 68 61 72 61 63 74 65 72 3b 0d 0a | .......char.c.=.evt.character;.. |
| 3f80 | 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 63 20 21 3d 20 27 5c 30 27 29 0d 0a 20 20 | ..............if.(c.!=.'\0').... |
| 3fa0 | 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 73 77 69 | ..........{..................swi |
| 3fc0 | 74 63 68 20 28 6c 65 6e 67 74 68 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d | tch.(length)..................{. |
| 3fe0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 30 3a 0d 0a 20 20 | .....................case.0:.... |
| 4000 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0d 0a 20 20 | ......................break;.... |
| 4020 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 31 3a 0d 0a 20 20 20 20 20 | ..................case.1:....... |
| 4040 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 73 6f 75 72 63 65 20 21 3d | ...................if.(source.!= |
| 4060 | 20 6d 5f 50 72 65 76 69 6f 75 73 49 6e 70 75 74 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | .m_PreviousInput)............... |
| 4080 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 72 75 65 3b 0d 0a 0d 0a 20 | ...............return.true;..... |
| 40a0 | 20 20 20 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 73 6f 75 72 | .......................if.((sour |
| 40c0 | 63 65 5b 30 5d 20 3d 3d 20 27 5c 5c 27 20 26 26 20 28 63 20 3d 3d 20 27 75 27 20 7c 7c 20 63 20 | ce[0].==.'\\'.&&.(c.==.'u'.||.c. |
| 40e0 | 3d 3d 20 27 55 27 29 29 20 3d 3d 20 66 61 6c 73 65 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ==.'U')).==.false).............. |
| 4100 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 76 74 2e 63 68 61 72 61 63 74 65 72 20 3d 20 | ................evt.character.=. |
| 4120 | 27 5c 30 27 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 | '\0';........................... |
| 4140 | 20 62 72 65 61 6b 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 | .break;......................cas |
| 4160 | 65 20 32 3a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 33 | e.2:......................case.3 |
| 4180 | 3a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 34 3a 0d 0a | :......................case.4:.. |
| 41a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 35 3a 0d 0a 20 20 20 | ....................case.5:..... |
| 41c0 | 20 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 20 3c 20 27 30 | .....................if.((c.<.'0 |
| 41e0 | 27 20 7c 7c 20 63 20 3e 20 27 39 27 29 20 26 26 20 28 63 20 3c 20 27 61 27 20 7c 7c 20 63 20 3e | '.||.c.>.'9').&&.(c.<.'a'.||.c.> |
| 4200 | 20 27 66 27 29 20 26 26 20 28 63 20 3c 20 27 41 27 20 7c 7c 20 63 20 3e 20 27 46 27 29 29 0d 0a | .'f').&&.(c.<.'A'.||.c.>.'F')).. |
| 4220 | 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 65 76 74 2e | ............................evt. |
| 4240 | 63 68 61 72 61 63 74 65 72 20 3d 20 27 5c 30 27 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | character.=.'\0';............... |
| 4260 | 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ...........break;............... |
| 4280 | 20 20 20 20 20 20 20 63 61 73 65 20 36 3a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .......case.6:.................. |
| 42a0 | 20 20 20 20 63 61 73 65 20 37 3a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ....case.7:..................... |
| 42c0 | 20 63 61 73 65 20 38 3a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 | .case.8:......................ca |
| 42e0 | 73 65 20 39 3a 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 69 | se.9:..........................i |
| 4300 | 66 20 28 73 6f 75 72 63 65 5b 31 5d 20 3d 3d 20 27 75 27 20 7c 7c 20 28 63 20 3c 20 27 30 27 20 | f.(source[1].==.'u'.||.(c.<.'0'. |
| 4320 | 7c 7c 20 63 20 3e 20 27 39 27 29 20 26 26 20 28 63 20 3c 20 27 61 27 20 7c 7c 20 63 20 3e 20 27 | ||.c.>.'9').&&.(c.<.'a'.||.c.>.' |
| 4340 | 66 27 29 20 26 26 20 28 63 20 3c 20 27 41 27 20 7c 7c 20 63 20 3e 20 27 46 27 29 29 0d 0a 20 20 | f').&&.(c.<.'A'.||.c.>.'F')).... |
| 4360 | 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 65 76 74 2e 63 68 | ..........................evt.ch |
| 4380 | 61 72 61 63 74 65 72 20 3d 20 27 5c 30 27 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | aracter.=.'\0';................. |
| 43a0 | 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 56 61 6c 69 64 61 74 65 20 69 6e 70 75 74 0d 0a 20 20 | ...........//.Validate.input.... |
| 43c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6c 65 6e 67 74 68 | ......................if.(length |
| 43e0 | 20 3d 3d 20 36 20 26 26 20 73 6f 75 72 63 65 5b 31 5d 20 3d 3d 20 27 75 27 20 26 26 20 73 6f 75 | .==.6.&&.source[1].==.'u'.&&.sou |
| 4400 | 72 63 65 20 21 3d 20 6d 5f 50 72 65 76 69 6f 75 73 49 6e 70 75 74 29 0d 0a 20 20 20 20 20 20 20 | rce.!=.m_PreviousInput)......... |
| 4420 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 72 75 65 | .....................return.true |
| 4440 | 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 62 72 65 61 6b | ;..........................break |
| 4460 | 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 31 30 3a 0d | ;......................case.10:. |
| 4480 | 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 69 66 20 28 73 6f 75 | .........................if.(sou |
| 44a0 | 72 63 65 20 21 3d 20 6d 5f 50 72 65 76 69 6f 75 73 49 6e 70 75 74 29 0d 0a 20 20 20 20 20 20 20 | rce.!=.m_PreviousInput)......... |
| 44c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 72 75 65 | .....................return.true |
| 44e0 | 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 65 76 74 | ;............................evt |
| 4500 | 2e 63 68 61 72 61 63 74 65 72 20 3d 20 27 5c 30 27 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 | .character.=.'\0';.............. |
| 4520 | 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ............break;.............. |
| 4540 | 20 20 20 20 7d 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 | ....}..............}............ |
| 4560 | 20 20 20 20 6d 5f 50 72 65 76 69 6f 75 73 49 6e 70 75 74 20 3d 20 73 6f 75 72 63 65 3b 0d 0a 0d | ....m_PreviousInput.=.source;... |
| 4580 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0d 0a 20 20 20 20 | .............return.false;...... |
| 45a0 | 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 75 69 6e 74 20 47 65 74 55 6e 69 63 6f 64 65 | ....}............uint.GetUnicode |
| 45c0 | 43 68 61 72 61 63 74 65 72 20 28 73 74 72 69 6e 67 20 73 6f 75 72 63 65 29 0d 0a 20 20 20 20 20 | Character.(string.source)....... |
| 45e0 | 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 75 69 6e 74 20 75 6e 69 63 6f 64 65 3b 0d | ...{..............uint.unicode;. |
| 4600 | 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 73 6f 75 72 63 65 2e 4c 65 6e 67 74 68 | ...............if.(source.Length |
| 4620 | 20 3d 3d 20 31 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 75 6e 69 63 6f 64 65 20 | .==.1)..................unicode. |
| 4640 | 3d 20 73 6f 75 72 63 65 5b 30 5d 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 20 69 | =.source[0];..............else.i |
| 4660 | 66 20 28 73 6f 75 72 63 65 2e 4c 65 6e 67 74 68 20 3d 3d 20 36 29 0d 0a 20 20 20 20 20 20 20 20 | f.(source.Length.==.6).......... |
| 4680 | 20 20 20 20 20 20 20 20 75 6e 69 63 6f 64 65 20 3d 20 28 75 69 6e 74 29 54 4d 50 5f 54 65 78 74 | ........unicode.=.(uint)TMP_Text |
| 46a0 | 55 74 69 6c 69 74 69 65 73 2e 53 74 72 69 6e 67 48 65 78 54 6f 49 6e 74 28 73 6f 75 72 63 65 2e | Utilities.StringHexToInt(source. |
| 46c0 | 52 65 70 6c 61 63 65 28 22 5c 5c 75 22 2c 20 22 22 29 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 | Replace("\\u",.""));............ |
| 46e0 | 20 20 65 6c 73 65 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 75 6e 69 63 6f 64 65 20 | ..else..................unicode. |
| 4700 | 3d 20 28 75 69 6e 74 29 54 4d 50 5f 54 65 78 74 55 74 69 6c 69 74 69 65 73 2e 53 74 72 69 6e 67 | =.(uint)TMP_TextUtilities.String |
| 4720 | 48 65 78 54 6f 49 6e 74 28 73 6f 75 72 63 65 2e 52 65 70 6c 61 63 65 28 22 5c 5c 55 22 2c 20 22 | HexToInt(source.Replace("\\U",." |
| 4740 | 22 29 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 75 6e 69 63 6f | "));................return.unico |
| 4760 | 64 65 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 76 6f 69 64 20 44 | de;..........}............void.D |
| 4780 | 72 61 77 47 6c 79 70 68 28 75 69 6e 74 20 67 6c 79 70 68 49 6e 64 65 78 2c 20 52 65 63 74 20 70 | rawGlyph(uint.glyphIndex,.Rect.p |
| 47a0 | 6f 73 69 74 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 | osition,.SerializedProperty.prop |
| 47c0 | 65 72 74 79 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 | erty)..........{..............// |
| 47e0 | 20 47 65 74 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 74 | .Get.a.reference.to.the.sprite.t |
| 4800 | 65 78 74 75 72 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 | exture..............TMP_FontAsse |
| 4820 | 74 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 | t.fontAsset.=.property.serialize |
| 4840 | 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 46 6f 6e 74 | dObject.targetObject.as.TMP_Font |
| 4860 | 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 66 6f 6e 74 41 73 | Asset;................if.(fontAs |
| 4880 | 73 65 74 20 3d 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 | set.==.null)..................re |
| 48a0 | 74 75 72 6e 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 43 68 65 63 6b 20 69 66 | turn;................//.Check.if |
| 48c0 | 20 67 6c 79 70 68 20 63 75 72 72 65 6e 74 6c 79 20 65 78 69 73 74 73 20 69 6e 20 74 68 65 20 61 | .glyph.currently.exists.in.the.a |
| 48e0 | 74 6c 61 73 20 74 65 78 74 75 72 65 2e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 | tlas.texture...............if.(! |
| 4900 | 66 6f 6e 74 41 73 73 65 74 2e 67 6c 79 70 68 4c 6f 6f 6b 75 70 54 61 62 6c 65 2e 54 72 79 47 65 | fontAsset.glyphLookupTable.TryGe |
| 4920 | 74 56 61 6c 75 65 28 67 6c 79 70 68 49 6e 64 65 78 2c 20 6f 75 74 20 47 6c 79 70 68 20 67 6c 79 | tValue(glyphIndex,.out.Glyph.gly |
| 4940 | 70 68 29 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 | ph))..................return;... |
| 4960 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 47 65 74 20 72 65 66 65 72 65 6e 63 65 20 74 6f | .............//.Get.reference.to |
| 4980 | 20 61 74 6c 61 73 20 74 65 78 74 75 72 65 2e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 74 | .atlas.texture...............int |
| 49a0 | 20 61 74 6c 61 73 49 6e 64 65 78 20 3d 20 66 6f 6e 74 41 73 73 65 74 2e 6d 5f 41 74 6c 61 73 54 | .atlasIndex.=.fontAsset.m_AtlasT |
| 49c0 | 65 78 74 75 72 65 49 6e 64 65 78 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 54 65 78 74 75 72 | extureIndex;..............Textur |
| 49e0 | 65 32 44 20 61 74 6c 61 73 54 65 78 74 75 72 65 20 3d 20 66 6f 6e 74 41 73 73 65 74 2e 61 74 6c | e2D.atlasTexture.=.fontAsset.atl |
| 4a00 | 61 73 54 65 78 74 75 72 65 73 2e 4c 65 6e 67 74 68 20 3e 20 61 74 6c 61 73 49 6e 64 65 78 20 3f | asTextures.Length.>.atlasIndex.? |
| 4a20 | 20 66 6f 6e 74 41 73 73 65 74 2e 61 74 6c 61 73 54 65 78 74 75 72 65 73 5b 61 74 6c 61 73 49 6e | .fontAsset.atlasTextures[atlasIn |
| 4a40 | 64 65 78 5d 20 3a 20 6e 75 6c 6c 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 | dex].:.null;................if.( |
| 4a60 | 61 74 6c 61 73 54 65 78 74 75 72 65 20 3d 3d 20 6e 75 6c 6c 29 0d 0a 20 20 20 20 20 20 20 20 20 | atlasTexture.==.null)........... |
| 4a80 | 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 20 4d 61 | .......return;................Ma |
| 4aa0 | 74 65 72 69 61 6c 20 6d 61 74 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 28 28 47 | terial.mat;..............if.(((G |
| 4ac0 | 6c 79 70 68 52 61 73 74 65 72 4d 6f 64 65 73 29 66 6f 6e 74 41 73 73 65 74 2e 61 74 6c 61 73 52 | lyphRasterModes)fontAsset.atlasR |
| 4ae0 | 65 6e 64 65 72 4d 6f 64 65 20 26 20 47 6c 79 70 68 52 61 73 74 65 72 4d 6f 64 65 73 2e 52 41 53 | enderMode.&.GlyphRasterModes.RAS |
| 4b00 | 54 45 52 5f 4d 4f 44 45 5f 42 49 54 4d 41 50 29 20 3d 3d 20 47 6c 79 70 68 52 61 73 74 65 72 4d | TER_MODE_BITMAP).==.GlyphRasterM |
| 4b20 | 6f 64 65 73 2e 52 41 53 54 45 52 5f 4d 4f 44 45 5f 42 49 54 4d 41 50 29 0d 0a 20 20 20 20 20 20 | odes.RASTER_MODE_BITMAP)........ |
| 4b40 | 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 6d 61 74 20 3d 20 54 | ......{..................mat.=.T |
| 4b60 | 4d 50 5f 46 6f 6e 74 41 73 73 65 74 45 64 69 74 6f 72 2e 69 6e 74 65 72 6e 61 6c 42 69 74 6d 61 | MP_FontAssetEditor.internalBitma |
| 4b80 | 70 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 20 20 20 20 69 66 | pMaterial;....................if |
| 4ba0 | 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 20 20 20 20 20 20 | .(mat.==.null).................. |
| 4bc0 | 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 20 20 20 20 6d | ....return;....................m |
| 4be0 | 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 75 72 65 3b 0d 0a | at.mainTexture.=.atlasTexture;.. |
| 4c00 | 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 65 0d | ............}..............else. |
| 4c20 | 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 20 20 | .............{.................. |
| 4c40 | 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 72 6e | mat.=.TMP_FontAssetEditor.intern |
| 4c60 | 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 20 20 | alSDFMaterial;.................. |
| 4c80 | 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 20 20 | ..if.(mat.==.null).............. |
| 4ca0 | 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 20 20 | ........return;................. |
| 4cc0 | 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 75 72 | ...mat.mainTexture.=.atlasTextur |
| 4ce0 | 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 61 74 | e;..................mat.SetFloat |
| 4d00 | 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 61 6c | (ShaderUtilities.ID_GradientScal |
| 4d20 | 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 3b 0d | e,.fontAsset.atlasPadding.+.1);. |
| 4d40 | 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 2f 2f | .............}................// |
| 4d60 | 20 44 72 61 77 20 67 6c 79 70 68 20 66 72 6f 6d 20 61 74 6c 61 73 20 74 65 78 74 75 72 65 2e 0d | .Draw.glyph.from.atlas.texture.. |
| 4d80 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 52 65 63 74 20 67 6c 79 70 68 44 72 61 77 50 6f 73 69 74 | .............Rect.glyphDrawPosit |
| 4da0 | 69 6f 6e 20 3d 20 6e 65 77 20 52 65 63 74 28 70 6f 73 69 74 69 6f 6e 2e 78 2c 20 70 6f 73 69 74 | ion.=.new.Rect(position.x,.posit |
| 4dc0 | 69 6f 6e 2e 79 20 2b 20 32 2c 20 36 34 2c 20 36 30 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 | ion.y.+.2,.64,.60);............. |
| 4de0 | 20 20 20 47 6c 79 70 68 52 65 63 74 20 67 6c 79 70 68 52 65 63 74 20 3d 20 67 6c 79 70 68 2e 67 | ...GlyphRect.glyphRect.=.glyph.g |
| 4e00 | 6c 79 70 68 52 65 63 74 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 66 6c 6f 61 74 20 6e | lyphRect;................float.n |
| 4e20 | 6f 72 6d 61 6c 69 7a 65 64 48 65 69 67 68 74 20 3d 20 66 6f 6e 74 41 73 73 65 74 2e 66 61 63 65 | ormalizedHeight.=.fontAsset.face |
| 4e40 | 49 6e 66 6f 2e 61 73 63 65 6e 74 4c 69 6e 65 20 2d 20 66 6f 6e 74 41 73 73 65 74 2e 66 61 63 65 | Info.ascentLine.-.fontAsset.face |
| 4e60 | 49 6e 66 6f 2e 64 65 73 63 65 6e 74 4c 69 6e 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 66 | Info.descentLine;..............f |
| 4e80 | 6c 6f 61 74 20 73 63 61 6c 65 20 3d 20 67 6c 79 70 68 44 72 61 77 50 6f 73 69 74 69 6f 6e 2e 77 | loat.scale.=.glyphDrawPosition.w |
| 4ea0 | 69 64 74 68 20 2f 20 6e 6f 72 6d 61 6c 69 7a 65 64 48 65 69 67 68 74 3b 0d 0a 0d 0a 20 20 20 20 | idth./.normalizedHeight;........ |
| 4ec0 | 20 20 20 20 20 20 20 20 2f 2f 20 43 6f 6d 70 75 74 65 20 74 68 65 20 6e 6f 72 6d 61 6c 69 7a 65 | ........//.Compute.the.normalize |
| 4ee0 | 64 20 74 65 78 74 75 72 65 20 63 6f 6f 72 64 69 6e 61 74 65 73 0d 0a 20 20 20 20 20 20 20 20 20 | d.texture.coordinates........... |
| 4f00 | 20 20 20 52 65 63 74 20 74 65 78 43 6f 6f 72 64 73 20 3d 20 6e 65 77 20 52 65 63 74 28 28 66 6c | ...Rect.texCoords.=.new.Rect((fl |
| 4f20 | 6f 61 74 29 67 6c 79 70 68 52 65 63 74 2e 78 20 2f 20 61 74 6c 61 73 54 65 78 74 75 72 65 2e 77 | oat)glyphRect.x./.atlasTexture.w |
| 4f40 | 69 64 74 68 2c 20 28 66 6c 6f 61 74 29 67 6c 79 70 68 52 65 63 74 2e 79 20 2f 20 61 74 6c 61 73 | idth,.(float)glyphRect.y./.atlas |
| 4f60 | 54 65 78 74 75 72 65 2e 68 65 69 67 68 74 2c 20 28 66 6c 6f 61 74 29 67 6c 79 70 68 52 65 63 74 | Texture.height,.(float)glyphRect |
| 4f80 | 2e 77 69 64 74 68 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 | .width./.atlasTexture.width,.(fl |
| 4fa0 | 6f 61 74 29 67 6c 79 70 68 52 65 63 74 2e 68 65 69 67 68 74 20 2f 20 61 74 6c 61 73 54 65 78 74 | oat)glyphRect.height./.atlasText |
| 4fc0 | 75 72 65 2e 68 65 69 67 68 74 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 | ure.height);................if.( |
| 4fe0 | 45 76 65 6e 74 2e 63 75 72 72 65 6e 74 2e 74 79 70 65 20 3d 3d 20 45 76 65 6e 74 54 79 70 65 2e | Event.current.type.==.EventType. |
| 5000 | 52 65 70 61 69 6e 74 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 | Repaint)..............{......... |
| 5020 | 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 78 20 2b 3d 20 | .........glyphDrawPosition.x.+=. |
| 5040 | 28 67 6c 79 70 68 44 72 61 77 50 6f 73 69 74 69 6f 6e 2e 77 69 64 74 68 20 2d 20 67 6c 79 70 68 | (glyphDrawPosition.width.-.glyph |
| 5060 | 52 65 63 74 2e 77 69 64 74 68 20 2a 20 73 63 61 6c 65 29 20 2f 20 32 3b 0d 0a 20 20 20 20 20 20 | Rect.width.*.scale)./.2;........ |
| 5080 | 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 79 20 2b 3d | ..........glyphDrawPosition.y.+= |
| 50a0 | 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 20 2d 20 67 6c 79 | .(glyphDrawPosition.height.-.gly |
| 50c0 | 70 68 52 65 63 74 2e 68 65 69 67 68 74 20 2a 20 73 63 61 6c 65 29 20 2f 20 32 3b 0d 0a 20 20 20 | phRect.height.*.scale)./.2;..... |
| 50e0 | 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 77 | .............glyphDrawPosition.w |
| 5100 | 69 64 74 68 20 3d 20 67 6c 79 70 68 52 65 63 74 2e 77 69 64 74 68 20 2a 20 73 63 61 6c 65 3b 0d | idth.=.glyphRect.width.*.scale;. |
| 5120 | 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 69 74 69 | .................glyphDrawPositi |
| 5140 | 6f 6e 2e 68 65 69 67 68 74 20 3d 20 67 6c 79 70 68 52 65 63 74 2e 68 65 69 67 68 74 20 2a 20 73 | on.height.=.glyphRect.height.*.s |
| 5160 | 63 61 6c 65 3b 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 75 6c | cale;....................//.Coul |
| 5180 | 64 20 73 77 69 74 63 68 20 74 6f 20 75 73 69 6e 67 20 74 68 65 20 64 65 66 61 75 6c 74 20 6d 61 | d.switch.to.using.the.default.ma |
| 51a0 | 74 65 72 69 61 6c 20 6f 66 20 74 68 65 20 66 6f 6e 74 20 61 73 73 65 74 20 77 68 69 63 68 20 77 | terial.of.the.font.asset.which.w |
| 51c0 | 6f 75 6c 64 20 72 65 71 75 69 72 65 20 70 61 73 73 69 6e 67 20 73 63 61 6c 65 20 74 6f 20 74 68 | ould.require.passing.scale.to.th |
| 51e0 | 65 20 73 68 61 64 65 72 2e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 47 72 61 70 68 | e.shader...................Graph |
| 5200 | 69 63 73 2e 44 72 61 77 54 65 78 74 75 72 65 28 67 6c 79 70 68 44 72 61 77 50 6f 73 69 74 69 6f | ics.DrawTexture(glyphDrawPositio |
| 5220 | 6e 2c 20 61 74 6c 61 73 54 65 78 74 75 72 65 2c 20 74 65 78 43 6f 6f 72 64 73 2c 20 30 2c 20 30 | n,.atlasTexture,.texCoords,.0,.0 |
| 5240 | 2c 20 30 2c 20 30 2c 20 6e 65 77 20 43 6f 6c 6f 72 28 31 66 2c 20 31 66 2c 20 31 66 29 2c 20 6d | ,.0,.0,.new.Color(1f,.1f,.1f),.m |
| 5260 | 61 74 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 7d 0d 0a | at);..............}..........}.. |
| 5280 | 0d 0a 0d 0a 20 20 20 20 7d 0d 0a 7d 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ........}..}.................... |
| 52a0 | 2b 00 00 00 54 4d 50 5f 47 6c 79 70 68 50 61 69 72 41 64 6a 75 73 74 6d 65 6e 74 52 65 63 6f 72 | +...TMP_GlyphPairAdjustmentRecor |
| 52c0 | 64 50 72 6f 70 65 72 74 79 44 72 61 77 65 72 00 15 00 00 00 54 4d 50 72 6f 2e 45 64 69 74 6f 72 | dPropertyDrawer.....TMPro.Editor |
| 52e0 | 55 74 69 6c 69 74 69 65 73 00 00 00 | Utilities... |