summaryrefslogtreecommitdiff
path: root/Library/Artifacts/65/65c249d7e4d66abcb5c0114a5d37a245
blob: f953f0a266116c4bfc8faae72c5fc73ae5c9f89c (plain)
ofshex dumpascii
0000 00 00 0f 81 00 00 db 08 00 00 00 15 00 00 10 00 00 00 00 00 32 30 31 39 2e 33 2e 36 66 31 00 fe ....................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 a8 ca 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0fa0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0fc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0fe0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 e0 79 af 00 00 00 00 00 00 00 00 00 .....................y..........
1040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1080 00 00 00 00 00 00 00 00 13 00 00 00 54 4d 50 5f 42 61 73 65 45 64 69 74 6f 72 50 61 6e 65 6c 00 ............TMP_BaseEditorPanel.
10a0 1b ca 00 00 75 73 69 6e 67 20 55 6e 69 74 79 45 6e 67 69 6e 65 3b 0d 0a 75 73 69 6e 67 20 55 6e ....using.UnityEngine;..using.Un
10c0 69 74 79 45 64 69 74 6f 72 3b 0d 0a 0d 0a 6e 61 6d 65 73 70 61 63 65 20 54 4d 50 72 6f 2e 45 64 ityEditor;....namespace.TMPro.Ed
10e0 69 74 6f 72 55 74 69 6c 69 74 69 65 73 0d 0a 7b 0d 0a 20 20 20 20 70 75 62 6c 69 63 20 61 62 73 itorUtilities..{......public.abs
1100 74 72 61 63 74 20 63 6c 61 73 73 20 54 4d 50 5f 42 61 73 65 45 64 69 74 6f 72 50 61 6e 65 6c 20 tract.class.TMP_BaseEditorPanel.
1120 3a 20 45 64 69 74 6f 72 0d 0a 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 2f 2f 4c 61 62 65 6c :.Editor......{..........//Label
1140 73 20 61 6e 64 20 54 6f 6f 6c 74 69 70 73 0d 0a 20 20 20 20 20 20 20 20 73 74 61 74 69 63 20 72 s.and.Tooltips..........static.r
1160 65 61 64 6f 6e 6c 79 20 47 55 49 43 6f 6e 74 65 6e 74 20 6b 5f 52 74 6c 54 6f 67 67 6c 65 4c 61 eadonly.GUIContent.k_RtlToggleLa
1180 62 65 6c 20 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 45 6e 61 62 6c 65 20 52 54 4c bel.=.new.GUIContent("Enable.RTL
11a0 20 45 64 69 74 6f 72 22 2c 20 22 52 65 76 65 72 73 65 73 20 74 65 78 74 20 64 69 72 65 63 74 69 .Editor",."Reverses.text.directi
11c0 6f 6e 20 61 6e 64 20 61 6c 6c 6f 77 73 20 72 69 67 68 74 20 74 6f 20 6c 65 66 74 20 65 64 69 74 on.and.allows.right.to.left.edit
11e0 69 6e 67 2e 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 73 74 61 74 69 63 20 72 65 61 64 6f 6e 6c 79 ing.");..........static.readonly
1200 20 47 55 49 43 6f 6e 74 65 6e 74 20 6b 5f 4d 61 69 6e 53 65 74 74 69 6e 67 73 4c 61 62 65 6c 20 .GUIContent.k_MainSettingsLabel.
1220 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 4d 61 69 6e 20 53 65 74 74 69 6e 67 73 22 =.new.GUIContent("Main.Settings"
1240 29 3b 0d 0a 20 20 20 20 20 20 20 20 73 74 61 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 47 55 49 43 );..........static.readonly.GUIC
1260 6f 6e 74 65 6e 74 20 6b 5f 46 6f 6e 74 41 73 73 65 74 4c 61 62 65 6c 20 3d 20 6e 65 77 20 47 55 ontent.k_FontAssetLabel.=.new.GU
1280 49 43 6f 6e 74 65 6e 74 28 22 46 6f 6e 74 20 41 73 73 65 74 22 2c 20 22 54 68 65 20 46 6f 6e 74 IContent("Font.Asset",."The.Font
12a0 20 41 73 73 65 74 20 63 6f 6e 74 61 69 6e 69 6e 67 20 74 68 65 20 67 6c 79 70 68 73 20 74 68 61 .Asset.containing.the.glyphs.tha
12c0 74 20 63 61 6e 20 62 65 20 72 65 6e 64 65 72 65 64 20 66 6f 72 20 74 68 69 73 20 74 65 78 74 2e t.can.be.rendered.for.this.text.
12e0 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 73 74 61 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 47 55 49 ");..........static.readonly.GUI
1300 43 6f 6e 74 65 6e 74 20 6b 5f 4d 61 74 65 72 69 61 6c 50 72 65 73 65 74 4c 61 62 65 6c 20 3d 20 Content.k_MaterialPresetLabel.=.
1320 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 4d 61 74 65 72 69 61 6c 20 50 72 65 73 65 74 22 new.GUIContent("Material.Preset"
1340 2c 20 22 54 68 65 20 6d 61 74 65 72 69 61 6c 20 75 73 65 64 20 66 6f 72 20 72 65 6e 64 65 72 69 ,."The.material.used.for.renderi
1360 6e 67 2e 20 4f 6e 6c 79 20 6d 61 74 65 72 69 61 6c 73 20 63 72 65 61 74 65 64 20 66 72 6f 6d 20 ng..Only.materials.created.from.
1380 74 68 65 20 46 6f 6e 74 20 41 73 73 65 74 20 63 61 6e 20 62 65 20 75 73 65 64 2e 22 29 3b 0d 0a the.Font.Asset.can.be.used.");..
13a0 20 20 20 20 20 20 20 20 73 74 61 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 47 55 49 43 6f 6e 74 65 ........static.readonly.GUIConte
13c0 6e 74 20 6b 5f 41 75 74 6f 53 69 7a 65 4c 61 62 65 6c 20 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 nt.k_AutoSizeLabel.=.new.GUICont
13e0 65 6e 74 28 22 41 75 74 6f 20 53 69 7a 65 22 2c 20 22 41 75 74 6f 20 73 69 7a 65 73 20 74 68 65 ent("Auto.Size",."Auto.sizes.the
1400 20 74 65 78 74 20 74 6f 20 66 69 74 20 74 68 65 20 61 76 61 69 6c 61 62 6c 65 20 73 70 61 63 65 .text.to.fit.the.available.space
1420 2e 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 73 74 61 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 47 55 .");..........static.readonly.GU
1440 49 43 6f 6e 74 65 6e 74 20 6b 5f 46 6f 6e 74 53 69 7a 65 4c 61 62 65 6c 20 3d 20 6e 65 77 20 47 IContent.k_FontSizeLabel.=.new.G
1460 55 49 43 6f 6e 74 65 6e 74 28 22 46 6f 6e 74 20 53 69 7a 65 22 2c 20 22 54 68 65 20 73 69 7a 65 UIContent("Font.Size",."The.size
1480 20 74 68 65 20 74 65 78 74 20 77 69 6c 6c 20 62 65 20 72 65 6e 64 65 72 65 64 20 61 74 20 69 6e .the.text.will.be.rendered.at.in
14a0 20 70 6f 69 6e 74 73 2e 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 73 74 61 74 69 63 20 72 65 61 64 .points.");..........static.read
14c0 6f 6e 6c 79 20 47 55 49 43 6f 6e 74 65 6e 74 20 6b 5f 41 75 74 6f 53 69 7a 65 4f 70 74 69 6f 6e only.GUIContent.k_AutoSizeOption
14e0 73 4c 61 62 65 6c 20 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 41 75 74 6f 20 53 69 sLabel.=.new.GUIContent("Auto.Si
1500 7a 65 20 4f 70 74 69 6f 6e 73 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 73 74 61 74 69 63 20 72 65 ze.Options");..........static.re
1520 61 64 6f 6e 6c 79 20 47 55 49 43 6f 6e 74 65 6e 74 20 6b 5f 4d 69 6e 4c 61 62 65 6c 20 3d 20 6e adonly.GUIContent.k_MinLabel.=.n
1540 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 4d 69 6e 22 2c 20 22 54 68 65 20 6d 69 6e 69 6d 75 ew.GUIContent("Min",."The.minimu
1560 6d 20 66 6f 6e 74 20 73 69 7a 65 2e 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 73 74 61 74 69 63 20 m.font.size.");..........static.
1580 72 65 61 64 6f 6e 6c 79 20 47 55 49 43 6f 6e 74 65 6e 74 20 6b 5f 4d 61 78 4c 61 62 65 6c 20 3d readonly.GUIContent.k_MaxLabel.=
15a0 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 4d 61 78 22 2c 20 22 54 68 65 20 6d 61 78 69 .new.GUIContent("Max",."The.maxi
15c0 6d 75 6d 20 66 6f 6e 74 20 73 69 7a 65 2e 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 73 74 61 74 69 mum.font.size.");..........stati
15e0 63 20 72 65 61 64 6f 6e 6c 79 20 47 55 49 43 6f 6e 74 65 6e 74 20 6b 5f 57 64 4c 61 62 65 6c 20 c.readonly.GUIContent.k_WdLabel.
1600 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 57 44 25 22 2c 20 22 43 6f 6d 70 72 65 73 =.new.GUIContent("WD%",."Compres
1620 73 65 73 20 63 68 61 72 61 63 74 65 72 20 77 69 64 74 68 20 75 70 20 74 6f 20 74 68 69 73 20 76 ses.character.width.up.to.this.v
1640 61 6c 75 65 20 62 65 66 6f 72 65 20 72 65 64 75 63 69 6e 67 20 66 6f 6e 74 20 73 69 7a 65 2e 22 alue.before.reducing.font.size."
1660 29 3b 0d 0a 20 20 20 20 20 20 20 20 73 74 61 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 47 55 49 43 );..........static.readonly.GUIC
1680 6f 6e 74 65 6e 74 20 6b 5f 4c 69 6e 65 4c 61 62 65 6c 20 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 ontent.k_LineLabel.=.new.GUICont
16a0 65 6e 74 28 22 4c 69 6e 65 22 2c 20 22 4e 65 67 61 74 69 76 65 20 76 61 6c 75 65 20 6f 6e 6c 79 ent("Line",."Negative.value.only
16c0 2e 20 43 6f 6d 70 72 65 73 73 65 73 20 6c 69 6e 65 20 68 65 69 67 68 74 20 64 6f 77 6e 20 74 6f ..Compresses.line.height.down.to
16e0 20 74 68 69 73 20 76 61 6c 75 65 20 62 65 66 6f 72 65 20 72 65 64 75 63 69 6e 67 20 66 6f 6e 74 .this.value.before.reducing.font
1700 20 73 69 7a 65 2e 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 73 74 61 74 69 63 20 72 65 61 64 6f 6e .size.");..........static.readon
1720 6c 79 20 47 55 49 43 6f 6e 74 65 6e 74 20 6b 5f 46 6f 6e 74 53 74 79 6c 65 4c 61 62 65 6c 20 3d ly.GUIContent.k_FontStyleLabel.=
1740 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 46 6f 6e 74 20 53 74 79 6c 65 22 2c 20 22 53 .new.GUIContent("Font.Style",."S
1760 74 79 6c 65 73 20 74 6f 20 61 70 70 6c 79 20 74 6f 20 74 68 65 20 74 65 78 74 20 73 75 63 68 20 tyles.to.apply.to.the.text.such.
1780 61 73 20 42 6f 6c 64 20 6f 72 20 49 74 61 6c 69 63 2e 22 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 as.Bold.or.Italic.");...........
17a0 20 73 74 61 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 47 55 49 43 6f 6e 74 65 6e 74 20 6b 5f 42 6f .static.readonly.GUIContent.k_Bo
17c0 6c 64 4c 61 62 65 6c 20 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 42 22 2c 20 22 42 ldLabel.=.new.GUIContent("B",."B
17e0 6f 6c 64 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 73 74 61 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 old");..........static.readonly.
1800 47 55 49 43 6f 6e 74 65 6e 74 20 6b 5f 49 74 61 6c 69 63 4c 61 62 65 6c 20 3d 20 6e 65 77 20 47 GUIContent.k_ItalicLabel.=.new.G
1820 55 49 43 6f 6e 74 65 6e 74 28 22 49 22 2c 20 22 49 74 61 6c 69 63 22 29 3b 0d 0a 20 20 20 20 20 UIContent("I",."Italic");.......
1840 20 20 20 73 74 61 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 47 55 49 43 6f 6e 74 65 6e 74 20 6b 5f ...static.readonly.GUIContent.k_
1860 55 6e 64 65 72 6c 69 6e 65 4c 61 62 65 6c 20 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 UnderlineLabel.=.new.GUIContent(
1880 22 55 22 2c 20 22 55 6e 64 65 72 6c 69 6e 65 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 73 74 61 74 "U",."Underline");..........stat
18a0 69 63 20 72 65 61 64 6f 6e 6c 79 20 47 55 49 43 6f 6e 74 65 6e 74 20 6b 5f 53 74 72 69 6b 65 74 ic.readonly.GUIContent.k_Striket
18c0 68 72 6f 75 67 68 4c 61 62 65 6c 20 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 53 22 hroughLabel.=.new.GUIContent("S"
18e0 2c 20 22 53 74 72 69 6b 65 74 68 72 6f 75 67 68 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 73 74 61 ,."Strikethrough");..........sta
1900 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 47 55 49 43 6f 6e 74 65 6e 74 20 6b 5f 4c 6f 77 65 72 63 tic.readonly.GUIContent.k_Lowerc
1920 61 73 65 4c 61 62 65 6c 20 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 61 62 22 2c 20 aseLabel.=.new.GUIContent("ab",.
1940 22 4c 6f 77 65 72 63 61 73 65 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 73 74 61 74 69 63 20 72 65 "Lowercase");..........static.re
1960 61 64 6f 6e 6c 79 20 47 55 49 43 6f 6e 74 65 6e 74 20 6b 5f 55 70 70 65 72 63 61 73 65 4c 61 62 adonly.GUIContent.k_UppercaseLab
1980 65 6c 20 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 41 42 22 2c 20 22 55 70 70 65 72 el.=.new.GUIContent("AB",."Upper
19a0 63 61 73 65 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 73 74 61 74 69 63 20 72 65 61 64 6f 6e 6c 79 case");..........static.readonly
19c0 20 47 55 49 43 6f 6e 74 65 6e 74 20 6b 5f 53 6d 61 6c 6c 63 61 70 73 4c 61 62 65 6c 20 3d 20 6e .GUIContent.k_SmallcapsLabel.=.n
19e0 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 53 43 22 2c 20 22 53 6d 61 6c 6c 63 61 70 73 22 29 ew.GUIContent("SC",."Smallcaps")
1a00 3b 0d 0a 20 20 20 20 20 20 20 20 0d 0a 20 20 20 20 20 20 20 20 73 74 61 74 69 63 20 72 65 61 64 ;....................static.read
1a20 6f 6e 6c 79 20 47 55 49 43 6f 6e 74 65 6e 74 20 6b 5f 43 6f 6c 6f 72 4d 6f 64 65 4c 61 62 65 6c only.GUIContent.k_ColorModeLabel
1a40 20 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 43 6f 6c 6f 72 20 4d 6f 64 65 22 2c 20 .=.new.GUIContent("Color.Mode",.
1a60 22 54 68 65 20 74 79 70 65 20 6f 66 20 67 72 61 64 69 65 6e 74 20 74 6f 20 75 73 65 2e 22 29 3b "The.type.of.gradient.to.use.");
1a80 0d 0a 20 20 20 20 20 20 20 20 73 74 61 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 47 55 49 43 6f 6e ..........static.readonly.GUICon
1aa0 74 65 6e 74 20 6b 5f 42 61 73 65 43 6f 6c 6f 72 4c 61 62 65 6c 20 3d 20 6e 65 77 20 47 55 49 43 tent.k_BaseColorLabel.=.new.GUIC
1ac0 6f 6e 74 65 6e 74 28 22 56 65 72 74 65 78 20 43 6f 6c 6f 72 22 2c 20 22 54 68 65 20 62 61 73 65 ontent("Vertex.Color",."The.base
1ae0 20 63 6f 6c 6f 72 20 6f 66 20 74 68 65 20 74 65 78 74 20 76 65 72 74 69 63 65 73 2e 22 29 3b 0d .color.of.the.text.vertices.");.
1b00 0a 20 20 20 20 20 20 20 20 73 74 61 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 47 55 49 43 6f 6e 74 .........static.readonly.GUICont
1b20 65 6e 74 20 6b 5f 43 6f 6c 6f 72 50 72 65 73 65 74 4c 61 62 65 6c 20 3d 20 6e 65 77 20 47 55 49 ent.k_ColorPresetLabel.=.new.GUI
1b40 43 6f 6e 74 65 6e 74 28 22 43 6f 6c 6f 72 20 50 72 65 73 65 74 22 2c 20 22 41 20 43 6f 6c 6f 72 Content("Color.Preset",."A.Color
1b60 20 50 72 65 73 65 74 20 77 68 69 63 68 20 6f 76 65 72 72 69 64 65 20 74 68 65 20 6c 6f 63 61 6c .Preset.which.override.the.local
1b80 20 63 6f 6c 6f 72 20 73 65 74 74 69 6e 67 73 2e 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 73 74 61 .color.settings.");..........sta
1ba0 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 47 55 49 43 6f 6e 74 65 6e 74 20 6b 5f 43 6f 6c 6f 72 47 tic.readonly.GUIContent.k_ColorG
1bc0 72 61 64 69 65 6e 74 4c 61 62 65 6c 20 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 43 radientLabel.=.new.GUIContent("C
1be0 6f 6c 6f 72 20 47 72 61 64 69 65 6e 74 22 2c 20 22 54 68 65 20 67 72 61 64 69 65 6e 74 20 63 6f olor.Gradient",."The.gradient.co
1c00 6c 6f 72 20 61 70 70 6c 69 65 64 20 6f 76 65 72 20 74 68 65 20 56 65 72 74 65 78 20 43 6f 6c 6f lor.applied.over.the.Vertex.Colo
1c20 72 2e 20 43 61 6e 20 62 65 20 6c 6f 63 61 6c 6c 79 20 73 65 74 20 6f 72 20 64 72 69 76 65 6e 20 r..Can.be.locally.set.or.driven.
1c40 62 79 20 61 20 47 72 61 64 69 65 6e 74 20 41 73 73 65 74 2e 22 29 3b 0d 0a 20 20 20 20 20 20 20 by.a.Gradient.Asset.");.........
1c60 20 73 74 61 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 47 55 49 43 6f 6e 74 65 6e 74 20 6b 5f 43 6f .static.readonly.GUIContent.k_Co
1c80 72 65 6e 65 72 43 6f 6c 6f 72 73 4c 61 62 65 6c 20 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e renerColorsLabel.=.new.GUIConten
1ca0 74 28 22 43 6f 6c 6f 72 73 22 2c 20 22 54 68 65 20 63 6f 6c 6f 72 20 63 6f 6d 70 6f 73 69 74 69 t("Colors",."The.color.compositi
1cc0 6f 6e 20 6f 66 20 74 68 65 20 67 72 61 64 69 65 6e 74 2e 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 on.of.the.gradient.");..........
1ce0 73 74 61 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 47 55 49 43 6f 6e 74 65 6e 74 20 6b 5f 4f 76 65 static.readonly.GUIContent.k_Ove
1d00 72 72 69 64 65 54 61 67 73 4c 61 62 65 6c 20 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 rrideTagsLabel.=.new.GUIContent(
1d20 22 4f 76 65 72 72 69 64 65 20 54 61 67 73 22 2c 20 22 57 68 65 74 68 65 72 20 74 68 65 20 63 6f "Override.Tags",."Whether.the.co
1d40 6c 6f 72 20 73 65 74 74 69 6e 67 73 20 6f 76 65 72 72 69 64 65 20 74 68 65 20 3c 63 6f 6c 6f 72 lor.settings.override.the.<color
1d60 3e 20 74 61 67 2e 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 0d 0a 20 20 20 20 20 20 20 20 73 74 61 >.tag.");....................sta
1d80 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 47 55 49 43 6f 6e 74 65 6e 74 20 6b 5f 53 70 61 63 69 6e tic.readonly.GUIContent.k_Spacin
1da0 67 4f 70 74 69 6f 6e 73 4c 61 62 65 6c 20 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 gOptionsLabel.=.new.GUIContent("
1dc0 53 70 61 63 69 6e 67 20 4f 70 74 69 6f 6e 73 22 2c 20 22 53 70 61 63 69 6e 67 20 61 64 6a 75 73 Spacing.Options",."Spacing.adjus
1de0 74 6d 65 6e 74 73 20 62 65 74 77 65 65 6e 20 64 69 66 66 65 72 65 6e 74 20 65 6c 65 6d 65 6e 74 tments.between.different.element
1e00 73 20 6f 66 20 74 68 65 20 74 65 78 74 2e 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 73 74 61 74 69 s.of.the.text.");..........stati
1e20 63 20 72 65 61 64 6f 6e 6c 79 20 47 55 49 43 6f 6e 74 65 6e 74 20 6b 5f 43 68 61 72 61 63 74 65 c.readonly.GUIContent.k_Characte
1e40 72 53 70 61 63 69 6e 67 4c 61 62 65 6c 20 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 rSpacingLabel.=.new.GUIContent("
1e60 43 68 61 72 61 63 74 65 72 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 73 74 61 74 69 63 20 72 65 61 Character");..........static.rea
1e80 64 6f 6e 6c 79 20 47 55 49 43 6f 6e 74 65 6e 74 20 6b 5f 57 6f 72 64 53 70 61 63 69 6e 67 4c 61 donly.GUIContent.k_WordSpacingLa
1ea0 62 65 6c 20 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 57 6f 72 64 22 29 3b 0d 0a 20 bel.=.new.GUIContent("Word");...
1ec0 20 20 20 20 20 20 20 73 74 61 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 47 55 49 43 6f 6e 74 65 6e .......static.readonly.GUIConten
1ee0 74 20 6b 5f 4c 69 6e 65 53 70 61 63 69 6e 67 4c 61 62 65 6c 20 3d 20 6e 65 77 20 47 55 49 43 6f t.k_LineSpacingLabel.=.new.GUICo
1f00 6e 74 65 6e 74 28 22 4c 69 6e 65 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 73 74 61 74 69 63 20 72 ntent("Line");..........static.r
1f20 65 61 64 6f 6e 6c 79 20 47 55 49 43 6f 6e 74 65 6e 74 20 6b 5f 50 61 72 61 67 72 61 70 68 53 70 eadonly.GUIContent.k_ParagraphSp
1f40 61 63 69 6e 67 4c 61 62 65 6c 20 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 50 61 72 acingLabel.=.new.GUIContent("Par
1f60 61 67 72 61 70 68 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 0d 0a 20 20 20 20 20 20 20 20 73 74 61 agraph");....................sta
1f80 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 47 55 49 43 6f 6e 74 65 6e 74 20 6b 5f 41 6c 69 67 6e 6d tic.readonly.GUIContent.k_Alignm
1fa0 65 6e 74 4c 61 62 65 6c 20 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 41 6c 69 67 6e entLabel.=.new.GUIContent("Align
1fc0 6d 65 6e 74 22 2c 20 22 48 6f 72 69 7a 6f 6e 74 61 6c 20 61 6e 64 20 76 65 72 74 69 63 61 6c 20 ment",."Horizontal.and.vertical.
1fe0 61 6c 69 67 6d 65 6e 74 20 6f 66 20 74 68 65 20 74 65 78 74 20 77 69 74 68 69 6e 20 69 74 73 20 aligment.of.the.text.within.its.
2000 63 6f 6e 74 61 69 6e 65 72 2e 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 73 74 61 74 69 63 20 72 65 container.");..........static.re
2020 61 64 6f 6e 6c 79 20 47 55 49 43 6f 6e 74 65 6e 74 20 6b 5f 57 72 61 70 4d 69 78 4c 61 62 65 6c adonly.GUIContent.k_WrapMixLabel
2040 20 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 57 72 61 70 20 4d 69 78 20 28 57 20 3c .=.new.GUIContent("Wrap.Mix.(W.<
2060 2d 3e 20 43 29 22 2c 20 22 48 6f 77 20 6d 75 63 68 20 74 6f 20 66 61 76 6f 72 20 77 6f 72 64 73 ->.C)",."How.much.to.favor.words
2080 20 76 65 72 73 75 73 20 63 68 61 72 61 63 74 65 72 73 20 77 68 65 6e 20 64 69 73 74 72 69 62 75 .versus.characters.when.distribu
20a0 74 69 6e 67 20 74 68 65 20 74 65 78 74 2e 22 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 73 74 61 ting.the.text.");............sta
20c0 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 47 55 49 43 6f 6e 74 65 6e 74 20 6b 5f 57 72 61 70 70 69 tic.readonly.GUIContent.k_Wrappi
20e0 6e 67 4c 61 62 65 6c 20 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 57 72 61 70 70 69 ngLabel.=.new.GUIContent("Wrappi
2100 6e 67 22 2c 20 22 57 72 61 70 73 20 74 65 78 74 20 74 6f 20 74 68 65 20 6e 65 78 74 20 6c 69 6e ng",."Wraps.text.to.the.next.lin
2120 65 20 77 68 65 6e 20 72 65 61 63 68 69 6e 67 20 74 68 65 20 65 64 67 65 20 6f 66 20 74 68 65 20 e.when.reaching.the.edge.of.the.
2140 63 6f 6e 74 61 69 6e 65 72 2e 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 73 74 61 74 69 63 20 72 65 container.");..........static.re
2160 61 64 6f 6e 6c 79 20 47 55 49 43 6f 6e 74 65 6e 74 5b 5d 20 6b 5f 57 72 61 70 70 69 6e 67 4f 70 adonly.GUIContent[].k_WrappingOp
2180 74 69 6f 6e 73 20 3d 20 7b 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 44 69 73 61 62 6c tions.=.{.new.GUIContent("Disabl
21a0 65 64 22 29 2c 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 45 6e 61 62 6c 65 64 22 29 20 ed"),.new.GUIContent("Enabled").
21c0 7d 3b 0d 0a 20 20 20 20 20 20 20 20 73 74 61 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 47 55 49 43 };..........static.readonly.GUIC
21e0 6f 6e 74 65 6e 74 20 6b 5f 4f 76 65 72 66 6c 6f 77 4c 61 62 65 6c 20 3d 20 6e 65 77 20 47 55 49 ontent.k_OverflowLabel.=.new.GUI
2200 43 6f 6e 74 65 6e 74 28 22 4f 76 65 72 66 6c 6f 77 22 2c 20 22 48 6f 77 20 74 6f 20 64 69 73 70 Content("Overflow",."How.to.disp
2220 6c 61 79 20 74 65 78 74 20 77 68 69 63 68 20 67 6f 65 73 20 70 61 73 74 20 74 68 65 20 65 64 67 lay.text.which.goes.past.the.edg
2240 65 20 6f 66 20 74 68 65 20 63 6f 6e 74 61 69 6e 65 72 2e 22 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 e.of.the.container.");..........
2260 20 20 73 74 61 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 47 55 49 43 6f 6e 74 65 6e 74 20 6b 5f 4d ..static.readonly.GUIContent.k_M
2280 61 72 67 69 6e 73 4c 61 62 65 6c 20 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 4d 61 arginsLabel.=.new.GUIContent("Ma
22a0 72 67 69 6e 73 22 2c 20 22 54 68 65 20 73 70 61 63 65 20 62 65 74 77 65 65 6e 20 74 68 65 20 74 rgins",."The.space.between.the.t
22c0 65 78 74 20 61 6e 64 20 74 68 65 20 65 64 67 65 20 6f 66 20 69 74 73 20 63 6f 6e 74 61 69 6e 65 ext.and.the.edge.of.its.containe
22e0 72 2e 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 73 74 61 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 47 r.");..........static.readonly.G
2300 55 49 43 6f 6e 74 65 6e 74 20 6b 5f 47 65 6f 6d 65 74 72 79 53 6f 72 74 69 6e 67 4c 61 62 65 6c UIContent.k_GeometrySortingLabel
2320 20 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 47 65 6f 6d 65 74 72 79 20 53 6f 72 74 .=.new.GUIContent("Geometry.Sort
2340 69 6e 67 22 2c 20 22 54 68 65 20 6f 72 64 65 72 20 69 6e 20 77 68 69 63 68 20 74 65 78 74 20 67 ing",."The.order.in.which.text.g
2360 65 6f 6d 65 74 72 79 20 69 73 20 73 6f 72 74 65 64 2e 20 55 73 65 64 20 74 6f 20 61 64 6a 75 73 eometry.is.sorted..Used.to.adjus
2380 74 20 74 68 65 20 77 61 79 20 6f 76 65 72 6c 61 70 70 69 6e 67 20 63 68 61 72 61 63 74 65 72 73 t.the.way.overlapping.characters
23a0 20 61 72 65 20 64 69 73 70 6c 61 79 65 64 2e 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 73 74 61 74 .are.displayed.");..........stat
23c0 69 63 20 72 65 61 64 6f 6e 6c 79 20 47 55 49 43 6f 6e 74 65 6e 74 20 6b 5f 52 69 63 68 54 65 78 ic.readonly.GUIContent.k_RichTex
23e0 74 4c 61 62 65 6c 20 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 52 69 63 68 20 54 65 tLabel.=.new.GUIContent("Rich.Te
2400 78 74 22 2c 20 22 45 6e 61 62 6c 65 73 20 74 68 65 20 75 73 65 20 6f 66 20 72 69 63 68 20 74 65 xt",."Enables.the.use.of.rich.te
2420 78 74 20 74 61 67 73 20 73 75 63 68 20 61 73 20 3c 63 6f 6c 6f 72 3e 20 61 6e 64 20 3c 66 6f 6e xt.tags.such.as.<color>.and.<fon
2440 74 3e 2e 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 73 74 61 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 t>.");..........static.readonly.
2460 47 55 49 43 6f 6e 74 65 6e 74 20 6b 5f 45 73 63 61 70 65 43 68 61 72 61 63 74 65 72 73 4c 61 62 GUIContent.k_EscapeCharactersLab
2480 65 6c 20 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 50 61 72 73 65 20 45 73 63 61 70 el.=.new.GUIContent("Parse.Escap
24a0 65 20 43 68 61 72 61 63 74 65 72 73 22 2c 20 22 57 68 65 74 68 65 72 20 74 6f 20 64 69 73 70 6c e.Characters",."Whether.to.displ
24c0 61 79 20 73 74 72 69 6e 67 73 20 73 75 63 68 20 61 73 20 5c 22 5c 5c 6e 5c 22 20 61 73 20 69 73 ay.strings.such.as.\"\\n\".as.is
24e0 20 6f 72 20 72 65 70 6c 61 63 65 20 74 68 65 6d 20 62 79 20 74 68 65 20 63 68 61 72 61 63 74 65 .or.replace.them.by.the.characte
2500 72 20 74 68 65 79 20 72 65 70 72 65 73 65 6e 74 2e 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 73 74 r.they.represent.");..........st
2520 61 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 47 55 49 43 6f 6e 74 65 6e 74 20 6b 5f 56 69 73 69 62 atic.readonly.GUIContent.k_Visib
2540 6c 65 44 65 73 63 65 6e 64 65 72 4c 61 62 65 6c 20 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e leDescenderLabel.=.new.GUIConten
2560 74 28 22 56 69 73 69 62 6c 65 20 44 65 73 63 65 6e 64 65 72 22 2c 20 22 43 6f 6d 70 75 74 65 20 t("Visible.Descender",."Compute.
2580 64 65 73 63 65 6e 64 65 72 20 76 61 6c 75 65 73 20 66 72 6f 6d 20 76 69 73 69 62 6c 65 20 63 68 descender.values.from.visible.ch
25a0 61 72 61 63 74 65 72 73 20 6f 6e 6c 79 2e 20 55 73 65 64 20 74 6f 20 61 64 6a 75 73 74 20 6c 61 aracters.only..Used.to.adjust.la
25c0 79 6f 75 74 20 62 65 68 61 76 69 6f 72 20 77 68 65 6e 20 68 69 64 69 6e 67 20 61 6e 64 20 72 65 yout.behavior.when.hiding.and.re
25e0 76 65 61 6c 69 6e 67 20 63 68 61 72 61 63 74 65 72 73 20 64 79 6e 61 6d 69 63 61 6c 6c 79 2e 22 vealing.characters.dynamically."
2600 29 3b 0d 0a 20 20 20 20 20 20 20 20 73 74 61 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 47 55 49 43 );..........static.readonly.GUIC
2620 6f 6e 74 65 6e 74 20 6b 5f 53 70 72 69 74 65 41 73 73 65 74 4c 61 62 65 6c 20 3d 20 6e 65 77 20 ontent.k_SpriteAssetLabel.=.new.
2640 47 55 49 43 6f 6e 74 65 6e 74 28 22 53 70 72 69 74 65 20 41 73 73 65 74 22 2c 20 22 54 68 65 20 GUIContent("Sprite.Asset",."The.
2660 53 70 72 69 74 65 20 41 73 73 65 74 20 75 73 65 64 20 77 68 65 6e 20 4e 4f 54 20 73 70 65 63 69 Sprite.Asset.used.when.NOT.speci
2680 66 69 63 61 6c 6c 79 20 72 65 66 65 72 65 6e 63 69 6e 67 20 6f 6e 65 20 75 73 69 6e 67 20 3c 73 fically.referencing.one.using.<s
26a0 70 72 69 74 65 3d 5c 22 53 70 72 69 74 65 20 41 73 73 65 74 20 4e 61 6d 65 5c 22 3e 2e 22 29 3b prite=\"Sprite.Asset.Name\">.");
26c0 0d 0a 0d 0a 20 20 20 20 20 20 20 20 73 74 61 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 47 55 49 43 ............static.readonly.GUIC
26e0 6f 6e 74 65 6e 74 20 6b 5f 48 6f 72 69 7a 6f 6e 74 61 6c 4d 61 70 70 69 6e 67 4c 61 62 65 6c 20 ontent.k_HorizontalMappingLabel.
2700 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 48 6f 72 69 7a 6f 6e 74 61 6c 20 4d 61 70 =.new.GUIContent("Horizontal.Map
2720 70 69 6e 67 22 2c 20 22 48 6f 72 69 7a 6f 6e 74 61 6c 20 55 56 20 6d 61 70 70 69 6e 67 20 77 68 ping",."Horizontal.UV.mapping.wh
2740 65 6e 20 75 73 69 6e 67 20 61 20 73 68 61 64 65 72 20 77 69 74 68 20 61 20 74 65 78 74 75 72 65 en.using.a.shader.with.a.texture
2760 20 66 61 63 65 20 6f 70 74 69 6f 6e 2e 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 73 74 61 74 69 63 .face.option.");..........static
2780 20 72 65 61 64 6f 6e 6c 79 20 47 55 49 43 6f 6e 74 65 6e 74 20 6b 5f 56 65 72 74 69 63 61 6c 4d .readonly.GUIContent.k_VerticalM
27a0 61 70 70 69 6e 67 4c 61 62 65 6c 20 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 56 65 appingLabel.=.new.GUIContent("Ve
27c0 72 74 69 63 61 6c 20 4d 61 70 70 69 6e 67 22 2c 20 22 56 65 72 74 69 63 61 6c 20 55 56 20 6d 61 rtical.Mapping",."Vertical.UV.ma
27e0 70 70 69 6e 67 20 77 68 65 6e 20 75 73 69 6e 67 20 61 20 73 68 61 64 65 72 20 77 69 74 68 20 61 pping.when.using.a.shader.with.a
2800 20 74 65 78 74 75 72 65 20 66 61 63 65 20 6f 70 74 69 6f 6e 2e 22 29 3b 0d 0a 20 20 20 20 20 20 .texture.face.option.");........
2820 20 20 73 74 61 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 47 55 49 43 6f 6e 74 65 6e 74 20 6b 5f 4c ..static.readonly.GUIContent.k_L
2840 69 6e 65 4f 66 66 73 65 74 4c 61 62 65 6c 20 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 ineOffsetLabel.=.new.GUIContent(
2860 22 4c 69 6e 65 20 4f 66 66 73 65 74 22 2c 20 22 41 64 64 73 20 61 6e 20 68 6f 72 69 7a 6f 6e 74 "Line.Offset",."Adds.an.horizont
2880 61 6c 20 6f 66 66 73 65 74 20 74 6f 20 65 61 63 68 20 73 75 63 63 65 73 73 69 76 65 20 6c 69 6e al.offset.to.each.successive.lin
28a0 65 2e 20 55 73 65 64 20 66 6f 72 20 73 6c 61 6e 74 65 64 20 74 65 78 74 75 72 69 6e 67 2e 22 29 e..Used.for.slanted.texturing.")
28c0 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 73 74 61 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 47 55 49 ;............static.readonly.GUI
28e0 43 6f 6e 74 65 6e 74 20 6b 5f 4b 65 72 6e 69 6e 67 4c 61 62 65 6c 20 3d 20 6e 65 77 20 47 55 49 Content.k_KerningLabel.=.new.GUI
2900 43 6f 6e 74 65 6e 74 28 22 4b 65 72 6e 69 6e 67 22 2c 20 22 45 6e 61 62 6c 65 73 20 63 68 61 72 Content("Kerning",."Enables.char
2920 61 63 74 65 72 20 73 70 65 63 69 66 69 63 20 73 70 61 63 69 6e 67 20 62 65 74 77 65 65 6e 20 70 acter.specific.spacing.between.p
2940 61 69 72 73 20 6f 66 20 63 68 61 72 61 63 74 65 72 73 2e 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 airs.of.characters.");..........
2960 73 74 61 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 47 55 49 43 6f 6e 74 65 6e 74 20 6b 5f 50 61 64 static.readonly.GUIContent.k_Pad
2980 64 69 6e 67 4c 61 62 65 6c 20 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 45 78 74 72 dingLabel.=.new.GUIContent("Extr
29a0 61 20 50 61 64 64 69 6e 67 22 2c 20 22 41 64 64 73 20 73 6f 6d 65 20 70 61 64 64 69 6e 67 20 62 a.Padding",."Adds.some.padding.b
29c0 65 74 77 65 65 6e 20 74 68 65 20 63 68 61 72 61 63 74 65 72 73 20 61 6e 64 20 74 68 65 20 65 64 etween.the.characters.and.the.ed
29e0 67 65 20 6f 66 20 74 68 65 20 74 65 78 74 20 6d 65 73 68 2e 20 43 61 6e 20 72 65 64 75 63 65 20 ge.of.the.text.mesh..Can.reduce.
2a00 67 72 61 70 68 69 63 61 6c 20 65 72 72 6f 72 73 20 77 68 65 6e 20 64 69 73 70 6c 61 79 69 6e 67 graphical.errors.when.displaying
2a20 20 73 6d 61 6c 6c 20 74 65 78 74 2e 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 0d 0a 20 20 20 20 20 .small.text.");.................
2a40 20 20 20 73 74 61 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 47 55 49 43 6f 6e 74 65 6e 74 20 6b 5f ...static.readonly.GUIContent.k_
2a60 4c 65 66 74 4c 61 62 65 6c 20 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 4c 65 66 74 LeftLabel.=.new.GUIContent("Left
2a80 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 73 74 61 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 47 55 49 ");..........static.readonly.GUI
2aa0 43 6f 6e 74 65 6e 74 20 6b 5f 54 6f 70 4c 61 62 65 6c 20 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 Content.k_TopLabel.=.new.GUICont
2ac0 65 6e 74 28 22 54 6f 70 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 73 74 61 74 69 63 20 72 65 61 64 ent("Top");..........static.read
2ae0 6f 6e 6c 79 20 47 55 49 43 6f 6e 74 65 6e 74 20 6b 5f 52 69 67 68 74 4c 61 62 65 6c 20 3d 20 6e only.GUIContent.k_RightLabel.=.n
2b00 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 52 69 67 68 74 22 29 3b 0d 0a 20 20 20 20 20 20 20 ew.GUIContent("Right");.........
2b20 20 73 74 61 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 47 55 49 43 6f 6e 74 65 6e 74 20 6b 5f 42 6f .static.readonly.GUIContent.k_Bo
2b40 74 74 6f 6d 4c 61 62 65 6c 20 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 42 6f 74 74 ttomLabel.=.new.GUIContent("Bott
2b60 6f 6d 22 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 73 74 61 74 69 om");............protected.stati
2b80 63 20 72 65 61 64 6f 6e 6c 79 20 47 55 49 43 6f 6e 74 65 6e 74 20 6b 5f 45 78 74 72 61 53 65 74 c.readonly.GUIContent.k_ExtraSet
2ba0 74 69 6e 67 73 4c 61 62 65 6c 20 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 45 78 74 tingsLabel.=.new.GUIContent("Ext
2bc0 72 61 20 53 65 74 74 69 6e 67 73 22 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 ra.Settings");............protec
2be0 74 65 64 20 73 74 72 75 63 74 20 46 6f 6c 64 6f 75 74 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 ted.struct.Foldout..........{...
2c00 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 54 72 61 63 6b 20 49 6e 73 70 65 63 74 6f 72 20 66 6f ...........//.Track.Inspector.fo
2c20 6c 64 6f 75 74 20 70 61 6e 65 6c 20 73 74 61 74 65 73 2c 20 67 6c 6f 62 61 6c 6c 79 2e 0d 0a 20 ldout.panel.states,.globally....
2c40 20 20 20 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 73 74 61 74 69 63 20 62 6f 6f 6c 20 65 78 ...........public.static.bool.ex
2c60 74 72 61 53 65 74 74 69 6e 67 73 20 3d 20 66 61 6c 73 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 traSettings.=.false;............
2c80 20 20 70 75 62 6c 69 63 20 73 74 61 74 69 63 20 62 6f 6f 6c 20 6d 61 74 65 72 69 61 6c 49 6e 73 ..public.static.bool.materialIns
2ca0 70 65 63 74 6f 72 20 3d 20 74 72 75 65 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 pector.=.true;..........}.......
2cc0 20 20 20 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 73 74 61 74 69 63 20 69 6e .............protected.static.in
2ce0 74 20 73 5f 45 76 65 6e 74 49 64 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 69 t.s_EventId;............public.i
2d00 6e 74 20 73 65 6c 41 6c 69 67 6e 47 72 69 64 41 3b 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 nt.selAlignGridA;..........publi
2d20 63 20 69 6e 74 20 73 65 6c 41 6c 69 67 6e 47 72 69 64 42 3b 0d 0a 20 20 20 20 20 20 20 20 0d 0a c.int.selAlignGridB;............
2d40 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 ........protected.SerializedProp
2d60 65 72 74 79 20 6d 5f 54 65 78 74 50 72 6f 70 3b 0d 0a 20 20 20 20 20 20 20 20 0d 0a 20 20 20 20 erty.m_TextProp;................
2d80 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 ....protected.SerializedProperty
2da0 20 6d 5f 49 73 52 69 67 68 74 54 6f 4c 65 66 74 50 72 6f 70 3b 0d 0a 20 20 20 20 20 20 20 20 70 .m_IsRightToLeftProp;..........p
2dc0 72 6f 74 65 63 74 65 64 20 73 74 72 69 6e 67 20 6d 5f 52 74 6c 54 65 78 74 3b 0d 0a 0d 0a 20 20 rotected.string.m_RtlText;......
2de0 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 72 ......protected.SerializedProper
2e00 74 79 20 6d 5f 46 6f 6e 74 41 73 73 65 74 50 72 6f 70 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 ty.m_FontAssetProp;............p
2e20 72 6f 74 65 63 74 65 64 20 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 20 6d 5f 46 6f rotected.SerializedProperty.m_Fo
2e40 6e 74 53 68 61 72 65 64 4d 61 74 65 72 69 61 6c 50 72 6f 70 3b 0d 0a 20 20 20 20 20 20 20 20 70 ntSharedMaterialProp;..........p
2e60 72 6f 74 65 63 74 65 64 20 4d 61 74 65 72 69 61 6c 5b 5d 20 6d 5f 4d 61 74 65 72 69 61 6c 50 72 rotected.Material[].m_MaterialPr
2e80 65 73 65 74 73 3b 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 47 55 49 43 6f 6e esets;..........protected.GUICon
2ea0 74 65 6e 74 5b 5d 20 6d 5f 4d 61 74 65 72 69 61 6c 50 72 65 73 65 74 4e 61 6d 65 73 3b 0d 0a 20 tent[].m_MaterialPresetNames;...
2ec0 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 69 6e 74 20 6d 5f 4d 61 74 65 72 69 61 6c 50 .......protected.int.m_MaterialP
2ee0 72 65 73 65 74 53 65 6c 65 63 74 69 6f 6e 49 6e 64 65 78 3b 0d 0a 20 20 20 20 20 20 20 20 70 72 resetSelectionIndex;..........pr
2f00 6f 74 65 63 74 65 64 20 62 6f 6f 6c 20 6d 5f 49 73 50 72 65 73 65 74 4c 69 73 74 44 69 72 74 79 otected.bool.m_IsPresetListDirty
2f20 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 53 65 72 69 61 6c 69 7a 65 ;............protected.Serialize
2f40 64 50 72 6f 70 65 72 74 79 20 6d 5f 46 6f 6e 74 53 74 79 6c 65 50 72 6f 70 3b 0d 0a 20 20 20 20 dProperty.m_FontStyleProp;......
2f60 20 20 20 20 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 53 65 72 69 61 6c 69 7a ..............protected.Serializ
2f80 65 64 50 72 6f 70 65 72 74 79 20 6d 5f 46 6f 6e 74 43 6f 6c 6f 72 50 72 6f 70 3b 0d 0a 20 20 20 edProperty.m_FontColorProp;.....
2fa0 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 .....protected.SerializedPropert
2fc0 79 20 6d 5f 45 6e 61 62 6c 65 56 65 72 74 65 78 47 72 61 64 69 65 6e 74 50 72 6f 70 3b 0d 0a 20 y.m_EnableVertexGradientProp;...
2fe0 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 .......protected.SerializedPrope
3000 72 74 79 20 6d 5f 46 6f 6e 74 43 6f 6c 6f 72 47 72 61 64 69 65 6e 74 50 72 6f 70 3b 0d 0a 20 20 rty.m_FontColorGradientProp;....
3020 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 72 ......protected.SerializedProper
3040 74 79 20 6d 5f 46 6f 6e 74 43 6f 6c 6f 72 47 72 61 64 69 65 6e 74 50 72 65 73 65 74 50 72 6f 70 ty.m_FontColorGradientPresetProp
3060 3b 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 53 65 72 69 61 6c 69 7a 65 64 50 ;..........protected.SerializedP
3080 72 6f 70 65 72 74 79 20 6d 5f 4f 76 65 72 72 69 64 65 48 74 6d 6c 43 6f 6c 6f 72 50 72 6f 70 3b roperty.m_OverrideHtmlColorProp;
30a0 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 53 65 72 69 61 6c 69 7a 65 64 ............protected.Serialized
30c0 50 72 6f 70 65 72 74 79 20 6d 5f 46 6f 6e 74 53 69 7a 65 50 72 6f 70 3b 0d 0a 20 20 20 20 20 20 Property.m_FontSizeProp;........
30e0 20 20 70 72 6f 74 65 63 74 65 64 20 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 20 6d ..protected.SerializedProperty.m
3100 5f 46 6f 6e 74 53 69 7a 65 42 61 73 65 50 72 6f 70 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 72 _FontSizeBaseProp;............pr
3120 6f 74 65 63 74 65 64 20 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 20 6d 5f 41 75 74 otected.SerializedProperty.m_Aut
3140 6f 53 69 7a 69 6e 67 50 72 6f 70 3b 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 oSizingProp;..........protected.
3160 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 20 6d 5f 46 6f 6e 74 53 69 7a 65 4d 69 6e SerializedProperty.m_FontSizeMin
3180 50 72 6f 70 3b 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 53 65 72 69 61 6c 69 Prop;..........protected.Seriali
31a0 7a 65 64 50 72 6f 70 65 72 74 79 20 6d 5f 46 6f 6e 74 53 69 7a 65 4d 61 78 50 72 6f 70 3b 0d 0a zedProperty.m_FontSizeMaxProp;..
31c0 20 20 20 20 20 20 20 20 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 53 65 72 69 ..................protected.Seri
31e0 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 20 6d 5f 4c 69 6e 65 53 70 61 63 69 6e 67 4d 61 78 50 alizedProperty.m_LineSpacingMaxP
3200 72 6f 70 3b 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 53 65 72 69 61 6c 69 7a rop;..........protected.Serializ
3220 65 64 50 72 6f 70 65 72 74 79 20 6d 5f 43 68 61 72 57 69 64 74 68 4d 61 78 41 64 6a 50 72 6f 70 edProperty.m_CharWidthMaxAdjProp
3240 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 53 65 72 69 61 6c 69 7a 65 ;............protected.Serialize
3260 64 50 72 6f 70 65 72 74 79 20 6d 5f 43 68 61 72 61 63 74 65 72 53 70 61 63 69 6e 67 50 72 6f 70 dProperty.m_CharacterSpacingProp
3280 3b 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 53 65 72 69 61 6c 69 7a 65 64 50 ;..........protected.SerializedP
32a0 72 6f 70 65 72 74 79 20 6d 5f 57 6f 72 64 53 70 61 63 69 6e 67 50 72 6f 70 3b 0d 0a 20 20 20 20 roperty.m_WordSpacingProp;......
32c0 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 ....protected.SerializedProperty
32e0 20 6d 5f 4c 69 6e 65 53 70 61 63 69 6e 67 50 72 6f 70 3b 0d 0a 20 20 20 20 20 20 20 20 70 72 6f .m_LineSpacingProp;..........pro
3300 74 65 63 74 65 64 20 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 20 6d 5f 50 61 72 61 tected.SerializedProperty.m_Para
3320 67 72 61 70 68 53 70 61 63 69 6e 67 50 72 6f 70 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 72 6f graphSpacingProp;............pro
3340 74 65 63 74 65 64 20 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 20 6d 5f 54 65 78 74 tected.SerializedProperty.m_Text
3360 41 6c 69 67 6e 6d 65 6e 74 50 72 6f 70 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 AlignmentProp;............protec
3380 74 65 64 20 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 20 6d 5f 48 6f 72 69 7a 6f 6e ted.SerializedProperty.m_Horizon
33a0 74 61 6c 4d 61 70 70 69 6e 67 50 72 6f 70 3b 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 talMappingProp;..........protect
33c0 65 64 20 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 20 6d 5f 56 65 72 74 69 63 61 6c ed.SerializedProperty.m_Vertical
33e0 4d 61 70 70 69 6e 67 50 72 6f 70 3b 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 MappingProp;..........protected.
3400 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 20 6d 5f 55 76 4c 69 6e 65 4f 66 66 73 65 SerializedProperty.m_UvLineOffse
3420 74 50 72 6f 70 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 53 65 72 69 tProp;............protected.Seri
3440 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 20 6d 5f 45 6e 61 62 6c 65 57 6f 72 64 57 72 61 70 70 alizedProperty.m_EnableWordWrapp
3460 69 6e 67 50 72 6f 70 3b 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 53 65 72 69 ingProp;..........protected.Seri
3480 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 20 6d 5f 57 6f 72 64 57 72 61 70 70 69 6e 67 52 61 74 alizedProperty.m_WordWrappingRat
34a0 69 6f 73 50 72 6f 70 3b 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 53 65 72 69 iosProp;..........protected.Seri
34c0 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 20 6d 5f 54 65 78 74 4f 76 65 72 66 6c 6f 77 4d 6f 64 alizedProperty.m_TextOverflowMod
34e0 65 50 72 6f 70 3b 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 53 65 72 69 61 6c eProp;..........protected.Serial
3500 69 7a 65 64 50 72 6f 70 65 72 74 79 20 6d 5f 50 61 67 65 54 6f 44 69 73 70 6c 61 79 50 72 6f 70 izedProperty.m_PageToDisplayProp
3520 3b 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 53 65 72 69 61 6c 69 7a 65 64 50 ;..........protected.SerializedP
3540 72 6f 70 65 72 74 79 20 6d 5f 4c 69 6e 6b 65 64 54 65 78 74 43 6f 6d 70 6f 6e 65 6e 74 50 72 6f roperty.m_LinkedTextComponentPro
3560 70 3b 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 53 65 72 69 61 6c 69 7a 65 64 p;..........protected.Serialized
3580 50 72 6f 70 65 72 74 79 20 6d 5f 49 73 4c 69 6e 6b 65 64 54 65 78 74 43 6f 6d 70 6f 6e 65 6e 74 Property.m_IsLinkedTextComponent
35a0 50 72 6f 70 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 53 65 72 69 61 Prop;............protected.Seria
35c0 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 20 6d 5f 45 6e 61 62 6c 65 4b 65 72 6e 69 6e 67 50 72 6f lizedProperty.m_EnableKerningPro
35e0 70 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 53 65 72 69 61 6c 69 7a p;............protected.Serializ
3600 65 64 50 72 6f 70 65 72 74 79 20 6d 5f 49 73 52 69 63 68 54 65 78 74 50 72 6f 70 3b 0d 0a 0d 0a edProperty.m_IsRichTextProp;....
3620 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 ........protected.SerializedProp
3640 65 72 74 79 20 6d 5f 48 61 73 46 6f 6e 74 41 73 73 65 74 43 68 61 6e 67 65 64 50 72 6f 70 3b 0d erty.m_HasFontAssetChangedProp;.
3660 0a 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 53 65 72 69 61 6c 69 7a 65 64 50 ...........protected.SerializedP
3680 72 6f 70 65 72 74 79 20 6d 5f 45 6e 61 62 6c 65 45 78 74 72 61 50 61 64 64 69 6e 67 50 72 6f 70 roperty.m_EnableExtraPaddingProp
36a0 3b 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 53 65 72 69 61 6c 69 7a 65 64 50 ;..........protected.SerializedP
36c0 72 6f 70 65 72 74 79 20 6d 5f 43 68 65 63 6b 50 61 64 64 69 6e 67 52 65 71 75 69 72 65 64 50 72 roperty.m_CheckPaddingRequiredPr
36e0 6f 70 3b 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 53 65 72 69 61 6c 69 7a 65 op;..........protected.Serialize
3700 64 50 72 6f 70 65 72 74 79 20 6d 5f 45 6e 61 62 6c 65 45 73 63 61 70 65 43 68 61 72 61 63 74 65 dProperty.m_EnableEscapeCharacte
3720 72 50 61 72 73 69 6e 67 50 72 6f 70 3b 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 rParsingProp;..........protected
3740 20 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 20 6d 5f 55 73 65 4d 61 78 56 69 73 69 .SerializedProperty.m_UseMaxVisi
3760 62 6c 65 44 65 73 63 65 6e 64 65 72 50 72 6f 70 3b 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 bleDescenderProp;..........prote
3780 63 74 65 64 20 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 20 6d 5f 47 65 6f 6d 65 74 cted.SerializedProperty.m_Geomet
37a0 72 79 53 6f 72 74 69 6e 67 4f 72 64 65 72 50 72 6f 70 3b 0d 0a 20 20 20 20 20 20 20 20 0d 0a 20 rySortingOrderProp;.............
37c0 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 .......protected.SerializedPrope
37e0 72 74 79 20 6d 5f 53 70 72 69 74 65 41 73 73 65 74 50 72 6f 70 3b 0d 0a 20 20 20 20 20 20 20 20 rty.m_SpriteAssetProp;..........
3800 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 53 65 72 69 61 6c 69 7a 65 64 50 72 ..........protected.SerializedPr
3820 6f 70 65 72 74 79 20 6d 5f 4d 61 72 67 69 6e 50 72 6f 70 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 operty.m_MarginProp;............
3840 70 72 6f 74 65 63 74 65 64 20 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 20 6d 5f 43 protected.SerializedProperty.m_C
3860 6f 6c 6f 72 4d 6f 64 65 50 72 6f 70 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 olorModeProp;............protect
3880 65 64 20 62 6f 6f 6c 20 6d 5f 48 61 76 65 50 72 6f 70 65 72 74 69 65 73 43 68 61 6e 67 65 64 3b ed.bool.m_HavePropertiesChanged;
38a0 0d 0a 20 20 20 20 20 20 20 20 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 54 4d ....................protected.TM
38c0 50 5f 54 65 78 74 20 6d 5f 54 65 78 74 43 6f 6d 70 6f 6e 65 6e 74 3b 0d 0a 20 20 20 20 20 20 20 P_Text.m_TextComponent;.........
38e0 20 70 72 6f 74 65 63 74 65 64 20 52 65 63 74 54 72 61 6e 73 66 6f 72 6d 20 6d 5f 52 65 63 74 54 .protected.RectTransform.m_RectT
3900 72 61 6e 73 66 6f 72 6d 3b 0d 0a 20 20 20 20 20 20 20 20 0d 0a 20 20 20 20 20 20 20 20 70 72 6f ransform;....................pro
3920 74 65 63 74 65 64 20 4d 61 74 65 72 69 61 6c 20 6d 5f 54 61 72 67 65 74 4d 61 74 65 72 69 61 6c tected.Material.m_TargetMaterial
3940 3b 0d 0a 20 20 20 20 20 20 20 20 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 56 ;....................protected.V
3960 65 63 74 6f 72 33 5b 5d 20 6d 5f 52 65 63 74 43 6f 72 6e 65 72 73 20 3d 20 6e 65 77 20 56 65 63 ector3[].m_RectCorners.=.new.Vec
3980 74 6f 72 33 5b 34 5d 3b 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 56 65 63 74 tor3[4];..........protected.Vect
39a0 6f 72 33 5b 5d 20 6d 5f 48 61 6e 64 6c 65 50 6f 69 6e 74 73 20 3d 20 6e 65 77 20 56 65 63 74 6f or3[].m_HandlePoints.=.new.Vecto
39c0 72 33 5b 34 5d 3b 0d 0a 20 20 20 20 20 20 20 20 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 r3[4];....................protec
39e0 74 65 64 20 76 69 72 74 75 61 6c 20 76 6f 69 64 20 4f 6e 45 6e 61 62 6c 65 28 29 0d 0a 20 20 20 ted.virtual.void.OnEnable().....
3a00 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 54 65 78 74 50 72 6f 70 20 3d .....{..............m_TextProp.=
3a20 20 73 65 72 69 61 6c 69 7a 65 64 4f 62 6a 65 63 74 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 28 22 .serializedObject.FindProperty("
3a40 6d 5f 74 65 78 74 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 49 73 52 69 67 68 74 m_text");..............m_IsRight
3a60 54 6f 4c 65 66 74 50 72 6f 70 20 3d 20 73 65 72 69 61 6c 69 7a 65 64 4f 62 6a 65 63 74 2e 46 69 ToLeftProp.=.serializedObject.Fi
3a80 6e 64 50 72 6f 70 65 72 74 79 28 22 6d 5f 69 73 52 69 67 68 74 54 6f 4c 65 66 74 22 29 3b 0d 0a ndProperty("m_isRightToLeft");..
3aa0 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 46 6f 6e 74 41 73 73 65 74 50 72 6f 70 20 3d 20 73 65 ............m_FontAssetProp.=.se
3ac0 72 69 61 6c 69 7a 65 64 4f 62 6a 65 63 74 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 28 22 6d 5f 66 rializedObject.FindProperty("m_f
3ae0 6f 6e 74 41 73 73 65 74 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 46 6f 6e 74 53 ontAsset");..............m_FontS
3b00 68 61 72 65 64 4d 61 74 65 72 69 61 6c 50 72 6f 70 20 3d 20 73 65 72 69 61 6c 69 7a 65 64 4f 62 haredMaterialProp.=.serializedOb
3b20 6a 65 63 74 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 28 22 6d 5f 73 68 61 72 65 64 4d 61 74 65 72 ject.FindProperty("m_sharedMater
3b40 69 61 6c 22 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 46 6f 6e 74 53 74 79 6c ial");................m_FontStyl
3b60 65 50 72 6f 70 20 3d 20 73 65 72 69 61 6c 69 7a 65 64 4f 62 6a 65 63 74 2e 46 69 6e 64 50 72 6f eProp.=.serializedObject.FindPro
3b80 70 65 72 74 79 28 22 6d 5f 66 6f 6e 74 53 74 79 6c 65 22 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 perty("m_fontStyle");...........
3ba0 20 20 20 20 20 6d 5f 46 6f 6e 74 53 69 7a 65 50 72 6f 70 20 3d 20 73 65 72 69 61 6c 69 7a 65 64 .....m_FontSizeProp.=.serialized
3bc0 4f 62 6a 65 63 74 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 28 22 6d 5f 66 6f 6e 74 53 69 7a 65 22 Object.FindProperty("m_fontSize"
3be0 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 46 6f 6e 74 53 69 7a 65 42 61 73 65 50 72 );..............m_FontSizeBasePr
3c00 6f 70 20 3d 20 73 65 72 69 61 6c 69 7a 65 64 4f 62 6a 65 63 74 2e 46 69 6e 64 50 72 6f 70 65 72 op.=.serializedObject.FindProper
3c20 74 79 28 22 6d 5f 66 6f 6e 74 53 69 7a 65 42 61 73 65 22 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 ty("m_fontSizeBase");...........
3c40 20 20 20 20 20 6d 5f 41 75 74 6f 53 69 7a 69 6e 67 50 72 6f 70 20 3d 20 73 65 72 69 61 6c 69 7a .....m_AutoSizingProp.=.serializ
3c60 65 64 4f 62 6a 65 63 74 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 28 22 6d 5f 65 6e 61 62 6c 65 41 edObject.FindProperty("m_enableA
3c80 75 74 6f 53 69 7a 69 6e 67 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 46 6f 6e 74 utoSizing");..............m_Font
3ca0 53 69 7a 65 4d 69 6e 50 72 6f 70 20 3d 20 73 65 72 69 61 6c 69 7a 65 64 4f 62 6a 65 63 74 2e 46 SizeMinProp.=.serializedObject.F
3cc0 69 6e 64 50 72 6f 70 65 72 74 79 28 22 6d 5f 66 6f 6e 74 53 69 7a 65 4d 69 6e 22 29 3b 0d 0a 20 indProperty("m_fontSizeMin");...
3ce0 20 20 20 20 20 20 20 20 20 20 20 6d 5f 46 6f 6e 74 53 69 7a 65 4d 61 78 50 72 6f 70 20 3d 20 73 ...........m_FontSizeMaxProp.=.s
3d00 65 72 69 61 6c 69 7a 65 64 4f 62 6a 65 63 74 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 28 22 6d 5f erializedObject.FindProperty("m_
3d20 66 6f 6e 74 53 69 7a 65 4d 61 78 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a 20 20 fontSizeMax");..................
3d40 20 20 20 20 20 20 20 20 20 20 6d 5f 4c 69 6e 65 53 70 61 63 69 6e 67 4d 61 78 50 72 6f 70 20 3d ..........m_LineSpacingMaxProp.=
3d60 20 73 65 72 69 61 6c 69 7a 65 64 4f 62 6a 65 63 74 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 28 22 .serializedObject.FindProperty("
3d80 6d 5f 6c 69 6e 65 53 70 61 63 69 6e 67 4d 61 78 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 m_lineSpacingMax");.............
3da0 20 6d 5f 43 68 61 72 57 69 64 74 68 4d 61 78 41 64 6a 50 72 6f 70 20 3d 20 73 65 72 69 61 6c 69 .m_CharWidthMaxAdjProp.=.seriali
3dc0 7a 65 64 4f 62 6a 65 63 74 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 28 22 6d 5f 63 68 61 72 57 69 zedObject.FindProperty("m_charWi
3de0 64 74 68 4d 61 78 41 64 6a 22 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 43 dthMaxAdj");................//.C
3e00 6f 6c 6f 72 73 20 26 20 47 72 61 64 69 65 6e 74 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f olors.&.Gradient..............m_
3e20 46 6f 6e 74 43 6f 6c 6f 72 50 72 6f 70 20 3d 20 73 65 72 69 61 6c 69 7a 65 64 4f 62 6a 65 63 74 FontColorProp.=.serializedObject
3e40 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 28 22 6d 5f 66 6f 6e 74 43 6f 6c 6f 72 22 29 3b 0d 0a 20 .FindProperty("m_fontColor");...
3e60 20 20 20 20 20 20 20 20 20 20 20 6d 5f 45 6e 61 62 6c 65 56 65 72 74 65 78 47 72 61 64 69 65 6e ...........m_EnableVertexGradien
3e80 74 50 72 6f 70 20 3d 20 73 65 72 69 61 6c 69 7a 65 64 4f 62 6a 65 63 74 2e 46 69 6e 64 50 72 6f tProp.=.serializedObject.FindPro
3ea0 70 65 72 74 79 28 22 6d 5f 65 6e 61 62 6c 65 56 65 72 74 65 78 47 72 61 64 69 65 6e 74 22 29 3b perty("m_enableVertexGradient");
3ec0 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 46 6f 6e 74 43 6f 6c 6f 72 47 72 61 64 69 65 6e ..............m_FontColorGradien
3ee0 74 50 72 6f 70 20 3d 20 73 65 72 69 61 6c 69 7a 65 64 4f 62 6a 65 63 74 2e 46 69 6e 64 50 72 6f tProp.=.serializedObject.FindPro
3f00 70 65 72 74 79 28 22 6d 5f 66 6f 6e 74 43 6f 6c 6f 72 47 72 61 64 69 65 6e 74 22 29 3b 0d 0a 20 perty("m_fontColorGradient");...
3f20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 46 6f 6e 74 43 6f 6c 6f 72 47 72 61 64 69 65 6e 74 50 72 ...........m_FontColorGradientPr
3f40 65 73 65 74 50 72 6f 70 20 3d 20 73 65 72 69 61 6c 69 7a 65 64 4f 62 6a 65 63 74 2e 46 69 6e 64 esetProp.=.serializedObject.Find
3f60 50 72 6f 70 65 72 74 79 28 22 6d 5f 66 6f 6e 74 43 6f 6c 6f 72 47 72 61 64 69 65 6e 74 50 72 65 Property("m_fontColorGradientPre
3f80 73 65 74 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 4f 76 65 72 72 69 64 65 48 74 set");..............m_OverrideHt
3fa0 6d 6c 43 6f 6c 6f 72 50 72 6f 70 20 3d 20 73 65 72 69 61 6c 69 7a 65 64 4f 62 6a 65 63 74 2e 46 mlColorProp.=.serializedObject.F
3fc0 69 6e 64 50 72 6f 70 65 72 74 79 28 22 6d 5f 6f 76 65 72 72 69 64 65 48 74 6d 6c 43 6f 6c 6f 72 indProperty("m_overrideHtmlColor
3fe0 73 22 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 43 68 61 72 61 63 74 65 72 53 s");................m_CharacterS
4000 70 61 63 69 6e 67 50 72 6f 70 20 3d 20 73 65 72 69 61 6c 69 7a 65 64 4f 62 6a 65 63 74 2e 46 69 pacingProp.=.serializedObject.Fi
4020 6e 64 50 72 6f 70 65 72 74 79 28 22 6d 5f 63 68 61 72 61 63 74 65 72 53 70 61 63 69 6e 67 22 29 ndProperty("m_characterSpacing")
4040 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 57 6f 72 64 53 70 61 63 69 6e 67 50 72 6f 70 ;..............m_WordSpacingProp
4060 20 3d 20 73 65 72 69 61 6c 69 7a 65 64 4f 62 6a 65 63 74 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 .=.serializedObject.FindProperty
4080 28 22 6d 5f 77 6f 72 64 53 70 61 63 69 6e 67 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 ("m_wordSpacing");..............
40a0 6d 5f 4c 69 6e 65 53 70 61 63 69 6e 67 50 72 6f 70 20 3d 20 73 65 72 69 61 6c 69 7a 65 64 4f 62 m_LineSpacingProp.=.serializedOb
40c0 6a 65 63 74 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 28 22 6d 5f 6c 69 6e 65 53 70 61 63 69 6e 67 ject.FindProperty("m_lineSpacing
40e0 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 50 61 72 61 67 72 61 70 68 53 70 61 63 ");..............m_ParagraphSpac
4100 69 6e 67 50 72 6f 70 20 3d 20 73 65 72 69 61 6c 69 7a 65 64 4f 62 6a 65 63 74 2e 46 69 6e 64 50 ingProp.=.serializedObject.FindP
4120 72 6f 70 65 72 74 79 28 22 6d 5f 70 61 72 61 67 72 61 70 68 53 70 61 63 69 6e 67 22 29 3b 0d 0a roperty("m_paragraphSpacing");..
4140 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 54 65 78 74 41 6c 69 67 6e 6d 65 6e 74 50 72 6f ..............m_TextAlignmentPro
4160 70 20 3d 20 73 65 72 69 61 6c 69 7a 65 64 4f 62 6a 65 63 74 2e 46 69 6e 64 50 72 6f 70 65 72 74 p.=.serializedObject.FindPropert
4180 79 28 22 6d 5f 74 65 78 74 41 6c 69 67 6e 6d 65 6e 74 22 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 y("m_textAlignment");...........
41a0 20 20 20 20 20 6d 5f 48 6f 72 69 7a 6f 6e 74 61 6c 4d 61 70 70 69 6e 67 50 72 6f 70 20 3d 20 73 .....m_HorizontalMappingProp.=.s
41c0 65 72 69 61 6c 69 7a 65 64 4f 62 6a 65 63 74 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 28 22 6d 5f erializedObject.FindProperty("m_
41e0 68 6f 72 69 7a 6f 6e 74 61 6c 4d 61 70 70 69 6e 67 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 horizontalMapping");............
4200 20 20 6d 5f 56 65 72 74 69 63 61 6c 4d 61 70 70 69 6e 67 50 72 6f 70 20 3d 20 73 65 72 69 61 6c ..m_VerticalMappingProp.=.serial
4220 69 7a 65 64 4f 62 6a 65 63 74 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 28 22 6d 5f 76 65 72 74 69 izedObject.FindProperty("m_verti
4240 63 61 6c 4d 61 70 70 69 6e 67 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 55 76 4c calMapping");..............m_UvL
4260 69 6e 65 4f 66 66 73 65 74 50 72 6f 70 20 3d 20 73 65 72 69 61 6c 69 7a 65 64 4f 62 6a 65 63 74 ineOffsetProp.=.serializedObject
4280 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 28 22 6d 5f 75 76 4c 69 6e 65 4f 66 66 73 65 74 22 29 3b .FindProperty("m_uvLineOffset");
42a0 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 45 6e 61 62 6c 65 57 6f 72 64 57 72 61 70 ................m_EnableWordWrap
42c0 70 69 6e 67 50 72 6f 70 20 3d 20 73 65 72 69 61 6c 69 7a 65 64 4f 62 6a 65 63 74 2e 46 69 6e 64 pingProp.=.serializedObject.Find
42e0 50 72 6f 70 65 72 74 79 28 22 6d 5f 65 6e 61 62 6c 65 57 6f 72 64 57 72 61 70 70 69 6e 67 22 29 Property("m_enableWordWrapping")
4300 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 57 6f 72 64 57 72 61 70 70 69 6e 67 52 61 74 ;..............m_WordWrappingRat
4320 69 6f 73 50 72 6f 70 20 3d 20 73 65 72 69 61 6c 69 7a 65 64 4f 62 6a 65 63 74 2e 46 69 6e 64 50 iosProp.=.serializedObject.FindP
4340 72 6f 70 65 72 74 79 28 22 6d 5f 77 6f 72 64 57 72 61 70 70 69 6e 67 52 61 74 69 6f 73 22 29 3b roperty("m_wordWrappingRatios");
4360 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 54 65 78 74 4f 76 65 72 66 6c 6f 77 4d 6f 64 65 ..............m_TextOverflowMode
4380 50 72 6f 70 20 3d 20 73 65 72 69 61 6c 69 7a 65 64 4f 62 6a 65 63 74 2e 46 69 6e 64 50 72 6f 70 Prop.=.serializedObject.FindProp
43a0 65 72 74 79 28 22 6d 5f 6f 76 65 72 66 6c 6f 77 4d 6f 64 65 22 29 3b 0d 0a 20 20 20 20 20 20 20 erty("m_overflowMode");.........
43c0 20 20 20 20 20 6d 5f 50 61 67 65 54 6f 44 69 73 70 6c 61 79 50 72 6f 70 20 3d 20 73 65 72 69 61 .....m_PageToDisplayProp.=.seria
43e0 6c 69 7a 65 64 4f 62 6a 65 63 74 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 28 22 6d 5f 70 61 67 65 lizedObject.FindProperty("m_page
4400 54 6f 44 69 73 70 6c 61 79 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 4c 69 6e 6b ToDisplay");..............m_Link
4420 65 64 54 65 78 74 43 6f 6d 70 6f 6e 65 6e 74 50 72 6f 70 20 3d 20 73 65 72 69 61 6c 69 7a 65 64 edTextComponentProp.=.serialized
4440 4f 62 6a 65 63 74 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 28 22 6d 5f 6c 69 6e 6b 65 64 54 65 78 Object.FindProperty("m_linkedTex
4460 74 43 6f 6d 70 6f 6e 65 6e 74 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 49 73 4c tComponent");..............m_IsL
4480 69 6e 6b 65 64 54 65 78 74 43 6f 6d 70 6f 6e 65 6e 74 50 72 6f 70 20 3d 20 73 65 72 69 61 6c 69 inkedTextComponentProp.=.seriali
44a0 7a 65 64 4f 62 6a 65 63 74 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 28 22 6d 5f 69 73 4c 69 6e 6b zedObject.FindProperty("m_isLink
44c0 65 64 54 65 78 74 43 6f 6d 70 6f 6e 65 6e 74 22 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 edTextComponent");..............
44e0 20 20 6d 5f 45 6e 61 62 6c 65 4b 65 72 6e 69 6e 67 50 72 6f 70 20 3d 20 73 65 72 69 61 6c 69 7a ..m_EnableKerningProp.=.serializ
4500 65 64 4f 62 6a 65 63 74 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 28 22 6d 5f 65 6e 61 62 6c 65 4b edObject.FindProperty("m_enableK
4520 65 72 6e 69 6e 67 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a 20 20 20 20 20 20 20 erning");.......................
4540 20 20 20 20 20 6d 5f 45 6e 61 62 6c 65 45 78 74 72 61 50 61 64 64 69 6e 67 50 72 6f 70 20 3d 20 .....m_EnableExtraPaddingProp.=.
4560 73 65 72 69 61 6c 69 7a 65 64 4f 62 6a 65 63 74 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 28 22 6d serializedObject.FindProperty("m
4580 5f 65 6e 61 62 6c 65 45 78 74 72 61 50 61 64 64 69 6e 67 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 _enableExtraPadding");..........
45a0 20 20 20 20 6d 5f 49 73 52 69 63 68 54 65 78 74 50 72 6f 70 20 3d 20 73 65 72 69 61 6c 69 7a 65 ....m_IsRichTextProp.=.serialize
45c0 64 4f 62 6a 65 63 74 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 28 22 6d 5f 69 73 52 69 63 68 54 65 dObject.FindProperty("m_isRichTe
45e0 78 74 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 43 68 65 63 6b 50 61 64 64 69 6e xt");..............m_CheckPaddin
4600 67 52 65 71 75 69 72 65 64 50 72 6f 70 20 3d 20 73 65 72 69 61 6c 69 7a 65 64 4f 62 6a 65 63 74 gRequiredProp.=.serializedObject
4620 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 28 22 63 68 65 63 6b 50 61 64 64 69 6e 67 52 65 71 75 69 .FindProperty("checkPaddingRequi
4640 72 65 64 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 45 6e 61 62 6c 65 45 73 63 61 red");..............m_EnableEsca
4660 70 65 43 68 61 72 61 63 74 65 72 50 61 72 73 69 6e 67 50 72 6f 70 20 3d 20 73 65 72 69 61 6c 69 peCharacterParsingProp.=.seriali
4680 7a 65 64 4f 62 6a 65 63 74 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 28 22 6d 5f 70 61 72 73 65 43 zedObject.FindProperty("m_parseC
46a0 74 72 6c 43 68 61 72 61 63 74 65 72 73 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f trlCharacters");..............m_
46c0 55 73 65 4d 61 78 56 69 73 69 62 6c 65 44 65 73 63 65 6e 64 65 72 50 72 6f 70 20 3d 20 73 65 72 UseMaxVisibleDescenderProp.=.ser
46e0 69 61 6c 69 7a 65 64 4f 62 6a 65 63 74 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 28 22 6d 5f 75 73 ializedObject.FindProperty("m_us
4700 65 4d 61 78 56 69 73 69 62 6c 65 44 65 73 63 65 6e 64 65 72 22 29 3b 0d 0a 20 20 20 20 20 20 20 eMaxVisibleDescender");.........
4720 20 20 20 20 20 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 47 65 6f 6d 65 74 72 79 53 6f 72 ...................m_GeometrySor
4740 74 69 6e 67 4f 72 64 65 72 50 72 6f 70 20 3d 20 73 65 72 69 61 6c 69 7a 65 64 4f 62 6a 65 63 74 tingOrderProp.=.serializedObject
4760 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 28 22 6d 5f 67 65 6f 6d 65 74 72 79 53 6f 72 74 69 6e 67 .FindProperty("m_geometrySorting
4780 4f 72 64 65 72 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a 20 20 20 20 20 20 20 20 Order");........................
47a0 20 20 20 20 6d 5f 53 70 72 69 74 65 41 73 73 65 74 50 72 6f 70 20 3d 20 73 65 72 69 61 6c 69 7a ....m_SpriteAssetProp.=.serializ
47c0 65 64 4f 62 6a 65 63 74 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 28 22 6d 5f 73 70 72 69 74 65 41 edObject.FindProperty("m_spriteA
47e0 73 73 65 74 22 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 4d 61 72 67 69 6e 50 sset");................m_MarginP
4800 72 6f 70 20 3d 20 73 65 72 69 61 6c 69 7a 65 64 4f 62 6a 65 63 74 2e 46 69 6e 64 50 72 6f 70 65 rop.=.serializedObject.FindPrope
4820 72 74 79 28 22 6d 5f 6d 61 72 67 69 6e 22 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 rty("m_margin");................
4840 6d 5f 48 61 73 46 6f 6e 74 41 73 73 65 74 43 68 61 6e 67 65 64 50 72 6f 70 20 3d 20 73 65 72 69 m_HasFontAssetChangedProp.=.seri
4860 61 6c 69 7a 65 64 4f 62 6a 65 63 74 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 28 22 6d 5f 68 61 73 alizedObject.FindProperty("m_has
4880 46 6f 6e 74 41 73 73 65 74 43 68 61 6e 67 65 64 22 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 FontAssetChanged");.............
48a0 20 20 20 6d 5f 43 6f 6c 6f 72 4d 6f 64 65 50 72 6f 70 20 3d 20 73 65 72 69 61 6c 69 7a 65 64 4f ...m_ColorModeProp.=.serializedO
48c0 62 6a 65 63 74 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 28 22 6d 5f 63 6f 6c 6f 72 4d 6f 64 65 22 bject.FindProperty("m_colorMode"
48e0 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 54 65 78 74 43 6f 6d 70 6f 6e 65 6e );................m_TextComponen
4900 74 20 3d 20 28 54 4d 50 5f 54 65 78 74 29 74 61 72 67 65 74 3b 0d 0a 20 20 20 20 20 20 20 20 20 t.=.(TMP_Text)target;...........
4920 20 20 20 6d 5f 52 65 63 74 54 72 61 6e 73 66 6f 72 6d 20 3d 20 6d 5f 54 65 78 74 43 6f 6d 70 6f ...m_RectTransform.=.m_TextCompo
4940 6e 65 6e 74 2e 72 65 63 74 54 72 61 6e 73 66 6f 72 6d 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 nent.rectTransform;.............
4960 20 20 20 2f 2f 20 43 72 65 61 74 65 20 6e 65 77 20 4d 61 74 65 72 69 61 6c 20 45 64 69 74 6f 72 ...//.Create.new.Material.Editor
4980 20 69 66 20 6f 6e 65 20 64 6f 65 73 20 6e 6f 74 20 65 78 69 73 74 73 0d 0a 20 20 20 20 20 20 20 .if.one.does.not.exists.........
49a0 20 20 20 20 20 6d 5f 54 61 72 67 65 74 4d 61 74 65 72 69 61 6c 20 3d 20 6d 5f 54 65 78 74 43 6f .....m_TargetMaterial.=.m_TextCo
49c0 6d 70 6f 6e 65 6e 74 2e 66 6f 6e 74 53 68 61 72 65 64 4d 61 74 65 72 69 61 6c 3b 0d 0a 0d 0a 20 mponent.fontSharedMaterial;.....
49e0 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 53 65 74 20 6d 61 74 65 72 69 61 6c 20 69 6e 73 70 65 ...........//.Set.material.inspe
4a00 63 74 6f 72 20 76 69 73 69 62 69 6c 69 74 79 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 ctor.visibility..............if.
4a20 28 6d 5f 54 61 72 67 65 74 4d 61 74 65 72 69 61 6c 20 21 3d 20 6e 75 6c 6c 29 0d 0a 20 20 20 20 (m_TargetMaterial.!=.null)......
4a40 20 20 20 20 20 20 20 20 20 20 20 20 55 6e 69 74 79 45 64 69 74 6f 72 49 6e 74 65 72 6e 61 6c 2e ............UnityEditorInternal.
4a60 49 6e 74 65 72 6e 61 6c 45 64 69 74 6f 72 55 74 69 6c 69 74 79 2e 53 65 74 49 73 49 6e 73 70 65 InternalEditorUtility.SetIsInspe
4a80 63 74 6f 72 45 78 70 61 6e 64 65 64 28 6d 5f 54 61 72 67 65 74 4d 61 74 65 72 69 61 6c 2c 20 46 ctorExpanded(m_TargetMaterial,.F
4aa0 6f 6c 64 6f 75 74 2e 6d 61 74 65 72 69 61 6c 49 6e 73 70 65 63 74 6f 72 29 3b 0d 0a 0d 0a 20 20 oldout.materialInspector);......
4ac0 20 20 20 20 20 20 20 20 20 20 2f 2f 20 46 69 6e 64 20 61 6c 6c 20 4d 61 74 65 72 69 61 6c 20 50 ..........//.Find.all.Material.P
4ae0 72 65 73 65 74 73 20 6d 61 74 63 68 69 6e 67 20 74 68 65 20 63 75 72 72 65 6e 74 20 46 6f 6e 74 resets.matching.the.current.Font
4b00 20 41 73 73 65 74 20 4d 61 74 65 72 69 61 6c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 4d .Asset.Material..............m_M
4b20 61 74 65 72 69 61 6c 50 72 65 73 65 74 4e 61 6d 65 73 20 3d 20 47 65 74 4d 61 74 65 72 69 61 6c aterialPresetNames.=.GetMaterial
4b40 50 72 65 73 65 74 73 28 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 49 6e 69 Presets();................//.Ini
4b60 74 69 61 6c 69 7a 65 20 74 68 65 20 45 76 65 6e 74 20 4c 69 73 74 65 6e 65 72 20 66 6f 72 20 55 tialize.the.Event.Listener.for.U
4b80 6e 64 6f 20 45 76 65 6e 74 73 2e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 55 6e 64 6f 2e 75 6e ndo.Events...............Undo.un
4ba0 64 6f 52 65 64 6f 50 65 72 66 6f 72 6d 65 64 20 2b 3d 20 4f 6e 55 6e 64 6f 52 65 64 6f 3b 0d 0a doRedoPerformed.+=.OnUndoRedo;..
4bc0 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 76 ........}............protected.v
4be0 69 72 74 75 61 6c 20 76 6f 69 64 20 4f 6e 44 69 73 61 62 6c 65 28 29 0d 0a 20 20 20 20 20 20 20 irtual.void.OnDisable().........
4c00 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 53 65 74 20 6d 61 74 65 72 69 61 6c 20 .{..............//.Set.material.
4c20 69 6e 73 70 65 63 74 6f 72 20 76 69 73 69 62 69 6c 69 74 79 0d 0a 20 20 20 20 20 20 20 20 20 20 inspector.visibility............
4c40 20 20 69 66 20 28 6d 5f 54 61 72 67 65 74 4d 61 74 65 72 69 61 6c 20 21 3d 20 6e 75 6c 6c 29 0d ..if.(m_TargetMaterial.!=.null).
4c60 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 46 6f 6c 64 6f 75 74 2e 6d 61 74 65 72 69 61 .................Foldout.materia
4c80 6c 49 6e 73 70 65 63 74 6f 72 20 3d 20 55 6e 69 74 79 45 64 69 74 6f 72 49 6e 74 65 72 6e 61 6c lInspector.=.UnityEditorInternal
4ca0 2e 49 6e 74 65 72 6e 61 6c 45 64 69 74 6f 72 55 74 69 6c 69 74 79 2e 47 65 74 49 73 49 6e 73 70 .InternalEditorUtility.GetIsInsp
4cc0 65 63 74 6f 72 45 78 70 61 6e 64 65 64 28 6d 5f 54 61 72 67 65 74 4d 61 74 65 72 69 61 6c 29 3b ectorExpanded(m_TargetMaterial);
4ce0 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 55 6e 64 6f 2e 75 6e 64 6f 52 65 64 ................if.(Undo.undoRed
4d00 6f 50 65 72 66 6f 72 6d 65 64 20 21 3d 20 6e 75 6c 6c 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 oPerformed.!=.null).............
4d20 20 20 20 20 20 55 6e 64 6f 2e 75 6e 64 6f 52 65 64 6f 50 65 72 66 6f 72 6d 65 64 20 2d 3d 20 4f .....Undo.undoRedoPerformed.-=.O
4d40 6e 55 6e 64 6f 52 65 64 6f 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 nUndoRedo;..........}...........
4d60 20 70 75 62 6c 69 63 20 6f 76 65 72 72 69 64 65 20 76 6f 69 64 20 4f 6e 49 6e 73 70 65 63 74 6f .public.override.void.OnInspecto
4d80 72 47 55 49 28 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 rGUI()..........{............../
4da0 2f 20 4d 61 6b 65 20 73 75 72 65 20 4d 75 6c 74 69 20 73 65 6c 65 63 74 69 6f 6e 20 6f 6e 6c 79 /.Make.sure.Multi.selection.only
4dc0 20 69 6e 63 6c 75 64 65 73 20 54 4d 50 20 54 65 78 74 20 6f 62 6a 65 63 74 73 2e 0d 0a 20 20 20 .includes.TMP.Text.objects......
4de0 20 20 20 20 20 20 20 20 20 69 66 20 28 49 73 4d 69 78 53 65 6c 65 63 74 69 6f 6e 54 79 70 65 73 .........if.(IsMixSelectionTypes
4e00 28 29 29 20 72 65 74 75 72 6e 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 65 72 69 61 ()).return;................seria
4e20 6c 69 7a 65 64 4f 62 6a 65 63 74 2e 55 70 64 61 74 65 28 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 lizedObject.Update();...........
4e40 20 20 20 20 20 44 72 61 77 54 65 78 74 49 6e 70 75 74 28 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 .....DrawTextInput();...........
4e60 20 20 20 20 20 44 72 61 77 4d 61 69 6e 53 65 74 74 69 6e 67 73 28 29 3b 0d 0a 0d 0a 20 20 20 20 .....DrawMainSettings();........
4e80 20 20 20 20 20 20 20 20 44 72 61 77 45 78 74 72 61 53 65 74 74 69 6e 67 73 28 29 3b 0d 0a 0d 0a ........DrawExtraSettings();....
4ea0 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e 53 70 61 63 ............EditorGUILayout.Spac
4ec0 65 28 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6d 5f 48 61 76 65 50 72 e();................if.(m_HavePr
4ee0 6f 70 65 72 74 69 65 73 43 68 61 6e 67 65 64 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d opertiesChanged)..............{.
4f00 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 48 61 76 65 50 72 6f 70 65 72 74 69 65 .................m_HavePropertie
4f20 73 43 68 61 6e 67 65 64 20 3d 20 66 61 6c 73 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 sChanged.=.false;...............
4f40 20 20 20 6d 5f 54 65 78 74 43 6f 6d 70 6f 6e 65 6e 74 2e 68 61 76 65 50 72 6f 70 65 72 74 69 65 ...m_TextComponent.havePropertie
4f60 73 43 68 61 6e 67 65 64 20 3d 20 74 72 75 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 sChanged.=.true;................
4f80 20 20 6d 5f 54 65 78 74 43 6f 6d 70 6f 6e 65 6e 74 2e 43 6f 6d 70 75 74 65 4d 61 72 67 69 6e 53 ..m_TextComponent.ComputeMarginS
4fa0 69 7a 65 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 55 74 ize();..................EditorUt
4fc0 69 6c 69 74 79 2e 53 65 74 44 69 72 74 79 28 74 61 72 67 65 74 29 3b 0d 0a 20 20 20 20 20 20 20 ility.SetDirty(target);.........
4fe0 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 65 72 69 61 6c 69 7a 65 64 .....}................serialized
5000 4f 62 6a 65 63 74 2e 41 70 70 6c 79 4d 6f 64 69 66 69 65 64 50 72 6f 70 65 72 74 69 65 73 28 29 Object.ApplyModifiedProperties()
5020 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 76 ;..........}............public.v
5040 6f 69 64 20 4f 6e 53 63 65 6e 65 47 55 49 28 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 oid.OnSceneGUI()..........{.....
5060 20 20 20 20 20 20 20 20 20 69 66 20 28 49 73 4d 69 78 53 65 6c 65 63 74 69 6f 6e 54 79 70 65 73 .........if.(IsMixSelectionTypes
5080 28 29 29 20 72 65 74 75 72 6e 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 4d 61 ()).return;................//.Ma
50a0 72 67 69 6e 20 46 72 61 6d 65 20 26 20 48 61 6e 64 6c 65 73 0d 0a 20 20 20 20 20 20 20 20 20 20 rgin.Frame.&.Handles............
50c0 20 20 6d 5f 52 65 63 74 54 72 61 6e 73 66 6f 72 6d 2e 47 65 74 57 6f 72 6c 64 43 6f 72 6e 65 72 ..m_RectTransform.GetWorldCorner
50e0 73 28 6d 5f 52 65 63 74 43 6f 72 6e 65 72 73 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 56 s(m_RectCorners);..............V
5100 65 63 74 6f 72 34 20 6d 61 72 67 69 6e 4f 66 66 73 65 74 20 3d 20 6d 5f 54 65 78 74 43 6f 6d 70 ector4.marginOffset.=.m_TextComp
5120 6f 6e 65 6e 74 2e 6d 61 72 67 69 6e 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 56 65 63 74 6f onent.margin;..............Vecto
5140 72 33 20 6c 6f 73 73 79 53 63 61 6c 65 20 3d 20 6d 5f 52 65 63 74 54 72 61 6e 73 66 6f 72 6d 2e r3.lossyScale.=.m_RectTransform.
5160 6c 6f 73 73 79 53 63 61 6c 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a 20 20 20 20 20 lossyScale;.....................
5180 20 20 20 20 20 20 20 6d 5f 48 61 6e 64 6c 65 50 6f 69 6e 74 73 5b 30 5d 20 3d 20 6d 5f 52 65 63 .......m_HandlePoints[0].=.m_Rec
51a0 74 43 6f 72 6e 65 72 73 5b 30 5d 20 2b 20 6d 5f 52 65 63 74 54 72 61 6e 73 66 6f 72 6d 2e 54 72 tCorners[0].+.m_RectTransform.Tr
51c0 61 6e 73 66 6f 72 6d 44 69 72 65 63 74 69 6f 6e 28 6e 65 77 20 56 65 63 74 6f 72 33 28 6d 61 72 ansformDirection(new.Vector3(mar
51e0 67 69 6e 4f 66 66 73 65 74 2e 78 20 2a 20 6c 6f 73 73 79 53 63 61 6c 65 2e 78 2c 20 6d 61 72 67 ginOffset.x.*.lossyScale.x,.marg
5200 69 6e 4f 66 66 73 65 74 2e 77 20 2a 20 6c 6f 73 73 79 53 63 61 6c 65 2e 79 2c 20 30 29 29 3b 0d inOffset.w.*.lossyScale.y,.0));.
5220 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 48 61 6e 64 6c 65 50 6f 69 6e 74 73 5b 31 5d 20 3d .............m_HandlePoints[1].=
5240 20 6d 5f 52 65 63 74 43 6f 72 6e 65 72 73 5b 31 5d 20 2b 20 6d 5f 52 65 63 74 54 72 61 6e 73 66 .m_RectCorners[1].+.m_RectTransf
5260 6f 72 6d 2e 54 72 61 6e 73 66 6f 72 6d 44 69 72 65 63 74 69 6f 6e 28 6e 65 77 20 56 65 63 74 6f orm.TransformDirection(new.Vecto
5280 72 33 28 6d 61 72 67 69 6e 4f 66 66 73 65 74 2e 78 20 2a 20 6c 6f 73 73 79 53 63 61 6c 65 2e 78 r3(marginOffset.x.*.lossyScale.x
52a0 2c 20 2d 6d 61 72 67 69 6e 4f 66 66 73 65 74 2e 79 20 2a 20 6c 6f 73 73 79 53 63 61 6c 65 2e 79 ,.-marginOffset.y.*.lossyScale.y
52c0 2c 20 30 29 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 48 61 6e 64 6c 65 50 6f 69 6e ,.0));..............m_HandlePoin
52e0 74 73 5b 32 5d 20 3d 20 6d 5f 52 65 63 74 43 6f 72 6e 65 72 73 5b 32 5d 20 2b 20 6d 5f 52 65 63 ts[2].=.m_RectCorners[2].+.m_Rec
5300 74 54 72 61 6e 73 66 6f 72 6d 2e 54 72 61 6e 73 66 6f 72 6d 44 69 72 65 63 74 69 6f 6e 28 6e 65 tTransform.TransformDirection(ne
5320 77 20 56 65 63 74 6f 72 33 28 2d 6d 61 72 67 69 6e 4f 66 66 73 65 74 2e 7a 20 2a 20 6c 6f 73 73 w.Vector3(-marginOffset.z.*.loss
5340 79 53 63 61 6c 65 2e 78 2c 20 2d 6d 61 72 67 69 6e 4f 66 66 73 65 74 2e 79 20 2a 20 6c 6f 73 73 yScale.x,.-marginOffset.y.*.loss
5360 79 53 63 61 6c 65 2e 79 2c 20 30 29 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 48 61 yScale.y,.0));..............m_Ha
5380 6e 64 6c 65 50 6f 69 6e 74 73 5b 33 5d 20 3d 20 6d 5f 52 65 63 74 43 6f 72 6e 65 72 73 5b 33 5d ndlePoints[3].=.m_RectCorners[3]
53a0 20 2b 20 6d 5f 52 65 63 74 54 72 61 6e 73 66 6f 72 6d 2e 54 72 61 6e 73 66 6f 72 6d 44 69 72 65 .+.m_RectTransform.TransformDire
53c0 63 74 69 6f 6e 28 6e 65 77 20 56 65 63 74 6f 72 33 28 2d 6d 61 72 67 69 6e 4f 66 66 73 65 74 2e ction(new.Vector3(-marginOffset.
53e0 7a 20 2a 20 6c 6f 73 73 79 53 63 61 6c 65 2e 78 2c 20 6d 61 72 67 69 6e 4f 66 66 73 65 74 2e 77 z.*.lossyScale.x,.marginOffset.w
5400 20 2a 20 6c 6f 73 73 79 53 63 61 6c 65 2e 79 2c 20 30 29 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 .*.lossyScale.y,.0));...........
5420 20 20 20 20 20 48 61 6e 64 6c 65 73 2e 44 72 61 77 53 6f 6c 69 64 52 65 63 74 61 6e 67 6c 65 57 .....Handles.DrawSolidRectangleW
5440 69 74 68 4f 75 74 6c 69 6e 65 28 6d 5f 48 61 6e 64 6c 65 50 6f 69 6e 74 73 2c 20 6e 65 77 20 43 ithOutline(m_HandlePoints,.new.C
5460 6f 6c 6f 72 33 32 28 32 35 35 2c 20 32 35 35 2c 20 32 35 35 2c 20 30 29 2c 20 6e 65 77 20 43 6f olor32(255,.255,.255,.0),.new.Co
5480 6c 6f 72 33 32 28 32 35 35 2c 20 32 35 35 2c 20 30 2c 20 32 35 35 29 29 3b 0d 0a 20 20 20 20 20 lor32(255,.255,.0,.255));.......
54a0 20 20 20 20 20 20 20 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 44 72 61 77 20 26 20 70 .....................//.Draw.&.p
54c0 72 6f 63 65 73 73 20 46 72 65 65 4d 6f 76 65 48 61 6e 64 6c 65 73 0d 0a 0d 0a 20 20 20 20 20 20 rocess.FreeMoveHandles..........
54e0 20 20 20 20 20 20 2f 2f 20 4c 45 46 54 20 48 41 4e 44 4c 45 0d 0a 20 20 20 20 20 20 20 20 20 20 ......//.LEFT.HANDLE............
5500 20 20 56 65 63 74 6f 72 33 20 6f 6c 64 4c 65 66 74 20 3d 20 28 6d 5f 48 61 6e 64 6c 65 50 6f 69 ..Vector3.oldLeft.=.(m_HandlePoi
5520 6e 74 73 5b 30 5d 20 2b 20 6d 5f 48 61 6e 64 6c 65 50 6f 69 6e 74 73 5b 31 5d 29 20 2a 20 30 2e nts[0].+.m_HandlePoints[1]).*.0.
5540 35 66 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 56 65 63 74 6f 72 33 20 6e 65 77 4c 65 66 74 5f;..............Vector3.newLeft
5560 20 3d 20 48 61 6e 64 6c 65 73 2e 46 72 65 65 4d 6f 76 65 48 61 6e 64 6c 65 28 6f 6c 64 4c 65 66 .=.Handles.FreeMoveHandle(oldLef
5580 74 2c 20 51 75 61 74 65 72 6e 69 6f 6e 2e 69 64 65 6e 74 69 74 79 2c 20 48 61 6e 64 6c 65 55 74 t,.Quaternion.identity,.HandleUt
55a0 69 6c 69 74 79 2e 47 65 74 48 61 6e 64 6c 65 53 69 7a 65 28 6d 5f 52 65 63 74 54 72 61 6e 73 66 ility.GetHandleSize(m_RectTransf
55c0 6f 72 6d 2e 70 6f 73 69 74 69 6f 6e 29 20 2a 20 30 2e 30 35 66 2c 20 56 65 63 74 6f 72 33 2e 7a orm.position).*.0.05f,.Vector3.z
55e0 65 72 6f 2c 20 48 61 6e 64 6c 65 73 2e 44 6f 74 48 61 6e 64 6c 65 43 61 70 29 3b 0d 0a 20 20 20 ero,.Handles.DotHandleCap);.....
5600 20 20 20 20 20 20 20 20 20 62 6f 6f 6c 20 68 61 73 43 68 61 6e 67 65 64 20 3d 20 66 61 6c 73 65 .........bool.hasChanged.=.false
5620 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6f 6c 64 4c 65 66 74 20 21 3d 20 6e 65 ;..............if.(oldLeft.!=.ne
5640 77 4c 65 66 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 20 20 wLeft)..............{...........
5660 20 20 20 20 20 20 20 66 6c 6f 61 74 20 64 65 6c 74 61 20 3d 20 6f 6c 64 4c 65 66 74 2e 78 20 2d .......float.delta.=.oldLeft.x.-
5680 20 6e 65 77 4c 65 66 74 2e 78 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 61 72 .newLeft.x;..................mar
56a0 67 69 6e 4f 66 66 73 65 74 2e 78 20 2b 3d 20 2d 64 65 6c 74 61 20 2f 20 6c 6f 73 73 79 53 63 61 ginOffset.x.+=.-delta./.lossySca
56c0 6c 65 2e 78 3b 0d 0a 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 le.x;..................//Debug.L
56e0 6f 67 28 22 4c 65 66 74 20 4d 61 72 67 69 6e 20 48 30 3a 22 20 2b 20 68 61 6e 64 6c 65 50 6f 69 og("Left.Margin.H0:".+.handlePoi
5700 6e 74 73 5b 30 5d 20 2b 20 22 20 20 48 31 3a 22 20 2b 20 68 61 6e 64 6c 65 50 6f 69 6e 74 73 5b nts[0].+."..H1:".+.handlePoints[
5720 31 5d 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 68 61 73 43 68 61 6e 67 65 64 1]);..................hasChanged
5740 20 3d 20 74 72 75 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 .=.true;..............}.........
5760 20 20 20 20 20 20 20 2f 2f 20 54 4f 50 20 48 41 4e 44 4c 45 0d 0a 20 20 20 20 20 20 20 20 20 20 .......//.TOP.HANDLE............
5780 20 20 56 65 63 74 6f 72 33 20 6f 6c 64 54 6f 70 20 3d 20 28 6d 5f 48 61 6e 64 6c 65 50 6f 69 6e ..Vector3.oldTop.=.(m_HandlePoin
57a0 74 73 5b 31 5d 20 2b 20 6d 5f 48 61 6e 64 6c 65 50 6f 69 6e 74 73 5b 32 5d 29 20 2a 20 30 2e 35 ts[1].+.m_HandlePoints[2]).*.0.5
57c0 66 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 56 65 63 74 6f 72 33 20 6e 65 77 54 6f 70 20 3d f;..............Vector3.newTop.=
57e0 20 48 61 6e 64 6c 65 73 2e 46 72 65 65 4d 6f 76 65 48 61 6e 64 6c 65 28 6f 6c 64 54 6f 70 2c 20 .Handles.FreeMoveHandle(oldTop,.
5800 51 75 61 74 65 72 6e 69 6f 6e 2e 69 64 65 6e 74 69 74 79 2c 20 48 61 6e 64 6c 65 55 74 69 6c 69 Quaternion.identity,.HandleUtili
5820 74 79 2e 47 65 74 48 61 6e 64 6c 65 53 69 7a 65 28 6d 5f 52 65 63 74 54 72 61 6e 73 66 6f 72 6d ty.GetHandleSize(m_RectTransform
5840 2e 70 6f 73 69 74 69 6f 6e 29 20 2a 20 30 2e 30 35 66 2c 20 56 65 63 74 6f 72 33 2e 7a 65 72 6f .position).*.0.05f,.Vector3.zero
5860 2c 20 48 61 6e 64 6c 65 73 2e 44 6f 74 48 61 6e 64 6c 65 43 61 70 29 3b 0d 0a 20 20 20 20 20 20 ,.Handles.DotHandleCap);........
5880 20 20 20 20 20 20 69 66 20 28 6f 6c 64 54 6f 70 20 21 3d 20 6e 65 77 54 6f 70 29 0d 0a 20 20 20 ......if.(oldTop.!=.newTop).....
58a0 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 66 6c 6f 61 .........{..................floa
58c0 74 20 64 65 6c 74 61 20 3d 20 6f 6c 64 54 6f 70 2e 79 20 2d 20 6e 65 77 54 6f 70 2e 79 3b 0d 0a t.delta.=.oldTop.y.-.newTop.y;..
58e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 61 72 67 69 6e 4f 66 66 73 65 74 2e 79 20 2b ................marginOffset.y.+
5900 3d 20 64 65 6c 74 61 20 2f 20 6c 6f 73 73 79 53 63 61 6c 65 2e 79 3b 0d 0a 20 20 20 20 20 20 20 =.delta./.lossyScale.y;.........
5920 20 20 20 20 20 20 20 20 20 2f 2f 44 65 62 75 67 2e 4c 6f 67 28 22 54 6f 70 20 4d 61 72 67 69 6e .........//Debug.Log("Top.Margin
5940 20 48 31 3a 22 20 2b 20 68 61 6e 64 6c 65 50 6f 69 6e 74 73 5b 31 5d 20 2b 20 22 20 20 48 32 3a .H1:".+.handlePoints[1].+."..H2:
5960 22 20 2b 20 68 61 6e 64 6c 65 50 6f 69 6e 74 73 5b 32 5d 29 3b 20 20 20 0d 0a 20 20 20 20 20 20 ".+.handlePoints[2]);...........
5980 20 20 20 20 20 20 20 20 20 20 68 61 73 43 68 61 6e 67 65 64 20 3d 20 74 72 75 65 3b 0d 0a 20 20 ..........hasChanged.=.true;....
59a0 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 52 49 ..........}................//.RI
59c0 47 48 54 20 48 41 4e 44 4c 45 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 56 65 63 74 6f 72 33 20 GHT.HANDLE..............Vector3.
59e0 6f 6c 64 52 69 67 68 74 20 3d 20 28 6d 5f 48 61 6e 64 6c 65 50 6f 69 6e 74 73 5b 32 5d 20 2b 20 oldRight.=.(m_HandlePoints[2].+.
5a00 6d 5f 48 61 6e 64 6c 65 50 6f 69 6e 74 73 5b 33 5d 29 20 2a 20 30 2e 35 66 3b 0d 0a 20 20 20 20 m_HandlePoints[3]).*.0.5f;......
5a20 20 20 20 20 20 20 20 20 56 65 63 74 6f 72 33 20 6e 65 77 52 69 67 68 74 20 3d 20 48 61 6e 64 6c ........Vector3.newRight.=.Handl
5a40 65 73 2e 46 72 65 65 4d 6f 76 65 48 61 6e 64 6c 65 28 6f 6c 64 52 69 67 68 74 2c 20 51 75 61 74 es.FreeMoveHandle(oldRight,.Quat
5a60 65 72 6e 69 6f 6e 2e 69 64 65 6e 74 69 74 79 2c 20 48 61 6e 64 6c 65 55 74 69 6c 69 74 79 2e 47 ernion.identity,.HandleUtility.G
5a80 65 74 48 61 6e 64 6c 65 53 69 7a 65 28 6d 5f 52 65 63 74 54 72 61 6e 73 66 6f 72 6d 2e 70 6f 73 etHandleSize(m_RectTransform.pos
5aa0 69 74 69 6f 6e 29 20 2a 20 30 2e 30 35 66 2c 20 56 65 63 74 6f 72 33 2e 7a 65 72 6f 2c 20 48 61 ition).*.0.05f,.Vector3.zero,.Ha
5ac0 6e 64 6c 65 73 2e 44 6f 74 48 61 6e 64 6c 65 43 61 70 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 ndles.DotHandleCap);............
5ae0 20 20 69 66 20 28 6f 6c 64 52 69 67 68 74 20 21 3d 20 6e 65 77 52 69 67 68 74 29 0d 0a 20 20 20 ..if.(oldRight.!=.newRight).....
5b00 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 66 6c 6f 61 .........{..................floa
5b20 74 20 64 65 6c 74 61 20 3d 20 6f 6c 64 52 69 67 68 74 2e 78 20 2d 20 6e 65 77 52 69 67 68 74 2e t.delta.=.oldRight.x.-.newRight.
5b40 78 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 61 72 67 69 6e 4f 66 66 73 65 74 x;..................marginOffset
5b60 2e 7a 20 2b 3d 20 64 65 6c 74 61 20 2f 20 6c 6f 73 73 79 53 63 61 6c 65 2e 78 3b 0d 0a 20 20 20 .z.+=.delta./.lossyScale.x;.....
5b80 20 20 20 20 20 20 20 20 20 20 20 20 20 68 61 73 43 68 61 6e 67 65 64 20 3d 20 74 72 75 65 3b 0d .............hasChanged.=.true;.
5ba0 0a 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 52 69 .................//Debug.Log("Ri
5bc0 67 68 74 20 4d 61 72 67 69 6e 20 48 32 3a 22 20 2b 20 68 61 6e 64 6c 65 50 6f 69 6e 74 73 5b 32 ght.Margin.H2:".+.handlePoints[2
5be0 5d 20 2b 20 22 20 20 48 33 3a 22 20 2b 20 68 61 6e 64 6c 65 50 6f 69 6e 74 73 5b 33 5d 29 3b 0d ].+."..H3:".+.handlePoints[3]);.
5c00 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 .............}................//
5c20 20 42 4f 54 54 4f 4d 20 48 41 4e 44 4c 45 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 56 65 63 74 .BOTTOM.HANDLE..............Vect
5c40 6f 72 33 20 6f 6c 64 42 6f 74 74 6f 6d 20 3d 20 28 6d 5f 48 61 6e 64 6c 65 50 6f 69 6e 74 73 5b or3.oldBottom.=.(m_HandlePoints[
5c60 33 5d 20 2b 20 6d 5f 48 61 6e 64 6c 65 50 6f 69 6e 74 73 5b 30 5d 29 20 2a 20 30 2e 35 66 3b 0d 3].+.m_HandlePoints[0]).*.0.5f;.
5c80 0a 20 20 20 20 20 20 20 20 20 20 20 20 56 65 63 74 6f 72 33 20 6e 65 77 42 6f 74 74 6f 6d 20 3d .............Vector3.newBottom.=
5ca0 20 48 61 6e 64 6c 65 73 2e 46 72 65 65 4d 6f 76 65 48 61 6e 64 6c 65 28 6f 6c 64 42 6f 74 74 6f .Handles.FreeMoveHandle(oldBotto
5cc0 6d 2c 20 51 75 61 74 65 72 6e 69 6f 6e 2e 69 64 65 6e 74 69 74 79 2c 20 48 61 6e 64 6c 65 55 74 m,.Quaternion.identity,.HandleUt
5ce0 69 6c 69 74 79 2e 47 65 74 48 61 6e 64 6c 65 53 69 7a 65 28 6d 5f 52 65 63 74 54 72 61 6e 73 66 ility.GetHandleSize(m_RectTransf
5d00 6f 72 6d 2e 70 6f 73 69 74 69 6f 6e 29 20 2a 20 30 2e 30 35 66 2c 20 56 65 63 74 6f 72 33 2e 7a orm.position).*.0.05f,.Vector3.z
5d20 65 72 6f 2c 20 48 61 6e 64 6c 65 73 2e 44 6f 74 48 61 6e 64 6c 65 43 61 70 29 3b 0d 0a 20 20 20 ero,.Handles.DotHandleCap);.....
5d40 20 20 20 20 20 20 20 20 20 69 66 20 28 6f 6c 64 42 6f 74 74 6f 6d 20 21 3d 20 6e 65 77 42 6f 74 .........if.(oldBottom.!=.newBot
5d60 74 6f 6d 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 tom)..............{.............
5d80 20 20 20 20 20 66 6c 6f 61 74 20 64 65 6c 74 61 20 3d 20 6f 6c 64 42 6f 74 74 6f 6d 2e 79 20 2d .....float.delta.=.oldBottom.y.-
5da0 20 6e 65 77 42 6f 74 74 6f 6d 2e 79 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d .newBottom.y;..................m
5dc0 61 72 67 69 6e 4f 66 66 73 65 74 2e 77 20 2b 3d 20 2d 64 65 6c 74 61 20 2f 20 6c 6f 73 73 79 53 arginOffset.w.+=.-delta./.lossyS
5de0 63 61 6c 65 2e 79 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 68 61 73 43 68 61 6e cale.y;..................hasChan
5e00 67 65 64 20 3d 20 74 72 75 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 44 ged.=.true;..................//D
5e20 65 62 75 67 2e 4c 6f 67 28 22 42 6f 74 74 6f 6d 20 4d 61 72 67 69 6e 20 48 30 3a 22 20 2b 20 68 ebug.Log("Bottom.Margin.H0:".+.h
5e40 61 6e 64 6c 65 50 6f 69 6e 74 73 5b 30 5d 20 2b 20 22 20 20 48 33 3a 22 20 2b 20 68 61 6e 64 6c andlePoints[0].+."..H3:".+.handl
5e60 65 50 6f 69 6e 74 73 5b 33 5d 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 ePoints[3]);..............}.....
5e80 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 68 61 73 43 68 61 6e 67 65 64 29 0d 0a 20 20 20 20 ...........if.(hasChanged)......
5ea0 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 55 6e 64 6f 2e ........{..................Undo.
5ec0 52 65 63 6f 72 64 4f 62 6a 65 63 74 73 28 6e 65 77 20 4f 62 6a 65 63 74 5b 5d 20 7b 6d 5f 52 65 RecordObjects(new.Object[].{m_Re
5ee0 63 74 54 72 61 6e 73 66 6f 72 6d 2c 20 6d 5f 54 65 78 74 43 6f 6d 70 6f 6e 65 6e 74 20 7d 2c 20 ctTransform,.m_TextComponent.},.
5f00 22 4d 61 72 67 69 6e 20 43 68 61 6e 67 65 73 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 "Margin.Changes");..............
5f20 20 20 20 20 6d 5f 54 65 78 74 43 6f 6d 70 6f 6e 65 6e 74 2e 6d 61 72 67 69 6e 20 3d 20 6d 61 72 ....m_TextComponent.margin.=.mar
5f40 67 69 6e 4f 66 66 73 65 74 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 ginOffset;..................Edit
5f60 6f 72 55 74 69 6c 69 74 79 2e 53 65 74 44 69 72 74 79 28 74 61 72 67 65 74 29 3b 0d 0a 20 20 20 orUtility.SetDirty(target);.....
5f80 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 .........}..........}...........
5fa0 20 70 72 6f 74 65 63 74 65 64 20 76 6f 69 64 20 44 72 61 77 54 65 78 74 49 6e 70 75 74 28 29 0d .protected.void.DrawTextInput().
5fc0 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 .........{..............EditorGU
5fe0 49 4c 61 79 6f 75 74 2e 53 70 61 63 65 28 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 ILayout.Space();................
6000 2f 2f 20 49 66 20 74 68 65 20 74 65 78 74 20 63 6f 6d 70 6f 6e 65 6e 74 20 69 73 20 6c 69 6e 6b //.If.the.text.component.is.link
6020 65 64 2c 20 64 69 73 61 62 6c 65 20 74 68 65 20 74 65 78 74 20 69 6e 70 75 74 20 62 6f 78 2e 0d ed,.disable.the.text.input.box..
6040 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6d 5f 49 73 4c 69 6e 6b 65 64 54 65 78 74 43 .............if.(m_IsLinkedTextC
6060 6f 6d 70 6f 6e 65 6e 74 50 72 6f 70 2e 62 6f 6f 6c 56 61 6c 75 65 29 0d 0a 20 20 20 20 20 20 20 omponentProp.boolValue).........
6080 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 55 .....{..................EditorGU
60a0 49 4c 61 79 6f 75 74 2e 48 65 6c 70 42 6f 78 28 22 54 68 65 20 54 65 78 74 20 49 6e 70 75 74 20 ILayout.HelpBox("The.Text.Input.
60c0 42 6f 78 20 69 73 20 64 69 73 61 62 6c 65 64 20 64 75 65 20 74 6f 20 74 68 69 73 20 74 65 78 74 Box.is.disabled.due.to.this.text
60e0 20 63 6f 6d 70 6f 6e 65 6e 74 20 62 65 69 6e 67 20 6c 69 6e 6b 65 64 20 74 6f 20 61 6e 6f 74 68 .component.being.linked.to.anoth
6100 65 72 2e 22 2c 20 4d 65 73 73 61 67 65 54 79 70 65 2e 49 6e 66 6f 29 3b 0d 0a 20 20 20 20 20 20 er.",.MessageType.Info);........
6120 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 0a 20 20 20 20 20 ......}..............else.......
6140 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 .......{..................Editor
6160 47 55 49 2e 42 65 67 69 6e 43 68 61 6e 67 65 43 68 65 63 6b 28 29 3b 0d 0a 20 20 20 20 20 20 20 GUI.BeginChangeCheck();.........
6180 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e 50 72 6f 70 65 72 74 .........EditorGUILayout.Propert
61a0 79 46 69 65 6c 64 28 6d 5f 54 65 78 74 50 72 6f 70 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 yField(m_TextProp);.............
61c0 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 61 6e 67 65 43 68 .......if.(EditorGUI.EndChangeCh
61e0 65 63 6b 28 29 20 7c 7c 20 28 6d 5f 49 73 52 69 67 68 74 54 6f 4c 65 66 74 50 72 6f 70 2e 62 6f eck().||.(m_IsRightToLeftProp.bo
6200 6f 6c 56 61 6c 75 65 20 26 26 20 73 74 72 69 6e 67 2e 49 73 4e 75 6c 6c 4f 72 45 6d 70 74 79 28 olValue.&&.string.IsNullOrEmpty(
6220 6d 5f 52 74 6c 54 65 78 74 29 29 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d m_RtlText)))..................{.
6240 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 54 65 78 74 43 6f 6d 70 6f .....................m_TextCompo
6260 6e 65 6e 74 2e 6d 5f 69 6e 70 75 74 53 6f 75 72 63 65 20 3d 20 54 4d 50 5f 54 65 78 74 2e 54 65 nent.m_inputSource.=.TMP_Text.Te
6280 78 74 49 6e 70 75 74 53 6f 75 72 63 65 73 2e 54 65 78 74 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 xtInputSources.Text;............
62a0 20 20 20 20 20 20 20 20 20 20 6d 5f 54 65 78 74 43 6f 6d 70 6f 6e 65 6e 74 2e 6d 5f 69 73 49 6e ..........m_TextComponent.m_isIn
62c0 70 75 74 50 61 72 73 69 6e 67 52 65 71 75 69 72 65 64 20 3d 20 74 72 75 65 3b 0d 0a 20 20 20 20 putParsingRequired.=.true;......
62e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 48 61 76 65 50 72 6f 70 65 72 74 69 65 73 ................m_HaveProperties
6300 43 68 61 6e 67 65 64 20 3d 20 74 72 75 65 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 Changed.=.true;.................
6320 20 20 20 20 20 20 20 2f 2f 20 48 61 6e 64 6c 65 20 4c 65 66 74 20 74 6f 20 52 69 67 68 74 20 6f .......//.Handle.Left.to.Right.o
6340 72 20 52 69 67 68 74 20 74 6f 20 4c 65 66 74 20 45 64 69 74 6f 72 0d 0a 20 20 20 20 20 20 20 20 r.Right.to.Left.Editor..........
6360 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6d 5f 49 73 52 69 67 68 74 54 6f 4c 65 66 74 50 ............if.(m_IsRightToLeftP
6380 72 6f 70 2e 62 6f 6f 6c 56 61 6c 75 65 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 rop.boolValue)..................
63a0 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d ....{..........................m
63c0 5f 52 74 6c 54 65 78 74 20 3d 20 73 74 72 69 6e 67 2e 45 6d 70 74 79 3b 0d 0a 20 20 20 20 20 20 _RtlText.=.string.Empty;........
63e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 74 72 69 6e 67 20 73 6f 75 72 63 65 54 ..................string.sourceT
6400 65 78 74 20 3d 20 6d 5f 54 65 78 74 50 72 6f 70 2e 73 74 72 69 6e 67 56 61 6c 75 65 3b 0d 0a 0d ext.=.m_TextProp.stringValue;...
6420 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 2f 2f 20 52 65 76 65 .........................//.Reve
6440 72 73 65 20 54 65 78 74 20 64 69 73 70 6c 61 79 65 64 20 69 6e 20 54 65 78 74 20 49 6e 70 75 74 rse.Text.displayed.in.Text.Input
6460 20 42 6f 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 66 6f .Box..........................fo
6480 72 20 28 69 6e 74 20 69 20 3d 20 30 3b 20 69 20 3c 20 73 6f 75 72 63 65 54 65 78 74 2e 4c 65 6e r.(int.i.=.0;.i.<.sourceText.Len
64a0 67 74 68 3b 20 69 2b 2b 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 gth;.i++).......................
64c0 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ...{............................
64e0 20 20 6d 5f 52 74 6c 54 65 78 74 20 2b 3d 20 73 6f 75 72 63 65 54 65 78 74 5b 73 6f 75 72 63 65 ..m_RtlText.+=.sourceText[source
6500 54 65 78 74 2e 4c 65 6e 67 74 68 20 2d 20 69 20 2d 20 31 5d 3b 0d 0a 20 20 20 20 20 20 20 20 20 Text.Length.-.i.-.1];...........
6520 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ...............}................
6540 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 ......}..................}......
6560 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 54 6f 67 67 6c 65 20 73 68 6f 77 69 6e 67 20 ..............//.Toggle.showing.
6580 52 69 63 68 20 54 61 67 73 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 49 73 52 Rich.Tags..................m_IsR
65a0 69 67 68 74 54 6f 4c 65 66 74 50 72 6f 70 2e 62 6f 6f 6c 56 61 6c 75 65 20 3d 20 45 64 69 74 6f ightToLeftProp.boolValue.=.Edito
65c0 72 47 55 49 4c 61 79 6f 75 74 2e 54 6f 67 67 6c 65 28 6b 5f 52 74 6c 54 6f 67 67 6c 65 4c 61 62 rGUILayout.Toggle(k_RtlToggleLab
65e0 65 6c 2c 20 6d 5f 49 73 52 69 67 68 74 54 6f 4c 65 66 74 50 72 6f 70 2e 62 6f 6f 6c 56 61 6c 75 el,.m_IsRightToLeftProp.boolValu
6600 65 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 6d 5f 49 73 52 e);....................if.(m_IsR
6620 69 67 68 74 54 6f 4c 65 66 74 50 72 6f 70 2e 62 6f 6f 6c 56 61 6c 75 65 29 0d 0a 20 20 20 20 20 ightToLeftProp.boolValue).......
6640 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 20 20 ...........{....................
6660 20 20 45 64 69 74 6f 72 47 55 49 2e 42 65 67 69 6e 43 68 61 6e 67 65 43 68 65 63 6b 28 29 3b 0d ..EditorGUI.BeginChangeCheck();.
6680 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 52 74 6c 54 65 78 74 20 3d .....................m_RtlText.=
66a0 20 45 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e 54 65 78 74 41 72 65 61 28 6d 5f 52 74 6c 54 .EditorGUILayout.TextArea(m_RtlT
66c0 65 78 74 2c 20 54 4d 50 5f 55 49 53 74 79 6c 65 4d 61 6e 61 67 65 72 2e 77 72 61 70 70 69 6e 67 ext,.TMP_UIStyleManager.wrapping
66e0 54 65 78 74 41 72 65 61 2c 20 47 55 49 4c 61 79 6f 75 74 2e 48 65 69 67 68 74 28 45 64 69 74 6f TextArea,.GUILayout.Height(Edito
6700 72 47 55 49 2e 47 65 74 50 72 6f 70 65 72 74 79 48 65 69 67 68 74 28 6d 5f 54 65 78 74 50 72 6f rGUI.GetPropertyHeight(m_TextPro
6720 70 29 20 2d 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 73 69 6e 67 6c 65 4c 69 6e 65 p).-.EditorGUIUtility.singleLine
6740 48 65 69 67 68 74 29 2c 20 47 55 49 4c 61 79 6f 75 74 2e 45 78 70 61 6e 64 57 69 64 74 68 28 74 Height),.GUILayout.ExpandWidth(t
6760 72 75 65 29 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 rue));......................if.(
6780 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 20 EditorGUI.EndChangeCheck()).....
67a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 .................{..............
67c0 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 43 6f 6e 76 65 72 74 20 52 54 4c 20 69 6e 70 75 74 ............//.Convert.RTL.input
67e0 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 73 74 72 69 6e 67 ..........................string
6800 20 73 6f 75 72 63 65 54 65 78 74 20 3d 20 73 74 72 69 6e 67 2e 45 6d 70 74 79 3b 0d 0a 0d 0a 20 .sourceText.=.string.Empty;.....
6820 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 52 65 76 65 72 73 .......................//.Revers
6840 65 20 54 65 78 74 20 64 69 73 70 6c 61 79 65 64 20 69 6e 20 54 65 78 74 20 49 6e 70 75 74 20 42 e.Text.displayed.in.Text.Input.B
6860 6f 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 66 6f 72 20 ox..........................for.
6880 28 69 6e 74 20 69 20 3d 20 30 3b 20 69 20 3c 20 6d 5f 52 74 6c 54 65 78 74 2e 4c 65 6e 67 74 68 (int.i.=.0;.i.<.m_RtlText.Length
68a0 3b 20 69 2b 2b 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ;.i++)..........................
68c0 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 {..............................s
68e0 6f 75 72 63 65 54 65 78 74 20 2b 3d 20 6d 5f 52 74 6c 54 65 78 74 5b 6d 5f 52 74 6c 54 65 78 74 ourceText.+=.m_RtlText[m_RtlText
6900 2e 4c 65 6e 67 74 68 20 2d 20 69 20 2d 20 31 5d 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 .Length.-.i.-.1];...............
6920 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ...........}....................
6940 20 20 20 20 20 20 20 20 6d 5f 54 65 78 74 50 72 6f 70 2e 73 74 72 69 6e 67 56 61 6c 75 65 20 3d ........m_TextProp.stringValue.=
6960 20 73 6f 75 72 63 65 54 65 78 74 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .sourceText;....................
6980 20 20 7d 0d 0a 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 ..}..................}..........
69a0 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 ....}..........}............prot
69c0 65 63 74 65 64 20 76 6f 69 64 20 44 72 61 77 4d 61 69 6e 53 65 74 74 69 6e 67 73 28 29 0d 0a 20 ected.void.DrawMainSettings()...
69e0 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 4d 41 49 4e 20 53 45 .......{..............//.MAIN.SE
6a00 54 54 49 4e 47 53 20 53 45 43 54 49 4f 4e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 47 55 49 4c TTINGS.SECTION..............GUIL
6a20 61 79 6f 75 74 2e 4c 61 62 65 6c 28 6b 5f 4d 61 69 6e 53 65 74 74 69 6e 67 73 4c 61 62 65 6c 2c ayout.Label(k_MainSettingsLabel,
6a40 20 45 64 69 74 6f 72 53 74 79 6c 65 73 2e 62 6f 6c 64 4c 61 62 65 6c 29 3b 0d 0a 0d 0a 20 20 20 .EditorStyles.boldLabel);.......
6a60 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 2e 69 6e 64 65 6e 74 4c 65 76 65 6c 20 2b .........EditorGUI.indentLevel.+
6a80 3d 20 31 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 44 72 61 77 46 6f 6e 74 28 29 3b 0d =.1;................DrawFont();.
6aa0 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 44 72 61 77 43 6f 6c 6f 72 28 29 3b 0d 0a 0d 0a 20 ...............DrawColor();.....
6ac0 20 20 20 20 20 20 20 20 20 20 20 44 72 61 77 53 70 61 63 69 6e 67 28 29 3b 0d 0a 0d 0a 20 20 20 ...........DrawSpacing();.......
6ae0 20 20 20 20 20 20 20 20 20 44 72 61 77 41 6c 69 67 6e 6d 65 6e 74 28 29 3b 0d 0a 0d 0a 20 20 20 .........DrawAlignment();.......
6b00 20 20 20 20 20 20 20 20 20 44 72 61 77 57 72 61 70 70 69 6e 67 4f 76 65 72 66 6c 6f 77 28 29 3b .........DrawWrappingOverflow();
6b20 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 44 72 61 77 54 65 78 74 75 72 65 4d 61 70 70 69 ................DrawTextureMappi
6b40 6e 67 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a 20 20 20 20 20 20 20 20 20 20 20 ng();...........................
6b60 20 45 64 69 74 6f 72 47 55 49 2e 69 6e 64 65 6e 74 4c 65 76 65 6c 20 2d 3d 20 31 3b 0d 0a 20 20 .EditorGUI.indentLevel.-=.1;....
6b80 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 72 61 77 46 6f 6e 74 ......}............void.DrawFont
6ba0 28 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 55 70 ()..........{..............//.Up
6bc0 64 61 74 65 20 6c 69 73 74 20 6f 66 20 6d 61 74 65 72 69 61 6c 20 70 72 65 73 65 74 73 20 69 66 date.list.of.material.presets.if
6be0 20 6e 65 65 64 65 64 2e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6d 5f 49 73 50 72 .needed...............if.(m_IsPr
6c00 65 73 65 74 4c 69 73 74 44 69 72 74 79 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 esetListDirty)..................
6c20 6d 5f 4d 61 74 65 72 69 61 6c 50 72 65 73 65 74 4e 61 6d 65 73 20 3d 20 47 65 74 4d 61 74 65 72 m_MaterialPresetNames.=.GetMater
6c40 69 61 6c 50 72 65 73 65 74 73 28 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 ialPresets();................//.
6c60 46 4f 4e 54 20 41 53 53 45 54 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 FONT.ASSET..............EditorGU
6c80 49 2e 42 65 67 69 6e 43 68 61 6e 67 65 43 68 65 63 6b 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 I.BeginChangeCheck();...........
6ca0 20 20 20 45 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e 50 72 6f 70 65 72 74 79 46 69 65 6c 64 ...EditorGUILayout.PropertyField
6cc0 28 6d 5f 46 6f 6e 74 41 73 73 65 74 50 72 6f 70 2c 20 6b 5f 46 6f 6e 74 41 73 73 65 74 4c 61 62 (m_FontAssetProp,.k_FontAssetLab
6ce0 65 6c 29 3b 0d 0a 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 el);..............if.(EditorGUI.
6d00 45 6e 64 43 68 61 6e 67 65 43 68 65 63 6b 28 29 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b EndChangeCheck())..............{
6d20 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 48 61 76 65 50 72 6f 70 65 72 74 69 ..................m_HaveProperti
6d40 65 73 43 68 61 6e 67 65 64 20 3d 20 74 72 75 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 esChanged.=.true;...............
6d60 20 20 20 6d 5f 48 61 73 46 6f 6e 74 41 73 73 65 74 43 68 61 6e 67 65 64 50 72 6f 70 2e 62 6f 6f ...m_HasFontAssetChangedProp.boo
6d80 6c 56 61 6c 75 65 20 3d 20 74 72 75 65 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 lValue.=.true;..................
6da0 20 20 6d 5f 49 73 50 72 65 73 65 74 4c 69 73 74 44 69 72 74 79 20 3d 20 74 72 75 65 3b 0d 0a 20 ..m_IsPresetListDirty.=.true;...
6dc0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 4d 61 74 65 72 69 61 6c 50 72 65 73 65 74 53 ...............m_MaterialPresetS
6de0 65 6c 65 63 74 69 6f 6e 49 6e 64 65 78 20 3d 20 30 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 electionIndex.=.0;..............
6e00 7d 0d 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 }................Rect.rect;.....
6e20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 4d 41 54 45 52 49 41 4c 20 50 52 45 53 45 54 0d 0a 20 ...........//.MATERIAL.PRESET...
6e40 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6d 5f 4d 61 74 65 72 69 61 6c 50 72 65 73 65 74 4e ...........if.(m_MaterialPresetN
6e60 61 6d 65 73 20 21 3d 20 6e 75 6c 6c 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 ames.!=.null)..............{....
6e80 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 61 ..............EditorGUI.BeginCha
6ea0 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 72 65 63 ngeCheck();..................rec
6ec0 74 20 3d 20 45 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e 47 65 74 43 6f 6e 74 72 6f 6c 52 65 t.=.EditorGUILayout.GetControlRe
6ee0 63 74 28 66 61 6c 73 65 2c 20 31 37 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ct(false,.17);..................
6f00 20 20 66 6c 6f 61 74 20 6f 6c 64 48 65 69 67 68 74 20 3d 20 45 64 69 74 6f 72 53 74 79 6c 65 73 ..float.oldHeight.=.EditorStyles
6f20 2e 70 6f 70 75 70 2e 66 69 78 65 64 48 65 69 67 68 74 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 .popup.fixedHeight;.............
6f40 20 20 20 20 20 45 64 69 74 6f 72 53 74 79 6c 65 73 2e 70 6f 70 75 70 2e 66 69 78 65 64 48 65 69 .....EditorStyles.popup.fixedHei
6f60 67 68 74 20 3d 20 72 65 63 74 2e 68 65 69 67 68 74 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 ght.=.rect.height;..............
6f80 20 20 20 20 20 20 69 6e 74 20 6f 6c 64 53 69 7a 65 20 3d 20 45 64 69 74 6f 72 53 74 79 6c 65 73 ......int.oldSize.=.EditorStyles
6fa0 2e 70 6f 70 75 70 2e 66 6f 6e 74 53 69 7a 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .popup.fontSize;................
6fc0 20 20 45 64 69 74 6f 72 53 74 79 6c 65 73 2e 70 6f 70 75 70 2e 66 6f 6e 74 53 69 7a 65 20 3d 20 ..EditorStyles.popup.fontSize.=.
6fe0 31 31 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 4d 61 74 65 72 69 61 11;....................m_Materia
7000 6c 50 72 65 73 65 74 53 65 6c 65 63 74 69 6f 6e 49 6e 64 65 78 20 3d 20 45 64 69 74 6f 72 47 55 lPresetSelectionIndex.=.EditorGU
7020 49 2e 50 6f 70 75 70 28 72 65 63 74 2c 20 6b 5f 4d 61 74 65 72 69 61 6c 50 72 65 73 65 74 4c 61 I.Popup(rect,.k_MaterialPresetLa
7040 62 65 6c 2c 20 6d 5f 4d 61 74 65 72 69 61 6c 50 72 65 73 65 74 53 65 6c 65 63 74 69 6f 6e 49 6e bel,.m_MaterialPresetSelectionIn
7060 64 65 78 2c 20 6d 5f 4d 61 74 65 72 69 61 6c 50 72 65 73 65 74 4e 61 6d 65 73 29 3b 0d 0a 20 20 dex,.m_MaterialPresetNames);....
7080 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 43 ..............if.(EditorGUI.EndC
70a0 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 7b hangeCheck())..................{
70c0 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 46 6f 6e 74 53 68 61 72 ......................m_FontShar
70e0 65 64 4d 61 74 65 72 69 61 6c 50 72 6f 70 2e 6f 62 6a 65 63 74 52 65 66 65 72 65 6e 63 65 56 61 edMaterialProp.objectReferenceVa
7100 6c 75 65 20 3d 20 6d 5f 4d 61 74 65 72 69 61 6c 50 72 65 73 65 74 73 5b 6d 5f 4d 61 74 65 72 69 lue.=.m_MaterialPresets[m_Materi
7120 61 6c 50 72 65 73 65 74 53 65 6c 65 63 74 69 6f 6e 49 6e 64 65 78 5d 3b 0d 0a 20 20 20 20 20 20 alPresetSelectionIndex];........
7140 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 48 61 76 65 50 72 6f 70 65 72 74 69 65 73 43 68 ..............m_HavePropertiesCh
7160 61 6e 67 65 64 20 3d 20 74 72 75 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d anged.=.true;..................}
7180 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 4d 61 6b 65 20 73 75 72 65 20 ....................//Make.sure.
71a0 6d 61 74 65 72 69 61 6c 20 70 72 65 73 65 74 20 73 65 6c 65 63 74 69 6f 6e 20 69 6e 64 65 78 20 material.preset.selection.index.
71c0 6d 61 74 63 68 65 73 20 74 68 65 20 73 65 6c 65 63 74 69 6f 6e 0d 0a 20 20 20 20 20 20 20 20 20 matches.the.selection...........
71e0 20 20 20 20 20 20 20 69 66 20 28 6d 5f 4d 61 74 65 72 69 61 6c 50 72 65 73 65 74 53 65 6c 65 63 .......if.(m_MaterialPresetSelec
7200 74 69 6f 6e 49 6e 64 65 78 20 3c 20 6d 5f 4d 61 74 65 72 69 61 6c 50 72 65 73 65 74 4e 61 6d 65 tionIndex.<.m_MaterialPresetName
7220 73 2e 4c 65 6e 67 74 68 20 26 26 20 6d 5f 54 61 72 67 65 74 4d 61 74 65 72 69 61 6c 20 21 3d 20 s.Length.&&.m_TargetMaterial.!=.
7240 6d 5f 4d 61 74 65 72 69 61 6c 50 72 65 73 65 74 73 5b 6d 5f 4d 61 74 65 72 69 61 6c 50 72 65 73 m_MaterialPresets[m_MaterialPres
7260 65 74 53 65 6c 65 63 74 69 6f 6e 49 6e 64 65 78 5d 20 26 26 20 21 6d 5f 48 61 76 65 50 72 6f 70 etSelectionIndex].&&.!m_HaveProp
7280 65 72 74 69 65 73 43 68 61 6e 67 65 64 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ertiesChanged)..................
72a0 20 20 20 20 6d 5f 49 73 50 72 65 73 65 74 4c 69 73 74 44 69 72 74 79 20 3d 20 74 72 75 65 3b 0d ....m_IsPresetListDirty.=.true;.
72c0 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 53 74 79 6c 65 73 2e ...................EditorStyles.
72e0 70 6f 70 75 70 2e 66 69 78 65 64 48 65 69 67 68 74 20 3d 20 6f 6c 64 48 65 69 67 68 74 3b 0d 0a popup.fixedHeight.=.oldHeight;..
7300 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 53 74 79 6c 65 73 2e 70 6f 70 ................EditorStyles.pop
7320 75 70 2e 66 6f 6e 74 53 69 7a 65 20 3d 20 6f 6c 64 53 69 7a 65 3b 0d 0a 20 20 20 20 20 20 20 20 up.fontSize.=.oldSize;..........
7340 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 46 4f 4e 54 20 53 54 59 ....}................//.FONT.STY
7360 4c 45 0d 0a 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 LE..............EditorGUI.BeginC
7380 68 61 6e 67 65 43 68 65 63 6b 28 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 74 hangeCheck();................int
73a0 20 76 31 2c 20 76 32 2c 20 76 33 2c 20 76 34 2c 20 76 35 2c 20 76 36 2c 20 76 37 3b 0d 0a 0d 0a .v1,.v2,.v3,.v4,.v5,.v6,.v7;....
73c0 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 55 74 69 6c 69 74 79 ............if.(EditorGUIUtility
73e0 2e 77 69 64 65 4d 6f 64 65 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 .wideMode)..............{.......
7400 20 20 20 20 20 20 20 20 20 20 20 72 65 63 74 20 3d 20 45 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 ...........rect.=.EditorGUILayou
7420 74 2e 47 65 74 43 6f 6e 74 72 6f 6c 52 65 63 74 28 74 72 75 65 2c 20 45 64 69 74 6f 72 47 55 49 t.GetControlRect(true,.EditorGUI
7440 55 74 69 6c 69 74 79 2e 73 69 6e 67 6c 65 4c 69 6e 65 48 65 69 67 68 74 20 2b 20 32 66 29 3b 0d Utility.singleLineHeight.+.2f);.
7460 0a 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 50 72 65 ...................EditorGUI.Pre
7480 66 69 78 4c 61 62 65 6c 28 72 65 63 74 2c 20 6b 5f 46 6f 6e 74 53 74 79 6c 65 4c 61 62 65 6c 29 fixLabel(rect,.k_FontStyleLabel)
74a0 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 74 20 73 74 79 6c 65 56 61 ;....................int.styleVa
74c0 6c 75 65 20 3d 20 6d 5f 46 6f 6e 74 53 74 79 6c 65 50 72 6f 70 2e 69 6e 74 56 61 6c 75 65 3b 0d lue.=.m_FontStyleProp.intValue;.
74e0 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 45 64 69 ...................rect.x.+=.Edi
7500 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 6c 61 62 65 6c 57 69 64 74 68 3b 0d 0a 20 20 20 20 20 torGUIUtility.labelWidth;.......
7520 20 20 20 20 20 20 20 20 20 20 20 72 65 63 74 2e 77 69 64 74 68 20 2d 3d 20 45 64 69 74 6f 72 47 ...........rect.width.-=.EditorG
7540 55 49 55 74 69 6c 69 74 79 2e 6c 61 62 65 6c 57 69 64 74 68 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 UIUtility.labelWidth;...........
7560 20 20 20 20 20 20 20 20 20 72 65 63 74 2e 77 69 64 74 68 20 3d 20 4d 61 74 68 66 2e 4d 61 78 28 .........rect.width.=.Mathf.Max(
7580 32 35 66 2c 20 72 65 63 74 2e 77 69 64 74 68 20 2f 20 37 66 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 25f,.rect.width./.7f);..........
75a0 20 20 20 20 20 20 20 20 20 20 76 31 20 3d 20 54 4d 50 5f 45 64 69 74 6f 72 55 74 69 6c 69 74 79 ..........v1.=.TMP_EditorUtility
75c0 2e 45 64 69 74 6f 72 54 6f 67 67 6c 65 28 72 65 63 74 2c 20 28 73 74 79 6c 65 56 61 6c 75 65 20 .EditorToggle(rect,.(styleValue.
75e0 26 20 31 29 20 3d 3d 20 31 2c 20 6b 5f 42 6f 6c 64 4c 61 62 65 6c 2c 20 54 4d 50 5f 55 49 53 74 &.1).==.1,.k_BoldLabel,.TMP_UISt
7600 79 6c 65 4d 61 6e 61 67 65 72 2e 61 6c 69 67 6e 6d 65 6e 74 42 75 74 74 6f 6e 4c 65 66 74 29 20 yleManager.alignmentButtonLeft).
7620 3f 20 31 20 3a 20 30 3b 20 2f 2f 20 42 6f 6c 64 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ?.1.:.0;.//.Bold................
7640 20 20 72 65 63 74 2e 78 20 2b 3d 20 72 65 63 74 2e 77 69 64 74 68 3b 0d 0a 20 20 20 20 20 20 20 ..rect.x.+=.rect.width;.........
7660 20 20 20 20 20 20 20 20 20 76 32 20 3d 20 54 4d 50 5f 45 64 69 74 6f 72 55 74 69 6c 69 74 79 2e .........v2.=.TMP_EditorUtility.
7680 45 64 69 74 6f 72 54 6f 67 67 6c 65 28 72 65 63 74 2c 20 28 73 74 79 6c 65 56 61 6c 75 65 20 26 EditorToggle(rect,.(styleValue.&
76a0 20 32 29 20 3d 3d 20 32 2c 20 6b 5f 49 74 61 6c 69 63 4c 61 62 65 6c 2c 20 54 4d 50 5f 55 49 53 .2).==.2,.k_ItalicLabel,.TMP_UIS
76c0 74 79 6c 65 4d 61 6e 61 67 65 72 2e 61 6c 69 67 6e 6d 65 6e 74 42 75 74 74 6f 6e 4d 69 64 29 20 tyleManager.alignmentButtonMid).
76e0 3f 20 32 20 3a 20 30 3b 20 2f 2f 20 49 74 61 6c 69 63 73 0d 0a 20 20 20 20 20 20 20 20 20 20 20 ?.2.:.0;.//.Italics.............
7700 20 20 20 20 20 72 65 63 74 2e 78 20 2b 3d 20 72 65 63 74 2e 77 69 64 74 68 3b 0d 0a 20 20 20 20 .....rect.x.+=.rect.width;......
7720 20 20 20 20 20 20 20 20 20 20 20 20 76 33 20 3d 20 54 4d 50 5f 45 64 69 74 6f 72 55 74 69 6c 69 ............v3.=.TMP_EditorUtili
7740 74 79 2e 45 64 69 74 6f 72 54 6f 67 67 6c 65 28 72 65 63 74 2c 20 28 73 74 79 6c 65 56 61 6c 75 ty.EditorToggle(rect,.(styleValu
7760 65 20 26 20 34 29 20 3d 3d 20 34 2c 20 6b 5f 55 6e 64 65 72 6c 69 6e 65 4c 61 62 65 6c 2c 20 54 e.&.4).==.4,.k_UnderlineLabel,.T
7780 4d 50 5f 55 49 53 74 79 6c 65 4d 61 6e 61 67 65 72 2e 61 6c 69 67 6e 6d 65 6e 74 42 75 74 74 6f MP_UIStyleManager.alignmentButto
77a0 6e 4d 69 64 29 20 3f 20 34 20 3a 20 30 3b 20 2f 2f 20 55 6e 64 65 72 6c 69 6e 65 0d 0a 20 20 20 nMid).?.4.:.0;.//.Underline.....
77c0 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 63 74 2e 78 20 2b 3d 20 72 65 63 74 2e 77 69 64 74 .............rect.x.+=.rect.widt
77e0 68 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 37 20 3d 20 54 4d 50 5f 45 64 69 h;..................v7.=.TMP_Edi
7800 74 6f 72 55 74 69 6c 69 74 79 2e 45 64 69 74 6f 72 54 6f 67 67 6c 65 28 72 65 63 74 2c 20 28 73 torUtility.EditorToggle(rect,.(s
7820 74 79 6c 65 56 61 6c 75 65 20 26 20 36 34 29 20 3d 3d 20 36 34 2c 20 6b 5f 53 74 72 69 6b 65 74 tyleValue.&.64).==.64,.k_Striket
7840 68 72 6f 75 67 68 4c 61 62 65 6c 2c 20 54 4d 50 5f 55 49 53 74 79 6c 65 4d 61 6e 61 67 65 72 2e hroughLabel,.TMP_UIStyleManager.
7860 61 6c 69 67 6e 6d 65 6e 74 42 75 74 74 6f 6e 52 69 67 68 74 29 20 3f 20 36 34 20 3a 20 30 3b 20 alignmentButtonRight).?.64.:.0;.
7880 2f 2f 20 53 74 72 69 6b 65 74 68 72 6f 75 67 68 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 //.Strikethrough................
78a0 20 20 72 65 63 74 2e 78 20 2b 3d 20 72 65 63 74 2e 77 69 64 74 68 3b 0d 0a 20 20 20 20 20 20 20 ..rect.x.+=.rect.width;.........
78c0 20 20 20 20 20 20 20 20 20 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 74 20 73 ...........................int.s
78e0 65 6c 65 63 74 65 64 20 3d 20 30 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a elected.=.0;....................
7900 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
7920 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 76 hangeCheck();..................v
7940 34 20 3d 20 54 4d 50 5f 45 64 69 74 6f 72 55 74 69 6c 69 74 79 2e 45 64 69 74 6f 72 54 6f 67 67 4.=.TMP_EditorUtility.EditorTogg
7960 6c 65 28 72 65 63 74 2c 20 28 73 74 79 6c 65 56 61 6c 75 65 20 26 20 38 29 20 3d 3d 20 38 2c 20 le(rect,.(styleValue.&.8).==.8,.
7980 6b 5f 4c 6f 77 65 72 63 61 73 65 4c 61 62 65 6c 2c 20 54 4d 50 5f 55 49 53 74 79 6c 65 4d 61 6e k_LowercaseLabel,.TMP_UIStyleMan
79a0 61 67 65 72 2e 61 6c 69 67 6e 6d 65 6e 74 42 75 74 74 6f 6e 4c 65 66 74 29 20 3f 20 38 20 3a 20 ager.alignmentButtonLeft).?.8.:.
79c0 30 3b 20 2f 2f 20 4c 6f 77 65 72 63 61 73 65 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0;.//.Lowercase.................
79e0 20 69 66 20 28 45 64 69 74 6f 72 47 55 49 2e 45 6e 64 43 68 61 6e 67 65 43 68 65 63 6b 28 29 20 .if.(EditorGUI.EndChangeCheck().
7a00 26 26 20 76 34 20 3e 20 30 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 &&.v4.>.0)..................{...
7a20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 65 6c 65 63 74 65 64 20 3d 20 76 34 ...................selected.=.v4
7a40 3b 0d 0a 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 ;..................}............
7a60 20 20 20 20 20 20 72 65 63 74 2e 78 20 2b 3d 20 72 65 63 74 2e 77 69 64 74 68 3b 0d 0a 20 20 20 ......rect.x.+=.rect.width;.....
7a80 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 61 6e .............EditorGUI.BeginChan
7aa0 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 76 35 20 3d geCheck();..................v5.=
7ac0 20 54 4d 50 5f 45 64 69 74 6f 72 55 74 69 6c 69 74 79 2e 45 64 69 74 6f 72 54 6f 67 67 6c 65 28 .TMP_EditorUtility.EditorToggle(
7ae0 72 65 63 74 2c 20 28 73 74 79 6c 65 56 61 6c 75 65 20 26 20 31 36 29 20 3d 3d 20 31 36 2c 20 6b rect,.(styleValue.&.16).==.16,.k
7b00 5f 55 70 70 65 72 63 61 73 65 4c 61 62 65 6c 2c 20 54 4d 50 5f 55 49 53 74 79 6c 65 4d 61 6e 61 _UppercaseLabel,.TMP_UIStyleMana
7b20 67 65 72 2e 61 6c 69 67 6e 6d 65 6e 74 42 75 74 74 6f 6e 4d 69 64 29 20 3f 20 31 36 20 3a 20 30 ger.alignmentButtonMid).?.16.:.0
7b40 3b 20 2f 2f 20 55 70 70 65 72 63 61 73 65 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ;.//.Uppercase..................
7b60 69 66 20 28 45 64 69 74 6f 72 47 55 49 2e 45 6e 64 43 68 61 6e 67 65 43 68 65 63 6b 28 29 20 26 if.(EditorGUI.EndChangeCheck().&
7b80 26 20 76 35 20 3e 20 30 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 &.v5.>.0)..................{....
7ba0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 65 6c 65 63 74 65 64 20 3d 20 76 35 3b ..................selected.=.v5;
7bc0 0d 0a 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 ..................}.............
7be0 20 20 20 20 20 72 65 63 74 2e 78 20 2b 3d 20 72 65 63 74 2e 77 69 64 74 68 3b 0d 0a 20 20 20 20 .....rect.x.+=.rect.width;......
7c00 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
7c20 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 76 36 20 3d 20 eCheck();..................v6.=.
7c40 54 4d 50 5f 45 64 69 74 6f 72 55 74 69 6c 69 74 79 2e 45 64 69 74 6f 72 54 6f 67 67 6c 65 28 72 TMP_EditorUtility.EditorToggle(r
7c60 65 63 74 2c 20 28 73 74 79 6c 65 56 61 6c 75 65 20 26 20 33 32 29 20 3d 3d 20 33 32 2c 20 6b 5f ect,.(styleValue.&.32).==.32,.k_
7c80 53 6d 61 6c 6c 63 61 70 73 4c 61 62 65 6c 2c 20 54 4d 50 5f 55 49 53 74 79 6c 65 4d 61 6e 61 67 SmallcapsLabel,.TMP_UIStyleManag
7ca0 65 72 2e 61 6c 69 67 6e 6d 65 6e 74 42 75 74 74 6f 6e 52 69 67 68 74 29 20 3f 20 33 32 20 3a 20 er.alignmentButtonRight).?.32.:.
7cc0 30 3b 20 2f 2f 20 53 6d 61 6c 6c 63 61 70 73 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0;.//.Smallcaps.................
7ce0 20 69 66 20 28 45 64 69 74 6f 72 47 55 49 2e 45 6e 64 43 68 61 6e 67 65 43 68 65 63 6b 28 29 20 .if.(EditorGUI.EndChangeCheck().
7d00 26 26 20 76 36 20 3e 20 30 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 &&.v6.>.0)..................{...
7d20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 65 6c 65 63 74 65 64 20 3d 20 76 36 ...................selected.=.v6
7d40 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 ;..................}............
7d60 20 20 20 20 20 20 20 20 69 66 20 28 73 65 6c 65 63 74 65 64 20 3e 20 30 29 0d 0a 20 20 20 20 20 ........if.(selected.>.0).......
7d80 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 20 20 ...........{....................
7da0 20 20 76 34 20 3d 20 73 65 6c 65 63 74 65 64 20 3d 3d 20 38 20 3f 20 38 20 3a 20 30 3b 0d 0a 20 ..v4.=.selected.==.8.?.8.:.0;...
7dc0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 35 20 3d 20 73 65 6c 65 63 74 65 64 ...................v5.=.selected
7de0 20 3d 3d 20 31 36 20 3f 20 31 36 20 3a 20 30 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .==.16.?.16.:.0;................
7e00 20 20 20 20 20 20 76 36 20 3d 20 73 65 6c 65 63 74 65 64 20 3d 3d 20 33 32 20 3f 20 33 32 20 3a ......v6.=.selected.==.32.?.32.:
7e20 20 30 3b 0d 0a 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 .0;..................}..........
7e40 20 20 20 20 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 ....}..............else.........
7e60 20 20 20 20 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 45 .....{..................rect.=.E
7e80 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e 47 65 74 43 6f 6e 74 72 6f 6c 52 65 63 74 28 74 72 ditorGUILayout.GetControlRect(tr
7ea0 75 65 2c 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 73 69 6e 67 6c 65 4c 69 6e 65 48 ue,.EditorGUIUtility.singleLineH
7ec0 65 69 67 68 74 20 2b 20 32 66 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 eight.+.2f);....................
7ee0 45 64 69 74 6f 72 47 55 49 2e 50 72 65 66 69 78 4c 61 62 65 6c 28 72 65 63 74 2c 20 6b 5f 46 6f EditorGUI.PrefixLabel(rect,.k_Fo
7f00 6e 74 53 74 79 6c 65 4c 61 62 65 6c 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ntStyleLabel);..................
7f20 20 20 69 6e 74 20 73 74 79 6c 65 56 61 6c 75 65 20 3d 20 6d 5f 46 6f 6e 74 53 74 79 6c 65 50 72 ..int.styleValue.=.m_FontStylePr
7f40 6f 70 2e 69 6e 74 56 61 6c 75 65 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 op.intValue;....................
7f60 72 65 63 74 2e 78 20 2b 3d 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 6c 61 62 65 6c rect.x.+=.EditorGUIUtility.label
7f80 57 69 64 74 68 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 63 74 2e 77 69 64 Width;..................rect.wid
7fa0 74 68 20 2d 3d 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 6c 61 62 65 6c 57 69 64 74 th.-=.EditorGUIUtility.labelWidt
7fc0 68 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 63 74 2e 77 69 64 74 68 20 3d h;..................rect.width.=
7fe0 20 4d 61 74 68 66 2e 4d 61 78 28 32 35 66 2c 20 72 65 63 74 2e 77 69 64 74 68 20 2f 20 34 66 29 .Mathf.Max(25f,.rect.width./.4f)
8000 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 31 20 3d 20 54 4d 50 5f 45 64 ;....................v1.=.TMP_Ed
8020 69 74 6f 72 55 74 69 6c 69 74 79 2e 45 64 69 74 6f 72 54 6f 67 67 6c 65 28 72 65 63 74 2c 20 28 itorUtility.EditorToggle(rect,.(
8040 73 74 79 6c 65 56 61 6c 75 65 20 26 20 31 29 20 3d 3d 20 31 2c 20 6b 5f 42 6f 6c 64 4c 61 62 65 styleValue.&.1).==.1,.k_BoldLabe
8060 6c 2c 20 54 4d 50 5f 55 49 53 74 79 6c 65 4d 61 6e 61 67 65 72 2e 61 6c 69 67 6e 6d 65 6e 74 42 l,.TMP_UIStyleManager.alignmentB
8080 75 74 74 6f 6e 4c 65 66 74 29 20 3f 20 31 20 3a 20 30 3b 20 2f 2f 20 42 6f 6c 64 0d 0a 20 20 20 uttonLeft).?.1.:.0;.//.Bold.....
80a0 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 63 74 2e 78 20 2b 3d 20 72 65 63 74 2e 77 69 64 74 .............rect.x.+=.rect.widt
80c0 68 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 32 20 3d 20 54 4d 50 5f 45 64 69 h;..................v2.=.TMP_Edi
80e0 74 6f 72 55 74 69 6c 69 74 79 2e 45 64 69 74 6f 72 54 6f 67 67 6c 65 28 72 65 63 74 2c 20 28 73 torUtility.EditorToggle(rect,.(s
8100 74 79 6c 65 56 61 6c 75 65 20 26 20 32 29 20 3d 3d 20 32 2c 20 6b 5f 49 74 61 6c 69 63 4c 61 62 tyleValue.&.2).==.2,.k_ItalicLab
8120 65 6c 2c 20 54 4d 50 5f 55 49 53 74 79 6c 65 4d 61 6e 61 67 65 72 2e 61 6c 69 67 6e 6d 65 6e 74 el,.TMP_UIStyleManager.alignment
8140 42 75 74 74 6f 6e 4d 69 64 29 20 3f 20 32 20 3a 20 30 3b 20 2f 2f 20 49 74 61 6c 69 63 73 0d 0a ButtonMid).?.2.:.0;.//.Italics..
8160 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 72 65 63 74 2e 77 ................rect.x.+=.rect.w
8180 69 64 74 68 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 33 20 3d 20 54 4d 50 5f idth;..................v3.=.TMP_
81a0 45 64 69 74 6f 72 55 74 69 6c 69 74 79 2e 45 64 69 74 6f 72 54 6f 67 67 6c 65 28 72 65 63 74 2c EditorUtility.EditorToggle(rect,
81c0 20 28 73 74 79 6c 65 56 61 6c 75 65 20 26 20 34 29 20 3d 3d 20 34 2c 20 6b 5f 55 6e 64 65 72 6c .(styleValue.&.4).==.4,.k_Underl
81e0 69 6e 65 4c 61 62 65 6c 2c 20 54 4d 50 5f 55 49 53 74 79 6c 65 4d 61 6e 61 67 65 72 2e 61 6c 69 ineLabel,.TMP_UIStyleManager.ali
8200 67 6e 6d 65 6e 74 42 75 74 74 6f 6e 4d 69 64 29 20 3f 20 34 20 3a 20 30 3b 20 2f 2f 20 55 6e 64 gnmentButtonMid).?.4.:.0;.//.Und
8220 65 72 6c 69 6e 65 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 erline..................rect.x.+
8240 3d 20 72 65 63 74 2e 77 69 64 74 68 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 =.rect.width;..................v
8260 37 20 3d 20 54 4d 50 5f 45 64 69 74 6f 72 55 74 69 6c 69 74 79 2e 45 64 69 74 6f 72 54 6f 67 67 7.=.TMP_EditorUtility.EditorTogg
8280 6c 65 28 72 65 63 74 2c 20 28 73 74 79 6c 65 56 61 6c 75 65 20 26 20 36 34 29 20 3d 3d 20 36 34 le(rect,.(styleValue.&.64).==.64
82a0 2c 20 6b 5f 53 74 72 69 6b 65 74 68 72 6f 75 67 68 4c 61 62 65 6c 2c 20 54 4d 50 5f 55 49 53 74 ,.k_StrikethroughLabel,.TMP_UISt
82c0 79 6c 65 4d 61 6e 61 67 65 72 2e 61 6c 69 67 6e 6d 65 6e 74 42 75 74 74 6f 6e 52 69 67 68 74 29 yleManager.alignmentButtonRight)
82e0 20 3f 20 36 34 20 3a 20 30 3b 20 2f 2f 20 53 74 72 69 6b 65 74 68 72 6f 75 67 68 0d 0a 0d 0a 20 .?.64.:.0;.//.Strikethrough.....
8300 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 63 74 20 3d 20 45 64 69 74 6f 72 47 55 49 4c ...............rect.=.EditorGUIL
8320 61 79 6f 75 74 2e 47 65 74 43 6f 6e 74 72 6f 6c 52 65 63 74 28 74 72 75 65 2c 20 45 64 69 74 6f ayout.GetControlRect(true,.Edito
8340 72 47 55 49 55 74 69 6c 69 74 79 2e 73 69 6e 67 6c 65 4c 69 6e 65 48 65 69 67 68 74 20 2b 20 32 rGUIUtility.singleLineHeight.+.2
8360 66 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a 20 20 20 20 20 20 20 20 20 f);.............................
8380 20 20 20 20 20 20 20 72 65 63 74 2e 78 20 2b 3d 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 .......rect.x.+=.EditorGUIUtilit
83a0 79 2e 6c 61 62 65 6c 57 69 64 74 68 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 y.labelWidth;..................r
83c0 65 63 74 2e 77 69 64 74 68 20 2d 3d 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 6c 61 ect.width.-=.EditorGUIUtility.la
83e0 62 65 6c 57 69 64 74 68 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 63 belWidth;....................rec
8400 74 2e 77 69 64 74 68 20 3d 20 4d 61 74 68 66 2e 4d 61 78 28 32 35 66 2c 20 72 65 63 74 2e 77 69 t.width.=.Mathf.Max(25f,.rect.wi
8420 64 74 68 20 2f 20 34 66 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e dth./.4f);....................in
8440 74 20 73 65 6c 65 63 74 65 64 20 3d 20 30 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 t.selected.=.0;.................
8460 20 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
8480 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();................
84a0 20 20 76 34 20 3d 20 54 4d 50 5f 45 64 69 74 6f 72 55 74 69 6c 69 74 79 2e 45 64 69 74 6f 72 54 ..v4.=.TMP_EditorUtility.EditorT
84c0 6f 67 67 6c 65 28 72 65 63 74 2c 20 28 73 74 79 6c 65 56 61 6c 75 65 20 26 20 38 29 20 3d 3d 20 oggle(rect,.(styleValue.&.8).==.
84e0 38 2c 20 6b 5f 4c 6f 77 65 72 63 61 73 65 4c 61 62 65 6c 2c 20 54 4d 50 5f 55 49 53 74 79 6c 65 8,.k_LowercaseLabel,.TMP_UIStyle
8500 4d 61 6e 61 67 65 72 2e 61 6c 69 67 6e 6d 65 6e 74 42 75 74 74 6f 6e 4c 65 66 74 29 20 3f 20 38 Manager.alignmentButtonLeft).?.8
8520 20 3a 20 30 3b 20 2f 2f 20 4c 6f 77 65 72 63 61 73 65 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 .:.0;.//.Lowercase..............
8540 20 20 20 20 69 66 20 28 45 64 69 74 6f 72 47 55 49 2e 45 6e 64 43 68 61 6e 67 65 43 68 65 63 6b ....if.(EditorGUI.EndChangeCheck
8560 28 29 20 26 26 20 76 34 20 3e 20 30 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b ().&&.v4.>.0)..................{
8580 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 65 6c 65 63 74 65 64 20 3d ......................selected.=
85a0 20 76 34 3b 0d 0a 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 .v4;..................}.........
85c0 20 20 20 20 20 20 20 20 20 72 65 63 74 2e 78 20 2b 3d 20 72 65 63 74 2e 77 69 64 74 68 3b 0d 0a .........rect.x.+=.rect.width;..
85e0 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
8600 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 76 hangeCheck();..................v
8620 35 20 3d 20 54 4d 50 5f 45 64 69 74 6f 72 55 74 69 6c 69 74 79 2e 45 64 69 74 6f 72 54 6f 67 67 5.=.TMP_EditorUtility.EditorTogg
8640 6c 65 28 72 65 63 74 2c 20 28 73 74 79 6c 65 56 61 6c 75 65 20 26 20 31 36 29 20 3d 3d 20 31 36 le(rect,.(styleValue.&.16).==.16
8660 2c 20 6b 5f 55 70 70 65 72 63 61 73 65 4c 61 62 65 6c 2c 20 54 4d 50 5f 55 49 53 74 79 6c 65 4d ,.k_UppercaseLabel,.TMP_UIStyleM
8680 61 6e 61 67 65 72 2e 61 6c 69 67 6e 6d 65 6e 74 42 75 74 74 6f 6e 4d 69 64 29 20 3f 20 31 36 20 anager.alignmentButtonMid).?.16.
86a0 3a 20 30 3b 20 2f 2f 20 55 70 70 65 72 63 61 73 65 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 :.0;.//.Uppercase...............
86c0 20 20 20 69 66 20 28 45 64 69 74 6f 72 47 55 49 2e 45 6e 64 43 68 61 6e 67 65 43 68 65 63 6b 28 ...if.(EditorGUI.EndChangeCheck(
86e0 29 20 26 26 20 76 35 20 3e 20 30 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d ).&&.v5.>.0)..................{.
8700 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 65 6c 65 63 74 65 64 20 3d 20 .....................selected.=.
8720 76 35 3b 0d 0a 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 v5;..................}..........
8740 20 20 20 20 20 20 20 20 72 65 63 74 2e 78 20 2b 3d 20 72 65 63 74 2e 77 69 64 74 68 3b 0d 0a 20 ........rect.x.+=.rect.width;...
8760 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
8780 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 76 36 angeCheck();..................v6
87a0 20 3d 20 54 4d 50 5f 45 64 69 74 6f 72 55 74 69 6c 69 74 79 2e 45 64 69 74 6f 72 54 6f 67 67 6c .=.TMP_EditorUtility.EditorToggl
87c0 65 28 72 65 63 74 2c 20 28 73 74 79 6c 65 56 61 6c 75 65 20 26 20 33 32 29 20 3d 3d 20 33 32 2c e(rect,.(styleValue.&.32).==.32,
87e0 20 6b 5f 53 6d 61 6c 6c 63 61 70 73 4c 61 62 65 6c 2c 20 54 4d 50 5f 55 49 53 74 79 6c 65 4d 61 .k_SmallcapsLabel,.TMP_UIStyleMa
8800 6e 61 67 65 72 2e 61 6c 69 67 6e 6d 65 6e 74 42 75 74 74 6f 6e 52 69 67 68 74 29 20 3f 20 33 32 nager.alignmentButtonRight).?.32
8820 20 3a 20 30 3b 20 2f 2f 20 53 6d 61 6c 6c 63 61 70 73 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 .:.0;.//.Smallcaps..............
8840 20 20 20 20 69 66 20 28 45 64 69 74 6f 72 47 55 49 2e 45 6e 64 43 68 61 6e 67 65 43 68 65 63 6b ....if.(EditorGUI.EndChangeCheck
8860 28 29 20 26 26 20 76 36 20 3e 20 30 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b ().&&.v6.>.0)..................{
8880 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 65 6c 65 63 74 65 64 20 3d ......................selected.=
88a0 20 76 36 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 .v6;..................}.........
88c0 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 73 65 6c 65 63 74 65 64 20 3e 20 30 29 0d 0a 20 20 ...........if.(selected.>.0)....
88e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ..............{.................
8900 20 20 20 20 20 76 34 20 3d 20 73 65 6c 65 63 74 65 64 20 3d 3d 20 38 20 3f 20 38 20 3a 20 30 3b .....v4.=.selected.==.8.?.8.:.0;
8920 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 35 20 3d 20 73 65 6c 65 63 ......................v5.=.selec
8940 74 65 64 20 3d 3d 20 31 36 20 3f 20 31 36 20 3a 20 30 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 ted.==.16.?.16.:.0;.............
8960 20 20 20 20 20 20 20 20 20 76 36 20 3d 20 73 65 6c 65 63 74 65 64 20 3d 3d 20 33 32 20 3f 20 33 .........v6.=.selected.==.32.?.3
8980 32 20 3a 20 30 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 2.:.0;..................}.......
89a0 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 45 64 69 74 .......}................if.(Edit
89c0 6f 72 47 55 49 2e 45 6e 64 43 68 61 6e 67 65 43 68 65 63 6b 28 29 29 0d 0a 20 20 20 20 20 20 20 orGUI.EndChangeCheck()).........
89e0 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 5f 46 6f 6e 74 53 74 .....{..................m_FontSt
8a00 79 6c 65 50 72 6f 70 2e 69 6e 74 56 61 6c 75 65 20 3d 20 76 31 20 2b 20 76 32 20 2b 20 76 33 20 yleProp.intValue.=.v1.+.v2.+.v3.
8a20 2b 20 76 34 20 2b 20 76 35 20 2b 20 76 36 20 2b 20 76 37 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 +.v4.+.v5.+.v6.+.v7;............
8a40 20 20 20 20 20 20 6d 5f 48 61 76 65 50 72 6f 70 65 72 74 69 65 73 43 68 61 6e 67 65 64 20 3d 20 ......m_HavePropertiesChanged.=.
8a60 74 72 75 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 true;..............}............
8a80 20 20 20 20 2f 2f 20 46 4f 4e 54 20 53 49 5a 45 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 45 64 ....//.FONT.SIZE..............Ed
8aa0 69 74 6f 72 47 55 49 2e 42 65 67 69 6e 43 68 61 6e 67 65 43 68 65 63 6b 28 29 3b 0d 0a 20 20 20 itorGUI.BeginChangeCheck();.....
8ac0 20 20 20 20 20 20 20 20 20 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 .......................EditorGUI
8ae0 2e 42 65 67 69 6e 44 69 73 61 62 6c 65 64 47 72 6f 75 70 28 6d 5f 41 75 74 6f 53 69 7a 69 6e 67 .BeginDisabledGroup(m_AutoSizing
8b00 50 72 6f 70 2e 62 6f 6f 6c 56 61 6c 75 65 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 45 64 Prop.boolValue);..............Ed
8b20 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e 50 72 6f 70 65 72 74 79 46 69 65 6c 64 28 6d 5f 46 6f itorGUILayout.PropertyField(m_Fo
8b40 6e 74 53 69 7a 65 50 72 6f 70 2c 20 6b 5f 46 6f 6e 74 53 69 7a 65 4c 61 62 65 6c 2c 20 47 55 49 ntSizeProp,.k_FontSizeLabel,.GUI
8b60 4c 61 79 6f 75 74 2e 4d 61 78 57 69 64 74 68 28 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 Layout.MaxWidth(EditorGUIUtility
8b80 2e 6c 61 62 65 6c 57 69 64 74 68 20 2b 20 35 30 66 29 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 .labelWidth.+.50f));............
8ba0 20 20 45 64 69 74 6f 72 47 55 49 2e 45 6e 64 44 69 73 61 62 6c 65 64 47 72 6f 75 70 28 29 3b 0d ..EditorGUI.EndDisabledGroup();.
8bc0 0a 0d 0a 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
8be0 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 7b 0d 0a 20 ChangeCheck())..............{...
8c00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 46 6f 6e 74 53 69 7a 65 42 61 73 65 50 72 6f ...............m_FontSizeBasePro
8c20 70 2e 66 6c 6f 61 74 56 61 6c 75 65 20 3d 20 6d 5f 46 6f 6e 74 53 69 7a 65 50 72 6f 70 2e 66 6c p.floatValue.=.m_FontSizeProp.fl
8c40 6f 61 74 56 61 6c 75 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 48 61 76 oatValue;..................m_Hav
8c60 65 50 72 6f 70 65 72 74 69 65 73 43 68 61 6e 67 65 64 20 3d 20 74 72 75 65 3b 0d 0a 20 20 20 20 ePropertiesChanged.=.true;......
8c80 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 45 64 69 74 6f 72 47 ........}................EditorG
8ca0 55 49 2e 69 6e 64 65 6e 74 4c 65 76 65 6c 20 2b 3d 20 31 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 UI.indentLevel.+=.1;............
8cc0 20 20 0d 0a 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
8ce0 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 45 64 69 74 6f hangeCheck();..............Edito
8d00 72 47 55 49 4c 61 79 6f 75 74 2e 50 72 6f 70 65 72 74 79 46 69 65 6c 64 28 6d 5f 41 75 74 6f 53 rGUILayout.PropertyField(m_AutoS
8d20 69 7a 69 6e 67 50 72 6f 70 2c 20 6b 5f 41 75 74 6f 53 69 7a 65 4c 61 62 65 6c 29 3b 0d 0a 20 20 izingProp,.k_AutoSizeLabel);....
8d40 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 61 6e 67 ..........if.(EditorGUI.EndChang
8d60 65 43 68 65 63 6b 28 29 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 eCheck())..............{........
8d80 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6d 5f 41 75 74 6f 53 69 7a 69 6e 67 50 72 6f 70 2e 62 ..........if.(m_AutoSizingProp.b
8da0 6f 6f 6c 56 61 6c 75 65 20 3d 3d 20 66 61 6c 73 65 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 oolValue.==.false)..............
8dc0 20 20 20 20 20 20 20 20 6d 5f 46 6f 6e 74 53 69 7a 65 50 72 6f 70 2e 66 6c 6f 61 74 56 61 6c 75 ........m_FontSizeProp.floatValu
8de0 65 20 3d 20 6d 5f 46 6f 6e 74 53 69 7a 65 42 61 73 65 50 72 6f 70 2e 66 6c 6f 61 74 56 61 6c 75 e.=.m_FontSizeBaseProp.floatValu
8e00 65 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 48 61 76 65 50 72 6f 70 e;....................m_HaveProp
8e20 65 72 74 69 65 73 43 68 61 6e 67 65 64 20 3d 20 74 72 75 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 ertiesChanged.=.true;...........
8e40 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 53 68 6f 77 20 61 75 74 6f ...}................//.Show.auto
8e60 20 73 69 7a 69 6e 67 20 6f 70 74 69 6f 6e 73 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 .sizing.options..............if.
8e80 28 6d 5f 41 75 74 6f 53 69 7a 69 6e 67 50 72 6f 70 2e 62 6f 6f 6c 56 61 6c 75 65 29 0d 0a 20 20 (m_AutoSizingProp.boolValue)....
8ea0 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 72 65 63 ..........{..................rec
8ec0 74 20 3d 20 45 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e 47 65 74 43 6f 6e 74 72 6f 6c 52 65 t.=.EditorGUILayout.GetControlRe
8ee0 63 74 28 74 72 75 65 2c 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 73 69 6e 67 6c 65 ct(true,.EditorGUIUtility.single
8f00 4c 69 6e 65 48 65 69 67 68 74 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 LineHeight);....................
8f20 45 64 69 74 6f 72 47 55 49 2e 50 72 65 66 69 78 4c 61 62 65 6c 28 72 65 63 74 2c 20 6b 5f 41 75 EditorGUI.PrefixLabel(rect,.k_Au
8f40 74 6f 53 69 7a 65 4f 70 74 69 6f 6e 73 4c 61 62 65 6c 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 toSizeOptionsLabel);............
8f60 20 20 20 20 20 20 20 20 69 6e 74 20 70 72 65 76 69 6f 75 73 49 6e 64 65 6e 74 20 3d 20 45 64 69 ........int.previousIndent.=.Edi
8f80 74 6f 72 47 55 49 2e 69 6e 64 65 6e 74 4c 65 76 65 6c 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 torGUI.indentLevel;.............
8fa0 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 2e 69 6e 64 65 6e 74 4c 65 76 65 6c 20 3d 20 30 .......EditorGUI.indentLevel.=.0
8fc0 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 77 69 64 74 68 20 ;....................rect.width.
8fe0 3d 20 28 72 65 63 74 2e 77 69 64 74 68 20 2d 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 =.(rect.width.-.EditorGUIUtility
9000 2e 6c 61 62 65 6c 57 69 64 74 68 29 20 2f 20 34 66 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 .labelWidth)./.4f;..............
9020 20 20 20 20 72 65 63 74 2e 78 20 2b 3d 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 6c ....rect.x.+=.EditorGUIUtility.l
9040 61 62 65 6c 57 69 64 74 68 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 45 64 abelWidth;....................Ed
9060 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 6c 61 62 65 6c 57 69 64 74 68 20 3d 20 32 34 3b 0d itorGUIUtility.labelWidth.=.24;.
9080 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 69 6e .................EditorGUI.Begin
90a0 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 20 20 ChangeCheck();..................
90c0 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 6d 5f EditorGUI.PropertyField(rect,.m_
90e0 46 6f 6e 74 53 69 7a 65 4d 69 6e 50 72 6f 70 2c 20 6b 5f 4d 69 6e 4c 61 62 65 6c 29 3b 0d 0a 20 FontSizeMinProp,.k_MinLabel);...
9100 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
9120 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())..................
9140 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 46 6f 6e 74 53 69 7a {......................m_FontSiz
9160 65 4d 69 6e 50 72 6f 70 2e 66 6c 6f 61 74 56 61 6c 75 65 20 3d 20 4d 61 74 68 66 2e 4d 69 6e 28 eMinProp.floatValue.=.Mathf.Min(
9180 6d 5f 46 6f 6e 74 53 69 7a 65 4d 69 6e 50 72 6f 70 2e 66 6c 6f 61 74 56 61 6c 75 65 2c 20 6d 5f m_FontSizeMinProp.floatValue,.m_
91a0 46 6f 6e 74 53 69 7a 65 4d 61 78 50 72 6f 70 2e 66 6c 6f 61 74 56 61 6c 75 65 29 3b 0d 0a 20 20 FontSizeMaxProp.floatValue);....
91c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 48 61 76 65 50 72 6f 70 65 72 74 69 ..................m_HaveProperti
91e0 65 73 43 68 61 6e 67 65 64 20 3d 20 74 72 75 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 esChanged.=.true;...............
9200 20 20 20 7d 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 ...}..................rect.x.+=.
9220 72 65 63 74 2e 77 69 64 74 68 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 45 rect.width;....................E
9240 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 6c 61 62 65 6c 57 69 64 74 68 20 3d 20 32 37 3b ditorGUIUtility.labelWidth.=.27;
9260 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 69 ..................EditorGUI.Begi
9280 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 20 nChangeCheck();.................
92a0 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 20 6d .EditorGUI.PropertyField(rect,.m
92c0 5f 46 6f 6e 74 53 69 7a 65 4d 61 78 50 72 6f 70 2c 20 6b 5f 4d 61 78 4c 61 62 65 6c 29 3b 0d 0a _FontSizeMaxProp,.k_MaxLabel);..
92e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 45 64 69 74 6f 72 47 55 49 2e 45 6e ................if.(EditorGUI.En
9300 64 43 68 61 6e 67 65 43 68 65 63 6b 28 29 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 dChangeCheck()).................
9320 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 46 6f 6e 74 53 69 .{......................m_FontSi
9340 7a 65 4d 61 78 50 72 6f 70 2e 66 6c 6f 61 74 56 61 6c 75 65 20 3d 20 4d 61 74 68 66 2e 4d 61 78 zeMaxProp.floatValue.=.Mathf.Max
9360 28 6d 5f 46 6f 6e 74 53 69 7a 65 4d 69 6e 50 72 6f 70 2e 66 6c 6f 61 74 56 61 6c 75 65 2c 20 6d (m_FontSizeMinProp.floatValue,.m
9380 5f 46 6f 6e 74 53 69 7a 65 4d 61 78 50 72 6f 70 2e 66 6c 6f 61 74 56 61 6c 75 65 29 3b 0d 0a 20 _FontSizeMaxProp.floatValue);...
93a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 48 61 76 65 50 72 6f 70 65 72 74 ...................m_HavePropert
93c0 69 65 73 43 68 61 6e 67 65 64 20 3d 20 74 72 75 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 iesChanged.=.true;..............
93e0 20 20 20 20 7d 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 ....}..................rect.x.+=
9400 20 72 65 63 74 2e 77 69 64 74 68 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .rect.width;....................
9420 45 64 69 74 6f 72 47 55 49 2e 42 65 67 69 6e 43 68 61 6e 67 65 43 68 65 63 6b 28 29 3b 0d 0a 20 EditorGUI.BeginChangeCheck();...
9440 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 2e ...............EditorGUIUtility.
9460 6c 61 62 65 6c 57 69 64 74 68 20 3d 20 33 36 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 labelWidth.=.36;................
9480 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 20 ..EditorGUI.PropertyField(rect,.
94a0 6d 5f 43 68 61 72 57 69 64 74 68 4d 61 78 41 64 6a 50 72 6f 70 2c 20 6b 5f 57 64 4c 61 62 65 6c m_CharWidthMaxAdjProp,.k_WdLabel
94c0 29 3b 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 72 65 );..................rect.x.+=.re
94e0 63 74 2e 77 69 64 74 68 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f ct.width;..................Edito
9500 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 38 3b 0d 0a 20 20 rGUIUtility.labelWidth.=.28;....
9520 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 74 79 ..............EditorGUI.Property
9540 46 69 65 6c 64 28 72 65 63 74 2c 20 6d 5f 4c 69 6e 65 53 70 61 63 69 6e 67 4d 61 78 50 72 6f 70 Field(rect,.m_LineSpacingMaxProp
9560 2c 20 6b 5f 4c 69 6e 65 4c 61 62 65 6c 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 ,.k_LineLabel);.................
9580 20 20 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 6c 61 62 65 6c 57 69 64 74 68 20 3d ...EditorGUIUtility.labelWidth.=
95a0 20 30 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 45 64 69 74 6f .0;....................if.(Edito
95c0 72 47 55 49 2e 45 6e 64 43 68 61 6e 67 65 43 68 65 63 6b 28 29 29 0d 0a 20 20 20 20 20 20 20 20 rGUI.EndChangeCheck())..........
95e0 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 6d ........{......................m
9600 5f 43 68 61 72 57 69 64 74 68 4d 61 78 41 64 6a 50 72 6f 70 2e 66 6c 6f 61 74 56 61 6c 75 65 20 _CharWidthMaxAdjProp.floatValue.
9620 3d 20 4d 61 74 68 66 2e 43 6c 61 6d 70 28 6d 5f 43 68 61 72 57 69 64 74 68 4d 61 78 41 64 6a 50 =.Mathf.Clamp(m_CharWidthMaxAdjP
9640 72 6f 70 2e 66 6c 6f 61 74 56 61 6c 75 65 2c 20 30 2c 20 35 30 29 3b 0d 0a 20 20 20 20 20 20 20 rop.floatValue,.0,.50);.........
9660 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 4c 69 6e 65 53 70 61 63 69 6e 67 4d 61 78 50 72 6f .............m_LineSpacingMaxPro
9680 70 2e 66 6c 6f 61 74 56 61 6c 75 65 20 3d 20 4d 61 74 68 66 2e 4d 69 6e 28 30 2c 20 6d 5f 4c 69 p.floatValue.=.Mathf.Min(0,.m_Li
96a0 6e 65 53 70 61 63 69 6e 67 4d 61 78 50 72 6f 70 2e 66 6c 6f 61 74 56 61 6c 75 65 29 3b 0d 0a 20 neSpacingMaxProp.floatValue);...
96c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 48 61 76 65 50 72 6f 70 65 72 74 ...................m_HavePropert
96e0 69 65 73 43 68 61 6e 67 65 64 20 3d 20 74 72 75 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 iesChanged.=.true;..............
9700 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a 20 20 20 20 20 20 20 ....}...........................
9720 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 2e 69 6e 64 65 6e 74 4c 65 76 65 6c 20 3d .........EditorGUI.indentLevel.=
9740 20 70 72 65 76 69 6f 75 73 49 6e 64 65 6e 74 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d .previousIndent;..............}.
9760 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 2e 69 6e 64 65 6e 74 4c ...............EditorGUI.indentL
9780 65 76 65 6c 20 2d 3d 20 31 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a 0d 0a 20 20 evel.-=.1;......................
97a0 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e 53 70 61 63 65 28 ..........EditorGUILayout.Space(
97c0 29 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 72 );..........}............void.Dr
97e0 61 77 43 6f 6c 6f 72 28 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 awColor()..........{............
9800 20 20 2f 2f 20 46 41 43 45 20 56 45 52 54 45 58 20 43 4f 4c 4f 52 0d 0a 20 20 20 20 20 20 20 20 ..//.FACE.VERTEX.COLOR..........
9820 20 20 20 20 45 64 69 74 6f 72 47 55 49 2e 42 65 67 69 6e 43 68 61 6e 67 65 43 68 65 63 6b 28 29 ....EditorGUI.BeginChangeCheck()
9840 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e 50 ;..............EditorGUILayout.P
9860 72 6f 70 65 72 74 79 46 69 65 6c 64 28 6d 5f 46 6f 6e 74 43 6f 6c 6f 72 50 72 6f 70 2c 20 6b 5f ropertyField(m_FontColorProp,.k_
9880 42 61 73 65 43 6f 6c 6f 72 4c 61 62 65 6c 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 BaseColorLabel);................
98a0 45 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e 50 72 6f 70 65 72 74 79 46 69 65 6c 64 28 6d 5f EditorGUILayout.PropertyField(m_
98c0 45 6e 61 62 6c 65 56 65 72 74 65 78 47 72 61 64 69 65 6e 74 50 72 6f 70 2c 20 6b 5f 43 6f 6c 6f EnableVertexGradientProp,.k_Colo
98e0 72 47 72 61 64 69 65 6e 74 4c 61 62 65 6c 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 rGradientLabel);..............if
9900 20 28 45 64 69 74 6f 72 47 55 49 2e 45 6e 64 43 68 61 6e 67 65 43 68 65 63 6b 28 29 29 0d 0a 20 .(EditorGUI.EndChangeCheck())...
9920 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 6d 5f ...........{..................m_
9940 48 61 76 65 50 72 6f 70 65 72 74 69 65 73 43 68 61 6e 67 65 64 20 3d 20 74 72 75 65 3b 0d 0a 20 HavePropertiesChanged.=.true;...
9960 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 0d 0a 20 20 20 20 ...........}....................
9980 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 66 69 65 6c 64 57 69 ........EditorGUIUtility.fieldWi
99a0 64 74 68 20 3d 20 30 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6d 5f 45 6e dth.=.0;................if.(m_En
99c0 61 62 6c 65 56 65 72 74 65 78 47 72 61 64 69 65 6e 74 50 72 6f 70 2e 62 6f 6f 6c 56 61 6c 75 65 ableVertexGradientProp.boolValue
99e0 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 )..............{................
9a00 20 20 45 64 69 74 6f 72 47 55 49 2e 69 6e 64 65 6e 74 4c 65 76 65 6c 20 2b 3d 20 31 3b 0d 0a 20 ..EditorGUI.indentLevel.+=.1;...
9a20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
9a40 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();..
9a60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
9a80 20 20 45 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e 50 72 6f 70 65 72 74 79 46 69 65 6c 64 28 ..EditorGUILayout.PropertyField(
9aa0 6d 5f 46 6f 6e 74 43 6f 6c 6f 72 47 72 61 64 69 65 6e 74 50 72 65 73 65 74 50 72 6f 70 2c 20 6b m_FontColorGradientPresetProp,.k
9ac0 5f 43 6f 6c 6f 72 50 72 65 73 65 74 4c 61 62 65 6c 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 _ColorPresetLabel);.............
9ae0 20 20 20 20 20 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 53 65 72 69 61 6c 69 7a 65 .......................Serialize
9b00 64 4f 62 6a 65 63 74 20 6f 62 6a 20 3d 20 6e 75 6c 6c 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 dObject.obj.=.null;.............
9b20 20 20 20 20 20 20 20 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 20 63 6f 6c 6f 72 4d .......SerializedProperty.colorM
9b40 6f 64 65 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 53 65 72 69 61 6c 69 7a ode;....................Serializ
9b60 65 64 50 72 6f 70 65 72 74 79 20 74 6f 70 4c 65 66 74 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 edProperty.topLeft;.............
9b80 20 20 20 20 20 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 20 74 6f 70 52 69 67 68 74 .....SerializedProperty.topRight
9ba0 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 53 65 72 69 61 6c 69 7a 65 64 50 72 6f ;..................SerializedPro
9bc0 70 65 72 74 79 20 62 6f 74 74 6f 6d 4c 65 66 74 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 perty.bottomLeft;...............
9be0 20 20 20 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 20 62 6f 74 74 6f 6d 52 69 67 68 ...SerializedProperty.bottomRigh
9c00 74 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 6d 5f 46 6f 6e 74 t;....................if.(m_Font
9c20 43 6f 6c 6f 72 47 72 61 64 69 65 6e 74 50 72 65 73 65 74 50 72 6f 70 2e 6f 62 6a 65 63 74 52 65 ColorGradientPresetProp.objectRe
9c40 66 65 72 65 6e 63 65 56 61 6c 75 65 20 3d 3d 20 6e 75 6c 6c 29 0d 0a 20 20 20 20 20 20 20 20 20 ferenceValue.==.null)...........
9c60 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 63 6f .......{......................co
9c80 6c 6f 72 4d 6f 64 65 20 3d 20 6d 5f 43 6f 6c 6f 72 4d 6f 64 65 50 72 6f 70 3b 0d 0a 20 20 20 20 lorMode.=.m_ColorModeProp;......
9ca0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 6f 70 4c 65 66 74 20 3d 20 6d 5f 46 6f 6e 74 ................topLeft.=.m_Font
9cc0 43 6f 6c 6f 72 47 72 61 64 69 65 6e 74 50 72 6f 70 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 52 65 ColorGradientProp.FindPropertyRe
9ce0 6c 61 74 69 76 65 28 22 74 6f 70 4c 65 66 74 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 lative("topLeft");..............
9d00 20 20 20 20 20 20 20 20 74 6f 70 52 69 67 68 74 20 3d 20 6d 5f 46 6f 6e 74 43 6f 6c 6f 72 47 72 ........topRight.=.m_FontColorGr
9d20 61 64 69 65 6e 74 50 72 6f 70 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 52 65 6c 61 74 69 76 65 28 adientProp.FindPropertyRelative(
9d40 22 74 6f 70 52 69 67 68 74 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 "topRight");....................
9d60 20 20 62 6f 74 74 6f 6d 4c 65 66 74 20 3d 20 6d 5f 46 6f 6e 74 43 6f 6c 6f 72 47 72 61 64 69 65 ..bottomLeft.=.m_FontColorGradie
9d80 6e 74 50 72 6f 70 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 52 65 6c 61 74 69 76 65 28 22 62 6f 74 ntProp.FindPropertyRelative("bot
9da0 74 6f 6d 4c 65 66 74 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 tomLeft");......................
9dc0 62 6f 74 74 6f 6d 52 69 67 68 74 20 3d 20 6d 5f 46 6f 6e 74 43 6f 6c 6f 72 47 72 61 64 69 65 6e bottomRight.=.m_FontColorGradien
9de0 74 50 72 6f 70 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 52 65 6c 61 74 69 76 65 28 22 62 6f 74 74 tProp.FindPropertyRelative("bott
9e00 6f 6d 52 69 67 68 74 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 omRight");..................}...
9e20 20 20 20 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.............
9e40 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 6f 62 6a 20 .....{......................obj.
9e60 3d 20 6e 65 77 20 53 65 72 69 61 6c 69 7a 65 64 4f 62 6a 65 63 74 28 6d 5f 46 6f 6e 74 43 6f 6c =.new.SerializedObject(m_FontCol
9e80 6f 72 47 72 61 64 69 65 6e 74 50 72 65 73 65 74 50 72 6f 70 2e 6f 62 6a 65 63 74 52 65 66 65 72 orGradientPresetProp.objectRefer
9ea0 65 6e 63 65 56 61 6c 75 65 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 enceValue);.....................
9ec0 20 63 6f 6c 6f 72 4d 6f 64 65 20 3d 20 6f 62 6a 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 28 22 63 .colorMode.=.obj.FindProperty("c
9ee0 6f 6c 6f 72 4d 6f 64 65 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 olorMode");.....................
9f00 20 74 6f 70 4c 65 66 74 20 3d 20 6f 62 6a 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 28 22 74 6f 70 .topLeft.=.obj.FindProperty("top
9f20 4c 65 66 74 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 6f 70 Left");......................top
9f40 52 69 67 68 74 20 3d 20 6f 62 6a 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 28 22 74 6f 70 52 69 67 Right.=.obj.FindProperty("topRig
9f60 68 74 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 6f 74 74 6f ht");......................botto
9f80 6d 4c 65 66 74 20 3d 20 6f 62 6a 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 28 22 62 6f 74 74 6f 6d mLeft.=.obj.FindProperty("bottom
9fa0 4c 65 66 74 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 6f 74 Left");......................bot
9fc0 74 6f 6d 52 69 67 68 74 20 3d 20 6f 62 6a 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 28 22 62 6f 74 tomRight.=.obj.FindProperty("bot
9fe0 74 6f 6d 52 69 67 68 74 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a tomRight");..................}..
a000 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 4c 61 79 6f 75 ..................EditorGUILayou
a020 74 2e 50 72 6f 70 65 72 74 79 46 69 65 6c 64 28 63 6f 6c 6f 72 4d 6f 64 65 2c 20 6b 5f 43 6f 6c t.PropertyField(colorMode,.k_Col
a040 6f 72 4d 6f 64 65 4c 61 62 65 6c 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 orModeLabel);...................
a060 20 76 61 72 20 72 65 63 74 20 3d 20 45 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e 47 65 74 43 .var.rect.=.EditorGUILayout.GetC
a080 6f 6e 74 72 6f 6c 52 65 63 74 28 74 72 75 65 2c 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 ontrolRect(true,.EditorGUIUtilit
a0a0 79 2e 73 69 6e 67 6c 65 4c 69 6e 65 48 65 69 67 68 74 20 2a 20 28 45 64 69 74 6f 72 47 55 49 55 y.singleLineHeight.*.(EditorGUIU
a0c0 74 69 6c 69 74 79 2e 77 69 64 65 4d 6f 64 65 20 3f 20 31 20 3a 20 32 29 29 3b 0d 0a 0d 0a 20 20 tility.wideMode.?.1.:.2));......
a0e0 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 65 66 69 78 4c 61 ..............EditorGUI.PrefixLa
a100 62 65 6c 28 72 65 63 74 2c 20 6b 5f 43 6f 72 65 6e 65 72 43 6f 6c 6f 72 73 4c 61 62 65 6c 29 3b bel(rect,.k_CorenerColorsLabel);
a120 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 78 20 2b 3d 20 45 64 ....................rect.x.+=.Ed
a140 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 6c 61 62 65 6c 57 69 64 74 68 3b 0d 0a 20 20 20 20 itorGUIUtility.labelWidth;......
a160 20 20 20 20 20 20 20 20 20 20 20 20 72 65 63 74 2e 77 69 64 74 68 20 3d 20 72 65 63 74 2e 77 69 ............rect.width.=.rect.wi
a180 64 74 68 20 2d 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 6c 61 62 65 6c 57 69 64 74 dth.-.EditorGUIUtility.labelWidt
a1a0 68 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 77 69 74 63 68 20 28 28 43 h;....................switch.((C
a1c0 6f 6c 6f 72 4d 6f 64 65 29 63 6f 6c 6f 72 4d 6f 64 65 2e 65 6e 75 6d 56 61 6c 75 65 49 6e 64 65 olorMode)colorMode.enumValueInde
a1e0 78 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 x)..................{...........
a200 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 43 6f 6c 6f 72 4d 6f 64 65 2e 53 69 6e 67 6c 65 ...........case.ColorMode.Single
a220 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 54 4d 50 5f 45 :..........................TMP_E
a240 64 69 74 6f 72 55 74 69 6c 69 74 79 2e 44 72 61 77 43 6f 6c 6f 72 50 72 6f 70 65 72 74 79 28 72 ditorUtility.DrawColorProperty(r
a260 65 63 74 2c 20 74 6f 70 4c 65 66 74 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ect,.topLeft);..................
a280 20 20 20 20 20 20 20 20 20 20 74 6f 70 52 69 67 68 74 2e 63 6f 6c 6f 72 56 61 6c 75 65 20 3d 20 ..........topRight.colorValue.=.
a2a0 74 6f 70 4c 65 66 74 2e 63 6f 6c 6f 72 56 61 6c 75 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 topLeft.colorValue;.............
a2c0 20 20 20 20 20 20 20 20 20 20 20 20 20 62 6f 74 74 6f 6d 4c 65 66 74 2e 63 6f 6c 6f 72 56 61 6c .............bottomLeft.colorVal
a2e0 75 65 20 3d 20 74 6f 70 4c 65 66 74 2e 63 6f 6c 6f 72 56 61 6c 75 65 3b 0d 0a 20 20 20 20 20 20 ue.=.topLeft.colorValue;........
a300 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 6f 74 74 6f 6d 52 69 67 68 74 2e 63 6f ..................bottomRight.co
a320 6c 6f 72 56 61 6c 75 65 20 3d 20 74 6f 70 4c 65 66 74 2e 63 6f 6c 6f 72 56 61 6c 75 65 3b 0d 0a lorValue.=.topLeft.colorValue;..
a340 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 3b 0d 0a ........................break;..
a360 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 43 6f 6c 6f 72 4d 6f ....................case.ColorMo
a380 64 65 2e 48 6f 72 69 7a 6f 6e 74 61 6c 47 72 61 64 69 65 6e 74 3a 0d 0a 20 20 20 20 20 20 20 20 de.HorizontalGradient:..........
a3a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 63 74 2e 77 69 64 74 68 20 2f 3d 20 32 66 ................rect.width./=.2f
a3c0 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 54 4d 50 ;............................TMP
a3e0 5f 45 64 69 74 6f 72 55 74 69 6c 69 74 79 2e 44 72 61 77 43 6f 6c 6f 72 50 72 6f 70 65 72 74 79 _EditorUtility.DrawColorProperty
a400 28 72 65 63 74 2c 20 74 6f 70 4c 65 66 74 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 (rect,.topLeft);................
a420 20 20 20 20 20 20 20 20 20 20 20 20 72 65 63 74 2e 78 20 2b 3d 20 72 65 63 74 2e 77 69 64 74 68 ............rect.x.+=.rect.width
a440 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a 20 20 20 20 20 20 20 ;...............................
a460 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 54 4d 50 5f 45 64 69 74 6f 72 55 74 69 6c 69 .................TMP_EditorUtili
a480 74 79 2e 44 72 61 77 43 6f 6c 6f 72 50 72 6f 70 65 72 74 79 28 72 65 63 74 2c 20 74 6f 70 52 69 ty.DrawColorProperty(rect,.topRi
a4a0 67 68 74 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0d ght);...........................
a4c0 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 6f 74 74 6f 6d 4c .........................bottomL
a4e0 65 66 74 2e 63 6f 6c 6f 72 56 61 6c 75 65 20 3d 20 74 6f 70 4c 65 66 74 2e 63 6f 6c 6f 72 56 61 eft.colorValue.=.topLeft.colorVa
a500 6c 75 65 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 6f lue;..........................bo
a520 74 74 6f 6d 52 69 67 68 74 2e 63 6f 6c 6f 72 56 61 6c 75 65 20 3d 20 74 6f 70 52 69 67 68 74 2e ttomRight.colorValue.=.topRight.
a540 63 6f 6c 6f 72 56 61 6c 75 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 colorValue;.....................
a560 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 20 20 20 20 20 20 .....break;.....................
a580 20 63 61 73 65 20 43 6f 6c 6f 72 4d 6f 64 65 2e 56 65 72 74 69 63 61 6c 47 72 61 64 69 65 6e 74 .case.ColorMode.VerticalGradient
a5a0 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 54 4d 50 5f 45 :..........................TMP_E
a5c0 64 69 74 6f 72 55 74 69 6c 69 74 79 2e 44 72 61 77 43 6f 6c 6f 72 50 72 6f 70 65 72 74 79 28 72 ditorUtility.DrawColorProperty(r
a5e0 65 63 74 2c 20 74 6f 70 4c 65 66 74 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ect,.topLeft);..................
a600 20 20 20 20 20 20 20 20 20 20 72 65 63 74 20 3d 20 45 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 ..........rect.=.EditorGUILayout
a620 2e 47 65 74 43 6f 6e 74 72 6f 6c 52 65 63 74 28 66 61 6c 73 65 2c 20 45 64 69 74 6f 72 47 55 49 .GetControlRect(false,.EditorGUI
a640 55 74 69 6c 69 74 79 2e 73 69 6e 67 6c 65 4c 69 6e 65 48 65 69 67 68 74 20 2a 20 28 45 64 69 74 Utility.singleLineHeight.*.(Edit
a660 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 77 69 64 65 4d 6f 64 65 20 3f 20 31 20 3a 20 32 29 29 3b orGUIUtility.wideMode.?.1.:.2));
a680 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 72 65 63 74 2e 78 ..........................rect.x
a6a0 20 2b 3d 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 6c 61 62 65 6c 57 69 64 74 68 3b .+=.EditorGUIUtility.labelWidth;
a6c0 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 ................................
a6e0 20 20 20 20 20 20 20 20 20 20 20 20 54 4d 50 5f 45 64 69 74 6f 72 55 74 69 6c 69 74 79 2e 44 72 ............TMP_EditorUtility.Dr
a700 61 77 43 6f 6c 6f 72 50 72 6f 70 65 72 74 79 28 72 65 63 74 2c 20 62 6f 74 74 6f 6d 4c 65 66 74 awColorProperty(rect,.bottomLeft
a720 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a 20 20 );..............................
a740 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 6f 70 52 69 67 68 74 2e 63 ......................topRight.c
a760 6f 6c 6f 72 56 61 6c 75 65 20 3d 20 74 6f 70 4c 65 66 74 2e 63 6f 6c 6f 72 56 61 6c 75 65 3b 0d olorValue.=.topLeft.colorValue;.
a780 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 6f 74 74 6f 6d 52 .........................bottomR
a7a0 69 67 68 74 2e 63 6f 6c 6f 72 56 61 6c 75 65 20 3d 20 62 6f 74 74 6f 6d 4c 65 66 74 2e 63 6f 6c ight.colorValue.=.bottomLeft.col
a7c0 6f 72 56 61 6c 75 65 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 orValue;........................
a7e0 20 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 ..break;......................ca
a800 73 65 20 43 6f 6c 6f 72 4d 6f 64 65 2e 46 6f 75 72 43 6f 72 6e 65 72 73 47 72 61 64 69 65 6e 74 se.ColorMode.FourCornersGradient
a820 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 72 65 63 74 2e :..........................rect.
a840 77 69 64 74 68 20 2f 3d 20 32 66 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 width./=.2f;....................
a860 20 20 20 20 20 20 20 20 54 4d 50 5f 45 64 69 74 6f 72 55 74 69 6c 69 74 79 2e 44 72 61 77 43 6f ........TMP_EditorUtility.DrawCo
a880 6c 6f 72 50 72 6f 70 65 72 74 79 28 72 65 63 74 2c 20 74 6f 70 4c 65 66 74 29 3b 0d 0a 0d 0a 20 lorProperty(rect,.topLeft);.....
a8a0 20 20 20 20 20 20 20 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 .......................rect.x.+=
a8c0 20 72 65 63 74 2e 77 69 64 74 68 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .rect.width;....................
a8e0 20 20 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 5f ............................TMP_
a900 45 64 69 74 6f 72 55 74 69 6c 69 74 79 2e 44 72 61 77 43 6f 6c 6f 72 50 72 6f 70 65 72 74 79 28 EditorUtility.DrawColorProperty(
a920 72 65 63 74 2c 20 74 6f 70 52 69 67 68 74 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 rect,.topRight);................
a940 20 20 20 20 20 20 20 20 20 20 20 20 72 65 63 74 20 3d 20 45 64 69 74 6f 72 47 55 49 4c 61 79 6f ............rect.=.EditorGUILayo
a960 75 74 2e 47 65 74 43 6f 6e 74 72 6f 6c 52 65 63 74 28 66 61 6c 73 65 2c 20 45 64 69 74 6f 72 47 ut.GetControlRect(false,.EditorG
a980 55 49 55 74 69 6c 69 74 79 2e 73 69 6e 67 6c 65 4c 69 6e 65 48 65 69 67 68 74 20 2a 20 28 45 64 UIUtility.singleLineHeight.*.(Ed
a9a0 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 77 69 64 65 4d 6f 64 65 20 3f 20 31 20 3a 20 32 29 itorGUIUtility.wideMode.?.1.:.2)
a9c0 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 63 74 );..........................rect
a9e0 2e 78 20 2b 3d 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 6c 61 62 65 6c 57 69 64 74 .x.+=.EditorGUIUtility.labelWidt
aa00 68 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 72 65 63 74 h;..........................rect
aa20 2e 77 69 64 74 68 20 3d 20 28 72 65 63 74 2e 77 69 64 74 68 20 2d 20 45 64 69 74 6f 72 47 55 49 .width.=.(rect.width.-.EditorGUI
aa40 55 74 69 6c 69 74 79 2e 6c 61 62 65 6c 57 69 64 74 68 29 20 2f 20 32 66 3b 0d 0a 20 20 20 20 20 Utility.labelWidth)./.2f;.......
aa60 20 20 20 20 20 20 20 20 20 20 20 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ................................
aa80 20 20 20 20 20 54 4d 50 5f 45 64 69 74 6f 72 55 74 69 6c 69 74 79 2e 44 72 61 77 43 6f 6c 6f 72 .....TMP_EditorUtility.DrawColor
aaa0 50 72 6f 70 65 72 74 79 28 72 65 63 74 2c 20 62 6f 74 74 6f 6d 4c 65 66 74 29 3b 0d 0a 0d 0a 20 Property(rect,.bottomLeft);.....
aac0 20 20 20 20 20 20 20 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 .......................rect.x.+=
aae0 20 72 65 63 74 2e 77 69 64 74 68 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .rect.width;....................
ab00 20 20 20 20 20 20 20 20 54 4d 50 5f 45 64 69 74 6f 72 55 74 69 6c 69 74 79 2e 44 72 61 77 43 6f ........TMP_EditorUtility.DrawCo
ab20 6c 6f 72 50 72 6f 70 65 72 74 79 28 72 65 63 74 2c 20 62 6f 74 74 6f 6d 52 69 67 68 74 29 3b 0d lorProperty(rect,.bottomRight);.
ab40 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 3b 0d .........................break;.
ab60 0a 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 .................}..............
ab80 20 20 20 20 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 45 64 69 74 6f 72 ......................if.(Editor
aba0 47 55 49 2e 45 6e 64 43 68 61 6e 67 65 43 68 65 63 6b 28 29 29 0d 0a 20 20 20 20 20 20 20 20 20 GUI.EndChangeCheck())...........
abc0 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 6d 5f .......{......................m_
abe0 48 61 76 65 50 72 6f 70 65 72 74 69 65 73 43 68 61 6e 67 65 64 20 3d 20 74 72 75 65 3b 0d 0a 20 HavePropertiesChanged.=.true;...
ac00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6f 62 6a 20 21 3d 20 6e 75 ...................if.(obj.!=.nu
ac20 6c 6c 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 ll)......................{......
ac40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 62 6a 2e 41 70 70 6c 79 4d 6f 64 ....................obj.ApplyMod
ac60 69 66 69 65 64 50 72 6f 70 65 72 74 69 65 73 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 ifiedProperties();..............
ac80 20 20 20 20 20 20 20 20 20 20 20 20 54 4d 50 72 6f 5f 45 76 65 6e 74 4d 61 6e 61 67 65 72 2e 4f ............TMPro_EventManager.O
aca0 4e 5f 43 4f 4c 4f 52 5f 47 52 41 49 44 45 4e 54 5f 50 52 4f 50 45 52 54 59 5f 43 48 41 4e 47 45 N_COLOR_GRAIDENT_PROPERTY_CHANGE
acc0 44 28 6d 5f 46 6f 6e 74 43 6f 6c 6f 72 47 72 61 64 69 65 6e 74 50 72 65 73 65 74 50 72 6f 70 2e D(m_FontColorGradientPresetProp.
ace0 6f 62 6a 65 63 74 52 65 66 65 72 65 6e 63 65 56 61 6c 75 65 20 61 73 20 54 4d 50 5f 43 6f 6c 6f objectReferenceValue.as.TMP_Colo
ad00 72 47 72 61 64 69 65 6e 74 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 rGradient);.....................
ad20 20 7d 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 .}..................}...........
ad40 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 2e 69 6e 64 65 6e 74 4c 65 76 65 6c 20 2d .........EditorGUI.indentLevel.-
ad60 3d 20 31 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 20 20 20 =.1;..............}.............
ad80 20 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e 50 ...............EditorGUILayout.P
ada0 72 6f 70 65 72 74 79 46 69 65 6c 64 28 6d 5f 4f 76 65 72 72 69 64 65 48 74 6d 6c 43 6f 6c 6f 72 ropertyField(m_OverrideHtmlColor
adc0 50 72 6f 70 2c 20 6b 5f 4f 76 65 72 72 69 64 65 54 61 67 73 4c 61 62 65 6c 29 3b 0d 0a 20 20 20 Prop,.k_OverrideTagsLabel);.....
ade0 20 20 20 20 20 20 20 20 20 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 .......................EditorGUI
ae00 4c 61 79 6f 75 74 2e 53 70 61 63 65 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 Layout.Space();..........}......
ae20 20 20 20 20 20 20 76 6f 69 64 20 44 72 61 77 53 70 61 63 69 6e 67 28 29 0d 0a 20 20 20 20 20 20 ......void.DrawSpacing()........
ae40 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 43 48 41 52 41 43 54 45 52 2c 20 4c ..{..............//.CHARACTER,.L
ae60 49 4e 45 20 26 20 50 41 52 41 47 52 41 50 48 20 53 50 41 43 49 4e 47 0d 0a 20 20 20 20 20 20 20 INE.&.PARAGRAPH.SPACING.........
ae80 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 2e 42 65 67 69 6e 43 68 61 6e 67 65 43 68 65 63 6b 28 .....EditorGUI.BeginChangeCheck(
aea0 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 52 65 );............................Re
aec0 63 74 20 72 65 63 74 20 3d 20 45 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e 47 65 74 43 6f 6e ct.rect.=.EditorGUILayout.GetCon
aee0 74 72 6f 6c 52 65 63 74 28 74 72 75 65 2c 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e trolRect(true,.EditorGUIUtility.
af00 73 69 6e 67 6c 65 4c 69 6e 65 48 65 69 67 68 74 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 singleLineHeight);..............
af20 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 2e 50 72 65 66 69 78 4c 61 ..............EditorGUI.PrefixLa
af40 62 65 6c 28 72 65 63 74 2c 20 6b 5f 53 70 61 63 69 6e 67 4f 70 74 69 6f 6e 73 4c 61 62 65 6c 29 bel(rect,.k_SpacingOptionsLabel)
af60 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 74 20 6f 6c 64 49 6e 64 65 6e 74 20 3d ;................int.oldIndent.=
af80 20 45 64 69 74 6f 72 47 55 49 2e 69 6e 64 65 6e 74 4c 65 76 65 6c 3b 0d 0a 20 20 20 20 20 20 20 .EditorGUI.indentLevel;.........
afa0 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 2e 69 6e 64 65 6e 74 4c 65 76 65 6c 20 3d 20 30 3b 0d .....EditorGUI.indentLevel.=.0;.
afc0 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 63 74 2e 78 20 2b 3d 20 45 64 69 74 6f 72 47 ...............rect.x.+=.EditorG
afe0 55 49 55 74 69 6c 69 74 79 2e 6c 61 62 65 6c 57 69 64 74 68 3b 0d 0a 20 20 20 20 20 20 20 20 20 UIUtility.labelWidth;...........
b000 20 20 20 72 65 63 74 2e 77 69 64 74 68 20 3d 20 28 72 65 63 74 2e 77 69 64 74 68 20 2d 20 45 64 ...rect.width.=.(rect.width.-.Ed
b020 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 6c 61 62 65 6c 57 69 64 74 68 20 2d 20 33 66 29 20 itorGUIUtility.labelWidth.-.3f).
b040 2f 20 32 66 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a 20 20 20 20 20 20 20 20 20 20 20 /.2f;...........................
b060 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 6c 61 62 65 6c 57 69 64 74 68 20 3d 20 4d .EditorGUIUtility.labelWidth.=.M
b080 61 74 68 66 2e 4d 69 6e 28 72 65 63 74 2e 77 69 64 74 68 20 2a 20 30 2e 35 35 66 2c 20 38 30 66 athf.Min(rect.width.*.0.55f,.80f
b0a0 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 45 64 );............................Ed
b0c0 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 6d 5f 43 68 itorGUI.PropertyField(rect,.m_Ch
b0e0 61 72 61 63 74 65 72 53 70 61 63 69 6e 67 50 72 6f 70 2c 20 6b 5f 43 68 61 72 61 63 74 65 72 53 aracterSpacingProp,.k_CharacterS
b100 70 61 63 69 6e 67 4c 61 62 65 6c 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 63 74 2e pacingLabel);..............rect.
b120 78 20 2b 3d 20 72 65 63 74 2e 77 69 64 74 68 20 2b 20 33 66 3b 0d 0a 20 20 20 20 20 20 20 20 20 x.+=.rect.width.+.3f;...........
b140 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,
b160 20 6d 5f 57 6f 72 64 53 70 61 63 69 6e 67 50 72 6f 70 2c 20 6b 5f 57 6f 72 64 53 70 61 63 69 6e .m_WordSpacingProp,.k_WordSpacin
b180 67 4c 61 62 65 6c 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 63 74 20 3d 20 45 gLabel);................rect.=.E
b1a0 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e 47 65 74 43 6f 6e 74 72 6f 6c 52 65 63 74 28 66 61 ditorGUILayout.GetControlRect(fa
b1c0 6c 73 65 2c 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 73 69 6e 67 6c 65 4c 69 6e 65 lse,.EditorGUIUtility.singleLine
b1e0 48 65 69 67 68 74 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 55 Height);..............EditorGUIU
b200 74 69 6c 69 74 79 2e 6c 61 62 65 6c 57 69 64 74 68 20 3d 20 30 3b 0d 0a 20 20 20 20 20 20 20 20 tility.labelWidth.=.0;..........
b220 20 20 20 20 72 65 63 74 2e 78 20 2b 3d 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 6c ....rect.x.+=.EditorGUIUtility.l
b240 61 62 65 6c 57 69 64 74 68 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 63 74 2e 77 69 64 abelWidth;..............rect.wid
b260 74 68 20 3d 20 28 72 65 63 74 2e 77 69 64 74 68 20 2d 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c th.=.(rect.width.-.EditorGUIUtil
b280 69 74 79 2e 6c 61 62 65 6c 57 69 64 74 68 20 2d 33 66 29 20 2f 20 32 66 3b 0d 0a 20 20 20 20 20 ity.labelWidth.-3f)./.2f;.......
b2a0 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 6c 61 62 65 6c 57 69 64 .......EditorGUIUtility.labelWid
b2c0 74 68 20 3d 20 4d 61 74 68 66 2e 4d 69 6e 28 72 65 63 74 2e 77 69 64 74 68 20 2a 20 30 2e 35 35 th.=.Mathf.Min(rect.width.*.0.55
b2e0 66 2c 20 38 30 66 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 f,.80f);................EditorGU
b300 49 2e 50 72 6f 70 65 72 74 79 46 69 65 6c 64 28 72 65 63 74 2c 20 6d 5f 4c 69 6e 65 53 70 61 63 I.PropertyField(rect,.m_LineSpac
b320 69 6e 67 50 72 6f 70 2c 20 6b 5f 4c 69 6e 65 53 70 61 63 69 6e 67 4c 61 62 65 6c 29 3b 0d 0a 20 ingProp,.k_LineSpacingLabel);...
b340 20 20 20 20 20 20 20 20 20 20 20 72 65 63 74 2e 78 20 2b 3d 20 72 65 63 74 2e 77 69 64 74 68 20 ...........rect.x.+=.rect.width.
b360 2b 20 33 66 3b 0d 0a 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 +.3f;..............EditorGUI.Pro
b380 70 65 72 74 79 46 69 65 6c 64 28 72 65 63 74 2c 20 6d 5f 50 61 72 61 67 72 61 70 68 53 70 61 63 pertyField(rect,.m_ParagraphSpac
b3a0 69 6e 67 50 72 6f 70 2c 20 6b 5f 50 61 72 61 67 72 61 70 68 53 70 61 63 69 6e 67 4c 61 62 65 6c ingProp,.k_ParagraphSpacingLabel
b3c0 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 );................EditorGUIUtili
b3e0 74 79 2e 6c 61 62 65 6c 57 69 64 74 68 20 3d 20 30 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 ty.labelWidth.=.0;..............
b400 45 64 69 74 6f 72 47 55 49 2e 69 6e 64 65 6e 74 4c 65 76 65 6c 20 3d 20 6f 6c 64 49 6e 64 65 6e EditorGUI.indentLevel.=.oldInden
b420 74 3b 0d 0a 0d 0a 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 t;................if.(EditorGUI.
b440 45 6e 64 43 68 61 6e 67 65 43 68 65 63 6b 28 29 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b EndChangeCheck())..............{
b460 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 48 61 76 65 50 72 6f 70 65 72 74 69 ..................m_HaveProperti
b480 65 73 43 68 61 6e 67 65 64 20 3d 20 74 72 75 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d esChanged.=.true;..............}
b4a0 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 72 61 77 ..........}............void.Draw
b4c0 41 6c 69 67 6e 6d 65 6e 74 28 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 Alignment()..........{..........
b4e0 20 20 20 20 2f 2f 20 54 45 58 54 20 41 4c 49 47 4e 4d 45 4e 54 0d 0a 20 20 20 20 20 20 20 20 20 ....//.TEXT.ALIGNMENT...........
b500 20 20 20 45 64 69 74 6f 72 47 55 49 2e 42 65 67 69 6e 43 68 61 6e 67 65 43 68 65 63 6b 28 29 3b ...EditorGUI.BeginChangeCheck();
b520 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e ................EditorGUILayout.
b540 50 72 6f 70 65 72 74 79 46 69 65 6c 64 28 6d 5f 54 65 78 74 41 6c 69 67 6e 6d 65 6e 74 50 72 6f PropertyField(m_TextAlignmentPro
b560 70 2c 20 6b 5f 41 6c 69 67 6e 6d 65 6e 74 4c 61 62 65 6c 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 p,.k_AlignmentLabel);...........
b580 20 20 20 20 20 2f 2f 20 57 52 41 50 50 49 4e 47 20 52 41 54 49 4f 53 20 73 68 6f 77 6e 20 69 66 .....//.WRAPPING.RATIOS.shown.if
b5a0 20 4a 75 73 74 69 66 69 65 64 20 6d 6f 64 65 20 69 73 20 73 65 6c 65 63 74 65 64 2e 0d 0a 20 20 .Justified.mode.is.selected.....
b5c0 20 20 20 20 20 20 20 20 20 20 69 66 20 28 28 28 5f 48 6f 72 69 7a 6f 6e 74 61 6c 41 6c 69 67 6e ..........if.(((_HorizontalAlign
b5e0 6d 65 6e 74 4f 70 74 69 6f 6e 73 29 6d 5f 54 65 78 74 41 6c 69 67 6e 6d 65 6e 74 50 72 6f 70 2e mentOptions)m_TextAlignmentProp.
b600 69 6e 74 56 61 6c 75 65 20 26 20 5f 48 6f 72 69 7a 6f 6e 74 61 6c 41 6c 69 67 6e 6d 65 6e 74 4f intValue.&._HorizontalAlignmentO
b620 70 74 69 6f 6e 73 2e 4a 75 73 74 69 66 69 65 64 29 20 3d 3d 20 5f 48 6f 72 69 7a 6f 6e 74 61 6c ptions.Justified).==._Horizontal
b640 41 6c 69 67 6e 6d 65 6e 74 4f 70 74 69 6f 6e 73 2e 4a 75 73 74 69 66 69 65 64 20 7c 7c 20 28 28 AlignmentOptions.Justified.||.((
b660 5f 48 6f 72 69 7a 6f 6e 74 61 6c 41 6c 69 67 6e 6d 65 6e 74 4f 70 74 69 6f 6e 73 29 6d 5f 54 65 _HorizontalAlignmentOptions)m_Te
b680 78 74 41 6c 69 67 6e 6d 65 6e 74 50 72 6f 70 2e 69 6e 74 56 61 6c 75 65 20 26 20 5f 48 6f 72 69 xtAlignmentProp.intValue.&._Hori
b6a0 7a 6f 6e 74 61 6c 41 6c 69 67 6e 6d 65 6e 74 4f 70 74 69 6f 6e 73 2e 46 6c 75 73 68 29 20 3d 3d zontalAlignmentOptions.Flush).==
b6c0 20 5f 48 6f 72 69 7a 6f 6e 74 61 6c 41 6c 69 67 6e 6d 65 6e 74 4f 70 74 69 6f 6e 73 2e 46 6c 75 ._HorizontalAlignmentOptions.Flu
b6e0 73 68 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 44 72 61 77 50 72 6f 70 65 72 74 sh)..................DrawPropert
b700 79 53 6c 69 64 65 72 28 6b 5f 57 72 61 70 4d 69 78 4c 61 62 65 6c 2c 20 6d 5f 57 6f 72 64 57 72 ySlider(k_WrapMixLabel,.m_WordWr
b720 61 70 70 69 6e 67 52 61 74 69 6f 73 50 72 6f 70 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 appingRatiosProp);..............
b740 20 20 69 66 20 28 45 64 69 74 6f 72 47 55 49 2e 45 6e 64 43 68 61 6e 67 65 43 68 65 63 6b 28 29 ..if.(EditorGUI.EndChangeCheck()
b760 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 48 61 76 65 50 72 6f 70 65 72 74 )..................m_HavePropert
b780 69 65 73 43 68 61 6e 67 65 64 20 3d 20 74 72 75 65 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 iesChanged.=.true;..............
b7a0 20 20 45 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e 53 70 61 63 65 28 29 3b 0d 0a 20 20 20 20 ..EditorGUILayout.Space();......
b7c0 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 76 6f 69 64 20 44 72 61 77 57 72 61 70 70 69 ....}............void.DrawWrappi
b7e0 6e 67 4f 76 65 72 66 6c 6f 77 28 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 ngOverflow()..........{.........
b800 20 20 20 20 20 2f 2f 20 54 45 58 54 20 57 52 41 50 50 49 4e 47 0d 0a 20 20 20 20 20 20 20 20 20 .....//.TEXT.WRAPPING...........
b820 20 20 20 45 64 69 74 6f 72 47 55 49 2e 42 65 67 69 6e 43 68 61 6e 67 65 43 68 65 63 6b 28 29 3b ...EditorGUI.BeginChangeCheck();
b840 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 74 20 77 72 61 70 53 65 6c 65 63 74 69 6f 6e 20 ..............int.wrapSelection.
b860 3d 20 45 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e 50 6f 70 75 70 28 6b 5f 57 72 61 70 70 69 =.EditorGUILayout.Popup(k_Wrappi
b880 6e 67 4c 61 62 65 6c 2c 20 6d 5f 45 6e 61 62 6c 65 57 6f 72 64 57 72 61 70 70 69 6e 67 50 72 6f ngLabel,.m_EnableWordWrappingPro
b8a0 70 2e 62 6f 6f 6c 56 61 6c 75 65 20 3f 20 31 20 3a 20 30 2c 20 6b 5f 57 72 61 70 70 69 6e 67 4f p.boolValue.?.1.:.0,.k_WrappingO
b8c0 70 74 69 6f 6e 73 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 45 64 69 74 6f 72 ptions);..............if.(Editor
b8e0 47 55 49 2e 45 6e 64 43 68 61 6e 67 65 43 68 65 63 6b 28 29 29 0d 0a 20 20 20 20 20 20 20 20 20 GUI.EndChangeCheck())...........
b900 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 45 6e 61 62 6c 65 57 6f ...{..................m_EnableWo
b920 72 64 57 72 61 70 70 69 6e 67 50 72 6f 70 2e 62 6f 6f 6c 56 61 6c 75 65 20 3d 20 77 72 61 70 53 rdWrappingProp.boolValue.=.wrapS
b940 65 6c 65 63 74 69 6f 6e 20 3d 3d 20 31 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 election.==.1;..................
b960 6d 5f 48 61 76 65 50 72 6f 70 65 72 74 69 65 73 43 68 61 6e 67 65 64 20 3d 20 74 72 75 65 3b 0d m_HavePropertiesChanged.=.true;.
b980 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 54 65 78 74 43 6f 6d 70 6f 6e 65 6e 74 .................m_TextComponent
b9a0 2e 6d 5f 69 73 49 6e 70 75 74 50 61 72 73 69 6e 67 52 65 71 75 69 72 65 64 20 3d 20 74 72 75 65 .m_isInputParsingRequired.=.true
b9c0 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 20 20 20 20 0d 0a ;..............}................
b9e0 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 54 45 58 54 20 4f 56 45 52 46 4c 4f 57 0d 0a 20 20 ............//.TEXT.OVERFLOW....
ba00 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 2e 42 65 67 69 6e 43 68 61 6e 67 65 43 ..........EditorGUI.BeginChangeC
ba20 68 65 63 6b 28 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 43 61 63 68 65 20 heck();................//.Cache.
ba40 52 65 66 65 72 65 6e 63 65 20 74 6f 20 4c 69 6e 6b 65 64 20 54 65 78 74 20 43 6f 6d 70 6f 6e 65 Reference.to.Linked.Text.Compone
ba60 6e 74 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 54 4d 50 5f 54 65 78 74 20 6f 6c 64 4c 69 6e 6b nt..............TMP_Text.oldLink
ba80 65 64 43 6f 6d 70 6f 6e 65 6e 74 20 3d 20 6d 5f 4c 69 6e 6b 65 64 54 65 78 74 43 6f 6d 70 6f 6e edComponent.=.m_LinkedTextCompon
baa0 65 6e 74 50 72 6f 70 2e 6f 62 6a 65 63 74 52 65 66 65 72 65 6e 63 65 56 61 6c 75 65 20 61 73 20 entProp.objectReferenceValue.as.
bac0 54 4d 50 5f 54 65 78 74 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 28 54 65 TMP_Text;................if.((Te
bae0 78 74 4f 76 65 72 66 6c 6f 77 4d 6f 64 65 73 29 6d 5f 54 65 78 74 4f 76 65 72 66 6c 6f 77 4d 6f xtOverflowModes)m_TextOverflowMo
bb00 64 65 50 72 6f 70 2e 65 6e 75 6d 56 61 6c 75 65 49 6e 64 65 78 20 3d 3d 20 54 65 78 74 4f 76 65 deProp.enumValueIndex.==.TextOve
bb20 72 66 6c 6f 77 4d 6f 64 65 73 2e 4c 69 6e 6b 65 64 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 rflowModes.Linked)..............
bb40 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 55 49 4c 61 79 6f {..................EditorGUILayo
bb60 75 74 2e 42 65 67 69 6e 48 6f 72 69 7a 6f 6e 74 61 6c 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 ut.BeginHorizontal();...........
bb80 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e 50 72 6f 70 65 72 74 79 46 .......EditorGUILayout.PropertyF
bba0 69 65 6c 64 28 6d 5f 54 65 78 74 4f 76 65 72 66 6c 6f 77 4d 6f 64 65 50 72 6f 70 2c 20 6b 5f 4f ield(m_TextOverflowModeProp,.k_O
bbc0 76 65 72 66 6c 6f 77 4c 61 62 65 6c 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 verflowLabel);..................
bbe0 20 20 45 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e 50 72 6f 70 65 72 74 79 46 69 65 6c 64 28 ..EditorGUILayout.PropertyField(
bc00 6d 5f 4c 69 6e 6b 65 64 54 65 78 74 43 6f 6d 70 6f 6e 65 6e 74 50 72 6f 70 2c 20 47 55 49 43 6f m_LinkedTextComponentProp,.GUICo
bc20 6e 74 65 6e 74 2e 6e 6f 6e 65 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a ntent.none);....................
bc40 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 4c 61 79 6f 75 74 2e ................EditorGUILayout.
bc60 45 6e 64 48 6f 72 69 7a 6f 6e 74 61 6c 28 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 EndHorizontal();................
bc80 20 20 20 20 69 66 20 28 47 55 49 2e 63 68 61 6e 67 65 64 29 0d 0a 20 20 20 20 20 20 20 20 20 20 ....if.(GUI.changed)............
bca0 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 54 4d 50 ......{......................TMP
bcc0 5f 54 65 78 74 20 6c 69 6e 6b 65 64 43 6f 6d 70 6f 6e 65 6e 74 20 3d 20 6d 5f 4c 69 6e 6b 65 64 _Text.linkedComponent.=.m_Linked
bce0 54 65 78 74 43 6f 6d 70 6f 6e 65 6e 74 50 72 6f 70 2e 6f 62 6a 65 63 74 52 65 66 65 72 65 6e 63 TextComponentProp.objectReferenc
bd00 65 56 61 6c 75 65 20 61 73 20 54 4d 50 5f 54 65 78 74 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 eValue.as.TMP_Text;.............
bd20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6c 69 6e 6b 65 64 43 6f 6d 70 6f 6e 65 6e 74 29 0d ...........if.(linkedComponent).
bd40 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 54 65 78 74 43 .........................m_TextC
bd60 6f 6d 70 6f 6e 65 6e 74 2e 6c 69 6e 6b 65 64 54 65 78 74 43 6f 6d 70 6f 6e 65 6e 74 20 3d 20 6c omponent.linkedTextComponent.=.l
bd80 69 6e 6b 65 64 43 6f 6d 70 6f 6e 65 6e 74 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 inkedComponent;.................
bda0 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 20 20 20 ...}..............}.............
bdc0 20 65 6c 73 65 20 69 66 20 28 28 54 65 78 74 4f 76 65 72 66 6c 6f 77 4d 6f 64 65 73 29 6d 5f 54 .else.if.((TextOverflowModes)m_T
bde0 65 78 74 4f 76 65 72 66 6c 6f 77 4d 6f 64 65 50 72 6f 70 2e 65 6e 75 6d 56 61 6c 75 65 49 6e 64 extOverflowModeProp.enumValueInd
be00 65 78 20 3d 3d 20 54 65 78 74 4f 76 65 72 66 6c 6f 77 4d 6f 64 65 73 2e 50 61 67 65 29 0d 0a 20 ex.==.TextOverflowModes.Page)...
be20 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 45 64 ...........{..................Ed
be40 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e 42 65 67 69 6e 48 6f 72 69 7a 6f 6e 74 61 6c 28 29 3b itorGUILayout.BeginHorizontal();
be60 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 4c 61 79 6f 75 ..................EditorGUILayou
be80 74 2e 50 72 6f 70 65 72 74 79 46 69 65 6c 64 28 6d 5f 54 65 78 74 4f 76 65 72 66 6c 6f 77 4d 6f t.PropertyField(m_TextOverflowMo
bea0 64 65 50 72 6f 70 2c 20 6b 5f 4f 76 65 72 66 6c 6f 77 4c 61 62 65 6c 29 3b 0d 0a 20 20 20 20 20 deProp,.k_OverflowLabel);.......
bec0 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e 50 72 6f 70 65 ...........EditorGUILayout.Prope
bee0 72 74 79 46 69 65 6c 64 28 6d 5f 50 61 67 65 54 6f 44 69 73 70 6c 61 79 50 72 6f 70 2c 20 47 55 rtyField(m_PageToDisplayProp,.GU
bf00 49 43 6f 6e 74 65 6e 74 2e 6e 6f 6e 65 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 IContent.none);.................
bf20 20 45 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e 45 6e 64 48 6f 72 69 7a 6f 6e 74 61 6c 28 29 .EditorGUILayout.EndHorizontal()
bf40 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 6f 6c 64 4c 69 6e 6b ;....................if.(oldLink
bf60 65 64 43 6f 6d 70 6f 6e 65 6e 74 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 edComponent)....................
bf80 20 20 6d 5f 54 65 78 74 43 6f 6d 70 6f 6e 65 6e 74 2e 6c 69 6e 6b 65 64 54 65 78 74 43 6f 6d 70 ..m_TextComponent.linkedTextComp
bfa0 6f 6e 65 6e 74 20 3d 20 6e 75 6c 6c 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 onent.=.null;..............}....
bfc0 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 20 7b 0d 0a 20 ..........else..............{...
bfe0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e 50 ...............EditorGUILayout.P
c000 72 6f 70 65 72 74 79 46 69 65 6c 64 28 6d 5f 54 65 78 74 4f 76 65 72 66 6c 6f 77 4d 6f 64 65 50 ropertyField(m_TextOverflowModeP
c020 72 6f 70 2c 20 6b 5f 4f 76 65 72 66 6c 6f 77 4c 61 62 65 6c 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 rop,.k_OverflowLabel);..........
c040 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6f 6c 64 4c 69 6e 6b 65 64 43 6f 6d 70 6f 6e 65 6e 74 ..........if.(oldLinkedComponent
c060 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 54 65 78 74 43 6f 6d )......................m_TextCom
c080 70 6f 6e 65 6e 74 2e 6c 69 6e 6b 65 64 54 65 78 74 43 6f 6d 70 6f 6e 65 6e 74 20 3d 20 6e 75 6c ponent.linkedTextComponent.=.nul
c0a0 6c 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 l;..............}...............
c0c0 20 69 66 20 28 45 64 69 74 6f 72 47 55 49 2e 45 6e 64 43 68 61 6e 67 65 43 68 65 63 6b 28 29 29 .if.(EditorGUI.EndChangeCheck())
c0e0 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ..............{.................
c100 20 6d 5f 48 61 76 65 50 72 6f 70 65 72 74 69 65 73 43 68 61 6e 67 65 64 20 3d 20 74 72 75 65 3b .m_HavePropertiesChanged.=.true;
c120 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 54 65 78 74 43 6f 6d 70 6f 6e 65 6e ..................m_TextComponen
c140 74 2e 6d 5f 69 73 49 6e 70 75 74 50 61 72 73 69 6e 67 52 65 71 75 69 72 65 64 20 3d 20 74 72 75 t.m_isInputParsingRequired.=.tru
c160 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 e;..............}...............
c180 20 45 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e 53 70 61 63 65 28 29 3b 0d 0a 20 20 20 20 20 .EditorGUILayout.Space();.......
c1a0 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 61 62 73 74 72 61 ...}............protected.abstra
c1c0 63 74 20 76 6f 69 64 20 44 72 61 77 45 78 74 72 61 53 65 74 74 69 6e 67 73 28 29 3b 0d 0a 0d 0a ct.void.DrawExtraSettings();....
c1e0 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 76 6f 69 64 20 44 72 61 77 4d 61 72 67 69 ........protected.void.DrawMargi
c200 6e 73 28 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 45 64 69 ns()..........{..............Edi
c220 74 6f 72 47 55 49 2e 42 65 67 69 6e 43 68 61 6e 67 65 43 68 65 63 6b 28 29 3b 0d 0a 20 20 20 20 torGUI.BeginChangeCheck();......
c240 20 20 20 20 20 20 20 20 44 72 61 77 4d 61 72 67 69 6e 50 72 6f 70 65 72 74 79 28 6d 5f 4d 61 72 ........DrawMarginProperty(m_Mar
c260 67 69 6e 50 72 6f 70 2c 20 6b 5f 4d 61 72 67 69 6e 73 4c 61 62 65 6c 29 3b 0d 0a 20 20 20 20 20 ginProp,.k_MarginsLabel);.......
c280 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 61 6e 67 65 43 68 .......if.(EditorGUI.EndChangeCh
c2a0 65 63 6b 28 29 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 eck())..............{...........
c2c0 20 20 20 20 20 20 20 6d 5f 48 61 76 65 50 72 6f 70 65 72 74 69 65 73 43 68 61 6e 67 65 64 20 3d .......m_HavePropertiesChanged.=
c2e0 20 74 72 75 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 .true;..............}...........
c300 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e 53 70 61 63 65 28 29 3b 0d 0a 20 .....EditorGUILayout.Space();...
c320 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 76 6f .......}............protected.vo
c340 69 64 20 44 72 61 77 47 65 6f 6d 65 74 72 79 53 6f 72 74 69 6e 67 28 29 0d 0a 20 20 20 20 20 20 id.DrawGeometrySorting()........
c360 20 20 7b 0d 0a 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 ..{..............EditorGUI.Begin
c380 43 68 61 6e 67 65 43 68 65 63 6b 28 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 45 64 ChangeCheck();................Ed
c3a0 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e 50 72 6f 70 65 72 74 79 46 69 65 6c 64 28 6d 5f 47 65 itorGUILayout.PropertyField(m_Ge
c3c0 6f 6d 65 74 72 79 53 6f 72 74 69 6e 67 4f 72 64 65 72 50 72 6f 70 2c 20 6b 5f 47 65 6f 6d 65 74 ometrySortingOrderProp,.k_Geomet
c3e0 72 79 53 6f 72 74 69 6e 67 4c 61 62 65 6c 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 rySortingLabel);................
c400 69 66 20 28 45 64 69 74 6f 72 47 55 49 2e 45 6e 64 43 68 61 6e 67 65 43 68 65 63 6b 28 29 29 0d if.(EditorGUI.EndChangeCheck()).
c420 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 48 61 76 65 50 72 6f 70 65 72 74 69 65 .................m_HavePropertie
c440 73 43 68 61 6e 67 65 64 20 3d 20 74 72 75 65 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 sChanged.=.true;................
c460 45 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e 53 70 61 63 65 28 29 3b 0d 0a 20 20 20 20 20 20 EditorGUILayout.Space();........
c480 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 76 6f 69 64 20 44 72 ..}............protected.void.Dr
c4a0 61 77 52 69 63 68 54 65 78 74 28 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 awRichText()..........{.........
c4c0 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 2e 42 65 67 69 6e 43 68 61 6e 67 65 43 68 65 63 6b 28 .....EditorGUI.BeginChangeCheck(
c4e0 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a 20 20 20 20 20 20 20 20 20 20 );..............................
c500 20 20 45 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e 50 72 6f 70 65 72 74 79 46 69 65 6c 64 28 ..EditorGUILayout.PropertyField(
c520 6d 5f 49 73 52 69 63 68 54 65 78 74 50 72 6f 70 2c 20 6b 5f 52 69 63 68 54 65 78 74 4c 61 62 65 m_IsRichTextProp,.k_RichTextLabe
c540 6c 29 3b 0d 0a 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 l);..............if.(EditorGUI.E
c560 6e 64 43 68 61 6e 67 65 43 68 65 63 6b 28 29 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ndChangeCheck())................
c580 20 20 6d 5f 48 61 76 65 50 72 6f 70 65 72 74 69 65 73 43 68 61 6e 67 65 64 20 3d 20 74 72 75 65 ..m_HavePropertiesChanged.=.true
c5a0 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 ;..........}............protecte
c5c0 64 20 76 6f 69 64 20 44 72 61 77 50 61 72 73 69 6e 67 28 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d d.void.DrawParsing()..........{.
c5e0 0a 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 .............EditorGUI.BeginChan
c600 67 65 43 68 65 63 6b 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 geCheck();..............EditorGU
c620 49 4c 61 79 6f 75 74 2e 50 72 6f 70 65 72 74 79 46 69 65 6c 64 28 6d 5f 45 6e 61 62 6c 65 45 73 ILayout.PropertyField(m_EnableEs
c640 63 61 70 65 43 68 61 72 61 63 74 65 72 50 61 72 73 69 6e 67 50 72 6f 70 2c 20 6b 5f 45 73 63 61 capeCharacterParsingProp,.k_Esca
c660 70 65 43 68 61 72 61 63 74 65 72 73 4c 61 62 65 6c 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 peCharactersLabel);.............
c680 20 45 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e 50 72 6f 70 65 72 74 79 46 69 65 6c 64 28 6d .EditorGUILayout.PropertyField(m
c6a0 5f 55 73 65 4d 61 78 56 69 73 69 62 6c 65 44 65 73 63 65 6e 64 65 72 50 72 6f 70 2c 20 6b 5f 56 _UseMaxVisibleDescenderProp,.k_V
c6c0 69 73 69 62 6c 65 44 65 73 63 65 6e 64 65 72 4c 61 62 65 6c 29 3b 0d 0a 20 20 20 20 20 20 20 20 isibleDescenderLabel);..........
c6e0 20 20 20 20 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 ..................EditorGUILayou
c700 74 2e 53 70 61 63 65 28 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 t.Space();................Editor
c720 47 55 49 4c 61 79 6f 75 74 2e 50 72 6f 70 65 72 74 79 46 69 65 6c 64 28 6d 5f 53 70 72 69 74 65 GUILayout.PropertyField(m_Sprite
c740 41 73 73 65 74 50 72 6f 70 2c 20 6b 5f 53 70 72 69 74 65 41 73 73 65 74 4c 61 62 65 6c 2c 20 74 AssetProp,.k_SpriteAssetLabel,.t
c760 72 75 65 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 45 64 69 74 6f 72 47 rue);................if.(EditorG
c780 55 49 2e 45 6e 64 43 68 61 6e 67 65 43 68 65 63 6b 28 29 29 0d 0a 20 20 20 20 20 20 20 20 20 20 UI.EndChangeCheck())............
c7a0 20 20 20 20 20 20 6d 5f 48 61 76 65 50 72 6f 70 65 72 74 69 65 73 43 68 61 6e 67 65 64 20 3d 20 ......m_HavePropertiesChanged.=.
c7c0 74 72 75 65 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 4c 61 true;................EditorGUILa
c7e0 79 6f 75 74 2e 53 70 61 63 65 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 yout.Space();..........}........
c800 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 76 6f 69 64 20 44 72 61 77 54 65 78 74 75 72 65 4d 61 ....protected.void.DrawTextureMa
c820 70 70 69 6e 67 28 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 pping()..........{..............
c840 2f 2f 20 54 45 58 54 55 52 45 20 4d 41 50 50 49 4e 47 20 4f 50 54 49 4f 4e 53 0d 0a 20 20 20 20 //.TEXTURE.MAPPING.OPTIONS......
c860 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 2e 42 65 67 69 6e 43 68 61 6e 67 65 43 68 65 ........EditorGUI.BeginChangeChe
c880 63 6b 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 4c 61 79 6f ck();..............EditorGUILayo
c8a0 75 74 2e 50 72 6f 70 65 72 74 79 46 69 65 6c 64 28 6d 5f 48 6f 72 69 7a 6f 6e 74 61 6c 4d 61 70 ut.PropertyField(m_HorizontalMap
c8c0 70 69 6e 67 50 72 6f 70 2c 20 6b 5f 48 6f 72 69 7a 6f 6e 74 61 6c 4d 61 70 70 69 6e 67 4c 61 62 pingProp,.k_HorizontalMappingLab
c8e0 65 6c 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 el);..............EditorGUILayou
c900 74 2e 50 72 6f 70 65 72 74 79 46 69 65 6c 64 28 6d 5f 56 65 72 74 69 63 61 6c 4d 61 70 70 69 6e t.PropertyField(m_VerticalMappin
c920 67 50 72 6f 70 2c 20 6b 5f 56 65 72 74 69 63 61 6c 4d 61 70 70 69 6e 67 4c 61 62 65 6c 29 3b 0d gProp,.k_VerticalMappingLabel);.
c940 0a 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
c960 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 7b 0d 0a 20 20 20 angeCheck())..............{.....
c980 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 48 61 76 65 50 72 6f 70 65 72 74 69 65 73 43 68 61 .............m_HavePropertiesCha
c9a0 6e 67 65 64 20 3d 20 74 72 75 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 nged.=.true;..............}.....
c9c0 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 55 56 20 4f 50 54 49 4f 4e 53 0d 0a 20 20 20 20 20 20 ...........//.UV.OPTIONS........
c9e0 20 20 20 20 20 20 69 66 20 28 6d 5f 48 6f 72 69 7a 6f 6e 74 61 6c 4d 61 70 70 69 6e 67 50 72 6f ......if.(m_HorizontalMappingPro
ca00 70 2e 65 6e 75 6d 56 61 6c 75 65 49 6e 64 65 78 20 3e 20 30 29 0d 0a 20 20 20 20 20 20 20 20 20 p.enumValueIndex.>.0)...........
ca20 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 55 49 2e ...{..................EditorGUI.
ca40 42 65 67 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 BeginChangeCheck();.............
ca60 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e 50 72 6f 70 65 72 74 79 46 69 65 .....EditorGUILayout.PropertyFie
ca80 6c 64 28 6d 5f 55 76 4c 69 6e 65 4f 66 66 73 65 74 50 72 6f 70 2c 20 6b 5f 4c 69 6e 65 4f 66 66 ld(m_UvLineOffsetProp,.k_LineOff
caa0 73 65 74 4c 61 62 65 6c 2c 20 47 55 49 4c 61 79 6f 75 74 2e 4d 69 6e 57 69 64 74 68 28 37 30 66 setLabel,.GUILayout.MinWidth(70f
cac0 29 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 45 64 69 74 6f 72 47 ));..................if.(EditorG
cae0 55 49 2e 45 6e 64 43 68 61 6e 67 65 43 68 65 63 6b 28 29 29 0d 0a 20 20 20 20 20 20 20 20 20 20 UI.EndChangeCheck())............
cb00 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 6d 5f 48 ......{......................m_H
cb20 61 76 65 50 72 6f 70 65 72 74 69 65 73 43 68 61 6e 67 65 64 20 3d 20 74 72 75 65 3b 0d 0a 20 20 avePropertiesChanged.=.true;....
cb40 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 7d 0d 0a ..............}..............}..
cb60 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e 53 70 ..............EditorGUILayout.Sp
cb80 61 63 65 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 72 6f ace();..........}............pro
cba0 74 65 63 74 65 64 20 76 6f 69 64 20 44 72 61 77 4b 65 72 6e 69 6e 67 28 29 0d 0a 20 20 20 20 20 tected.void.DrawKerning().......
cbc0 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 4b 45 52 4e 49 4e 47 0d 0a 20 20 ...{..............//.KERNING....
cbe0 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 2e 42 65 67 69 6e 43 68 61 6e 67 65 43 ..........EditorGUI.BeginChangeC
cc00 68 65 63 6b 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 4c 61 heck();..............EditorGUILa
cc20 79 6f 75 74 2e 50 72 6f 70 65 72 74 79 46 69 65 6c 64 28 6d 5f 45 6e 61 62 6c 65 4b 65 72 6e 69 yout.PropertyField(m_EnableKerni
cc40 6e 67 50 72 6f 70 2c 20 6b 5f 4b 65 72 6e 69 6e 67 4c 61 62 65 6c 29 3b 0d 0a 20 20 20 20 20 20 ngProp,.k_KerningLabel);........
cc60 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 61 6e 67 65 43 68 65 ......if.(EditorGUI.EndChangeChe
cc80 63 6b 28 29 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 ck())..............{............
cca0 20 20 20 20 20 20 6d 5f 48 61 76 65 50 72 6f 70 65 72 74 69 65 73 43 68 61 6e 67 65 64 20 3d 20 ......m_HavePropertiesChanged.=.
ccc0 74 72 75 65 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 true;..............}..........}.
cce0 0a 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 76 6f 69 64 20 44 72 61 77 50 61 ...........protected.void.DrawPa
cd00 64 64 69 6e 67 28 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 dding()..........{..............
cd20 2f 2f 20 45 58 54 52 41 20 50 41 44 44 49 4e 47 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 45 64 //.EXTRA.PADDING..............Ed
cd40 69 74 6f 72 47 55 49 2e 42 65 67 69 6e 43 68 61 6e 67 65 43 68 65 63 6b 28 29 3b 0d 0a 20 20 20 itorGUI.BeginChangeCheck();.....
cd60 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e 50 72 6f 70 65 72 74 .........EditorGUILayout.Propert
cd80 79 46 69 65 6c 64 28 6d 5f 45 6e 61 62 6c 65 45 78 74 72 61 50 61 64 64 69 6e 67 50 72 6f 70 2c yField(m_EnableExtraPaddingProp,
cda0 20 6b 5f 50 61 64 64 69 6e 67 4c 61 62 65 6c 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 .k_PaddingLabel);..............i
cdc0 66 20 28 45 64 69 74 6f 72 47 55 49 2e 45 6e 64 43 68 61 6e 67 65 43 68 65 63 6b 28 29 29 0d 0a f.(EditorGUI.EndChangeCheck())..
cde0 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 6d ............{..................m
ce00 5f 48 61 76 65 50 72 6f 70 65 72 74 69 65 73 43 68 61 6e 67 65 64 20 3d 20 74 72 75 65 3b 0d 0a _HavePropertiesChanged.=.true;..
ce20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 43 68 65 63 6b 50 61 64 64 69 6e 67 52 65 ................m_CheckPaddingRe
ce40 71 75 69 72 65 64 50 72 6f 70 2e 62 6f 6f 6c 56 61 6c 75 65 20 3d 20 74 72 75 65 3b 0d 0a 20 20 quiredProp.boolValue.=.true;....
ce60 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 ..........}..........}..........
ce80 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 4d 65 74 ..///.<summary>..........///.Met
cea0 68 6f 64 20 74 6f 20 72 65 74 72 69 65 76 65 20 74 68 65 20 6d 61 74 65 72 69 61 6c 20 70 72 65 hod.to.retrieve.the.material.pre
cec0 73 65 74 73 20 74 68 61 74 20 6d 61 74 63 68 20 74 68 65 20 63 75 72 72 65 6e 74 6c 79 20 73 65 sets.that.match.the.currently.se
cee0 6c 65 63 74 65 64 20 66 6f 6e 74 20 61 73 73 65 74 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 lected.font.asset...........///.
cf00 3c 2f 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 47 55 </summary>..........protected.GU
cf20 49 43 6f 6e 74 65 6e 74 5b 5d 20 47 65 74 4d 61 74 65 72 69 61 6c 50 72 65 73 65 74 73 28 29 0d IContent[].GetMaterialPresets().
cf40 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 54 4d 50 5f 46 6f 6e 74 .........{..............TMP_Font
cf60 41 73 73 65 74 20 66 6f 6e 74 41 73 73 65 74 20 3d 20 6d 5f 46 6f 6e 74 41 73 73 65 74 50 72 6f Asset.fontAsset.=.m_FontAssetPro
cf80 70 2e 6f 62 6a 65 63 74 52 65 66 65 72 65 6e 63 65 56 61 6c 75 65 20 61 73 20 54 4d 50 5f 46 6f p.objectReferenceValue.as.TMP_Fo
cfa0 6e 74 41 73 73 65 74 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 66 6f 6e 74 41 73 ntAsset;..............if.(fontAs
cfc0 73 65 74 20 3d 3d 20 6e 75 6c 6c 29 20 72 65 74 75 72 6e 20 6e 75 6c 6c 3b 0d 0a 0d 0a 20 20 20 set.==.null).return.null;.......
cfe0 20 20 20 20 20 20 20 20 20 6d 5f 4d 61 74 65 72 69 61 6c 50 72 65 73 65 74 73 20 3d 20 54 4d 50 .........m_MaterialPresets.=.TMP
d000 5f 45 64 69 74 6f 72 55 74 69 6c 69 74 79 2e 46 69 6e 64 4d 61 74 65 72 69 61 6c 52 65 66 65 72 _EditorUtility.FindMaterialRefer
d020 65 6e 63 65 73 28 66 6f 6e 74 41 73 73 65 74 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d ences(fontAsset);..............m
d040 5f 4d 61 74 65 72 69 61 6c 50 72 65 73 65 74 4e 61 6d 65 73 20 3d 20 6e 65 77 20 47 55 49 43 6f _MaterialPresetNames.=.new.GUICo
d060 6e 74 65 6e 74 5b 6d 5f 4d 61 74 65 72 69 61 6c 50 72 65 73 65 74 73 2e 4c 65 6e 67 74 68 5d 3b ntent[m_MaterialPresets.Length];
d080 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 69 6e 74 20 69 20 3d 20 30 3b 20 ................for.(int.i.=.0;.
d0a0 69 20 3c 20 6d 5f 4d 61 74 65 72 69 61 6c 50 72 65 73 65 74 4e 61 6d 65 73 2e 4c 65 6e 67 74 68 i.<.m_MaterialPresetNames.Length
d0c0 3b 20 69 2b 2b 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 ;.i++)..............{...........
d0e0 20 20 20 20 20 20 20 6d 5f 4d 61 74 65 72 69 61 6c 50 72 65 73 65 74 4e 61 6d 65 73 5b 69 5d 20 .......m_MaterialPresetNames[i].
d100 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 6d 5f 4d 61 74 65 72 69 61 6c 50 72 65 73 65 =.new.GUIContent(m_MaterialPrese
d120 74 73 5b 69 5d 2e 6e 61 6d 65 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ts[i].name);....................
d140 69 66 20 28 6d 5f 54 61 72 67 65 74 4d 61 74 65 72 69 61 6c 2e 47 65 74 49 6e 73 74 61 6e 63 65 if.(m_TargetMaterial.GetInstance
d160 49 44 28 29 20 3d 3d 20 6d 5f 4d 61 74 65 72 69 61 6c 50 72 65 73 65 74 73 5b 69 5d 2e 47 65 74 ID().==.m_MaterialPresets[i].Get
d180 49 6e 73 74 61 6e 63 65 49 44 28 29 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 InstanceID())...................
d1a0 20 20 20 6d 5f 4d 61 74 65 72 69 61 6c 50 72 65 73 65 74 53 65 6c 65 63 74 69 6f 6e 49 6e 64 65 ...m_MaterialPresetSelectionInde
d1c0 78 20 3d 20 69 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 x.=.i;..............}...........
d1e0 20 20 20 20 20 6d 5f 49 73 50 72 65 73 65 74 4c 69 73 74 44 69 72 74 79 20 3d 20 66 61 6c 73 65 .....m_IsPresetListDirty.=.false
d200 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 6d 5f 4d 61 74 65 72 69 ;................return.m_Materi
d220 61 6c 50 72 65 73 65 74 4e 61 6d 65 73 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 alPresetNames;..........}.......
d240 20 20 20 20 20 2f 2f 20 44 52 41 57 20 4d 41 52 47 49 4e 20 50 52 4f 50 45 52 54 59 0d 0a 20 20 .....//.DRAW.MARGIN.PROPERTY....
d260 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 76 6f 69 64 20 44 72 61 77 4d 61 72 67 69 6e 50 ......protected.void.DrawMarginP
d280 72 6f 70 65 72 74 79 28 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 20 70 72 6f 70 65 roperty(SerializedProperty.prope
d2a0 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)..........
d2c0 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 52 65 63 74 20 72 65 63 74 20 3d 20 45 64 69 74 6f {..............Rect.rect.=.Edito
d2e0 72 47 55 49 4c 61 79 6f 75 74 2e 47 65 74 43 6f 6e 74 72 6f 6c 52 65 63 74 28 66 61 6c 73 65 2c rGUILayout.GetControlRect(false,
d300 20 32 20 2a 20 31 38 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 .2.*.18);................EditorG
d320 55 49 2e 42 65 67 69 6e 50 72 6f 70 65 72 74 79 28 72 65 63 74 2c 20 6c 61 62 65 6c 2c 20 70 72 UI.BeginProperty(rect,.label,.pr
d340 6f 70 65 72 74 79 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 52 65 63 74 20 70 6f 73 operty);................Rect.pos
d360 30 20 3d 20 6e 65 77 20 52 65 63 74 28 72 65 63 74 2e 78 20 2b 20 31 35 2c 20 72 65 63 74 2e 79 0.=.new.Rect(rect.x.+.15,.rect.y
d380 20 2b 20 32 2c 20 72 65 63 74 2e 77 69 64 74 68 20 2d 20 31 35 2c 20 31 38 29 3b 0d 0a 0d 0a 20 .+.2,.rect.width.-.15,.18);.....
d3a0 20 20 20 20 20 20 20 20 20 20 20 66 6c 6f 61 74 20 77 69 64 74 68 20 3d 20 72 65 63 74 2e 77 69 ...........float.width.=.rect.wi
d3c0 64 74 68 20 2b 20 33 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 6f 73 30 2e 77 69 64 74 68 dth.+.3;..............pos0.width
d3e0 20 3d 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 6c 61 62 65 6c 57 69 64 74 68 3b 0d .=.EditorGUIUtility.labelWidth;.
d400 0a 20 20 20 20 20 20 20 20 20 20 20 20 47 55 49 2e 4c 61 62 65 6c 28 70 6f 73 30 2c 20 6c 61 62 .............GUI.Label(pos0,.lab
d420 65 6c 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 76 65 63 20 3d 20 70 72 el);................var.vec.=.pr
d440 6f 70 65 72 74 79 2e 76 65 63 74 6f 72 34 56 61 6c 75 65 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 operty.vector4Value;............
d460 20 20 20 20 66 6c 6f 61 74 20 77 69 64 74 68 42 20 3d 20 77 69 64 74 68 20 2d 20 45 64 69 74 6f ....float.widthB.=.width.-.Edito
d480 72 47 55 49 55 74 69 6c 69 74 79 2e 6c 61 62 65 6c 57 69 64 74 68 3b 0d 0a 20 20 20 20 20 20 20 rGUIUtility.labelWidth;.........
d4a0 20 20 20 20 20 66 6c 6f 61 74 20 66 69 65 6c 64 57 69 64 74 68 20 3d 20 77 69 64 74 68 42 20 2f .....float.fieldWidth.=.widthB./
d4c0 20 34 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 6f 73 30 2e 77 69 64 74 68 20 3d 20 4d 61 .4;..............pos0.width.=.Ma
d4e0 74 68 66 2e 4d 61 78 28 66 69 65 6c 64 57 69 64 74 68 20 2d 20 35 2c 20 34 35 66 29 3b 0d 0a 0d thf.Max(fieldWidth.-.5,.45f);...
d500 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 4c 61 62 65 6c 73 0d 0a 20 20 20 20 20 20 20 20 .............//.Labels..........
d520 20 20 20 20 70 6f 73 30 2e 78 20 3d 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 6c 61 ....pos0.x.=.EditorGUIUtility.la
d540 62 65 6c 57 69 64 74 68 20 2b 20 31 35 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 47 55 49 2e belWidth.+.15;..............GUI.
d560 4c 61 62 65 6c 28 70 6f 73 30 2c 20 6b 5f 4c 65 66 74 4c 61 62 65 6c 29 3b 0d 0a 0d 0a 20 20 20 Label(pos0,.k_LeftLabel);.......
d580 20 20 20 20 20 20 20 20 20 70 6f 73 30 2e 78 20 2b 3d 20 66 69 65 6c 64 57 69 64 74 68 3b 0d 0a .........pos0.x.+=.fieldWidth;..
d5a0 20 20 20 20 20 20 20 20 20 20 20 20 47 55 49 2e 4c 61 62 65 6c 28 70 6f 73 30 2c 20 6b 5f 54 6f ............GUI.Label(pos0,.k_To
d5c0 70 4c 61 62 65 6c 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 6f 73 30 2e 78 20 2b pLabel);................pos0.x.+
d5e0 3d 20 66 69 65 6c 64 57 69 64 74 68 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 47 55 49 2e 4c =.fieldWidth;..............GUI.L
d600 61 62 65 6c 28 70 6f 73 30 2c 20 6b 5f 52 69 67 68 74 4c 61 62 65 6c 29 3b 0d 0a 0d 0a 20 20 20 abel(pos0,.k_RightLabel);.......
d620 20 20 20 20 20 20 20 20 20 70 6f 73 30 2e 78 20 2b 3d 20 66 69 65 6c 64 57 69 64 74 68 3b 0d 0a .........pos0.x.+=.fieldWidth;..
d640 20 20 20 20 20 20 20 20 20 20 20 20 47 55 49 2e 4c 61 62 65 6c 28 70 6f 73 30 2c 20 6b 5f 42 6f ............GUI.Label(pos0,.k_Bo
d660 74 74 6f 6d 4c 61 62 65 6c 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 6f 73 30 2e ttomLabel);................pos0.
d680 79 20 2b 3d 20 31 38 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 6f 73 30 2e 78 20 3d y.+=.18;................pos0.x.=
d6a0 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 6c 61 62 65 6c 57 69 64 74 68 3b 0d 0a 20 .EditorGUIUtility.labelWidth;...
d6c0 20 20 20 20 20 20 20 20 20 20 20 76 65 63 2e 78 20 3d 20 45 64 69 74 6f 72 47 55 49 2e 46 6c 6f ...........vec.x.=.EditorGUI.Flo
d6e0 61 74 46 69 65 6c 64 28 70 6f 73 30 2c 20 47 55 49 43 6f 6e 74 65 6e 74 2e 6e 6f 6e 65 2c 20 76 atField(pos0,.GUIContent.none,.v
d700 65 63 2e 78 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 6f 73 30 2e 78 20 2b 3d 20 ec.x);................pos0.x.+=.
d720 66 69 65 6c 64 57 69 64 74 68 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 65 63 2e 79 20 3d fieldWidth;..............vec.y.=
d740 20 45 64 69 74 6f 72 47 55 49 2e 46 6c 6f 61 74 46 69 65 6c 64 28 70 6f 73 30 2c 20 47 55 49 43 .EditorGUI.FloatField(pos0,.GUIC
d760 6f 6e 74 65 6e 74 2e 6e 6f 6e 65 2c 20 76 65 63 2e 79 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 ontent.none,.vec.y);............
d780 20 20 20 20 70 6f 73 30 2e 78 20 2b 3d 20 66 69 65 6c 64 57 69 64 74 68 3b 0d 0a 20 20 20 20 20 ....pos0.x.+=.fieldWidth;.......
d7a0 20 20 20 20 20 20 20 76 65 63 2e 7a 20 3d 20 45 64 69 74 6f 72 47 55 49 2e 46 6c 6f 61 74 46 69 .......vec.z.=.EditorGUI.FloatFi
d7c0 65 6c 64 28 70 6f 73 30 2c 20 47 55 49 43 6f 6e 74 65 6e 74 2e 6e 6f 6e 65 2c 20 76 65 63 2e 7a eld(pos0,.GUIContent.none,.vec.z
d7e0 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 6f 73 30 2e 78 20 2b 3d 20 66 69 65 6c );................pos0.x.+=.fiel
d800 64 57 69 64 74 68 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 65 63 2e 77 20 3d 20 45 64 69 dWidth;..............vec.w.=.Edi
d820 74 6f 72 47 55 49 2e 46 6c 6f 61 74 46 69 65 6c 64 28 70 6f 73 30 2c 20 47 55 49 43 6f 6e 74 65 torGUI.FloatField(pos0,.GUIConte
d840 6e 74 2e 6e 6f 6e 65 2c 20 76 65 63 2e 77 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 nt.none,.vec.w);................
d860 70 72 6f 70 65 72 74 79 2e 76 65 63 74 6f 72 34 56 61 6c 75 65 20 3d 20 76 65 63 3b 0d 0a 0d 0a property.vector4Value.=.vec;....
d880 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 2e 45 6e 64 50 72 6f 70 65 72 74 ............EditorGUI.EndPropert
d8a0 79 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 y();..........}............prote
d8c0 63 74 65 64 20 76 6f 69 64 20 44 72 61 77 50 72 6f 70 65 72 74 79 53 6c 69 64 65 72 28 47 55 49 cted.void.DrawPropertySlider(GUI
d8e0 43 6f 6e 74 65 6e 74 20 6c 61 62 65 6c 2c 20 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 Content.label,.SerializedPropert
d900 79 20 70 72 6f 70 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 y.property)..........{..........
d920 20 20 20 20 52 65 63 74 20 72 65 63 74 20 3d 20 45 64 69 74 6f 72 47 55 49 4c 61 79 6f 75 74 2e ....Rect.rect.=.EditorGUILayout.
d940 47 65 74 43 6f 6e 74 72 6f 6c 52 65 63 74 28 66 61 6c 73 65 2c 20 31 37 29 3b 0d 0a 0d 0a 20 20 GetControlRect(false,.17);......
d960 20 20 20 20 20 20 20 20 20 20 47 55 49 43 6f 6e 74 65 6e 74 20 63 6f 6e 74 65 6e 74 20 3d 20 6c ..........GUIContent.content.=.l
d980 61 62 65 6c 20 3f 3f 20 47 55 49 43 6f 6e 74 65 6e 74 2e 6e 6f 6e 65 3b 0d 0a 20 20 20 20 20 20 abel.??.GUIContent.none;........
d9a0 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 2e 53 6c 69 64 65 72 28 6e 65 77 20 52 65 63 74 28 ......EditorGUI.Slider(new.Rect(
d9c0 72 65 63 74 2e 78 2c 20 72 65 63 74 2e 79 2c 20 72 65 63 74 2e 77 69 64 74 68 2c 20 72 65 63 74 rect.x,.rect.y,.rect.width,.rect
d9e0 2e 68 65 69 67 68 74 29 2c 20 70 72 6f 70 65 72 74 79 2c 20 30 2e 30 66 2c 20 31 2e 30 66 2c 20 .height),.property,.0.0f,.1.0f,.
da00 63 6f 6e 74 65 6e 74 29 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 content);..........}............
da20 70 72 6f 74 65 63 74 65 64 20 61 62 73 74 72 61 63 74 20 62 6f 6f 6c 20 49 73 4d 69 78 53 65 6c protected.abstract.bool.IsMixSel
da40 65 63 74 69 6f 6e 54 79 70 65 73 28 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 2f 2f 20 53 70 65 ectionTypes();............//.Spe
da60 63 69 61 6c 20 48 61 6e 64 6c 69 6e 67 20 6f 66 20 55 6e 64 6f 20 2f 20 52 65 64 6f 20 45 76 65 cial.Handling.of.Undo./.Redo.Eve
da80 6e 74 73 2e 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 61 62 73 74 72 61 63 74 nts...........protected.abstract
daa0 20 76 6f 69 64 20 4f 6e 55 6e 64 6f 52 65 64 6f 28 29 3b 0d 0a 0d 0a 20 20 20 20 7d 0d 0a 7d 00 .void.OnUndoRedo();........}..}.
dac0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 13 00 00 00 54 4d 50 5f 42 61 73 65 ........................TMP_Base
dae0 45 64 69 74 6f 72 50 61 6e 65 6c 00 15 00 00 00 54 4d 50 72 6f 2e 45 64 69 74 6f 72 55 74 69 6c EditorPanel.....TMPro.EditorUtil
db00 69 74 69 65 73 00 00 00 ities...