| ofs | hex dump | ascii |
|---|
| 0000 | 00 00 0f 81 00 00 6d 7c 00 00 00 15 00 00 10 00 00 00 00 00 32 30 31 39 2e 33 2e 36 66 31 00 fe | ......m|............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 | 1c 5d 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 0e 00 00 00 46 6f 6e 74 44 61 74 61 44 72 61 77 65 72 00 00 9e 5c 00 00 | ............FontDataDrawer...\.. |
| 10a0 | 75 73 69 6e 67 20 55 6e 69 74 79 45 6e 67 69 6e 65 3b 0a 75 73 69 6e 67 20 55 6e 69 74 79 45 6e | using.UnityEngine;.using.UnityEn |
| 10c0 | 67 69 6e 65 2e 55 49 3b 0a 0a 6e 61 6d 65 73 70 61 63 65 20 55 6e 69 74 79 45 64 69 74 6f 72 2e | gine.UI;..namespace.UnityEditor. |
| 10e0 | 55 49 0a 7b 0a 20 20 20 20 5b 43 75 73 74 6f 6d 50 72 6f 70 65 72 74 79 44 72 61 77 65 72 28 74 | UI.{.....[CustomPropertyDrawer(t |
| 1100 | 79 70 65 6f 66 28 46 6f 6e 74 44 61 74 61 29 2c 20 74 72 75 65 29 5d 0a 20 20 20 20 2f 2f 2f 20 | ypeof(FontData),.true)].....///. |
| 1120 | 3c 73 75 6d 6d 61 72 79 3e 0a 20 20 20 20 2f 2f 2f 20 54 68 69 73 20 69 73 20 61 20 50 72 6f 70 | <summary>.....///.This.is.a.Prop |
| 1140 | 65 72 74 79 44 72 61 77 65 72 20 66 6f 72 20 46 6f 6e 74 44 61 74 61 2e 20 49 74 20 69 73 20 69 | ertyDrawer.for.FontData..It.is.i |
| 1160 | 6d 70 6c 65 6d 65 6e 74 65 64 20 75 73 69 6e 67 20 74 68 65 20 73 74 61 6e 64 61 72 64 20 55 6e | mplemented.using.the.standard.Un |
| 1180 | 69 74 79 20 50 72 6f 70 65 72 74 79 44 72 61 77 65 72 20 66 72 61 6d 65 77 6f 72 6b 0a 20 20 20 | ity.PropertyDrawer.framework.... |
| 11a0 | 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0a 20 20 20 20 70 75 62 6c 69 63 20 63 6c 61 73 73 | .///.</summary>.....public.class |
| 11c0 | 20 46 6f 6e 74 44 61 74 61 44 72 61 77 65 72 20 3a 20 50 72 6f 70 65 72 74 79 44 72 61 77 65 72 | .FontDataDrawer.:.PropertyDrawer |
| 11e0 | 0a 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 73 74 61 74 69 63 20 70 72 69 76 61 74 65 20 63 6c | .....{.........static.private.cl |
| 1200 | 61 73 73 20 53 74 79 6c 65 73 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 | ass.Styles.........{............ |
| 1220 | 20 70 75 62 6c 69 63 20 73 74 61 74 69 63 20 47 55 49 53 74 79 6c 65 20 61 6c 69 67 6e 6d 65 6e | .public.static.GUIStyle.alignmen |
| 1240 | 74 42 75 74 74 6f 6e 4c 65 66 74 20 3d 20 6e 65 77 20 47 55 49 53 74 79 6c 65 28 45 64 69 74 6f | tButtonLeft.=.new.GUIStyle(Edito |
| 1260 | 72 53 74 79 6c 65 73 2e 6d 69 6e 69 42 75 74 74 6f 6e 4c 65 66 74 29 3b 0a 20 20 20 20 20 20 20 | rStyles.miniButtonLeft);........ |
| 1280 | 20 20 20 20 20 70 75 62 6c 69 63 20 73 74 61 74 69 63 20 47 55 49 53 74 79 6c 65 20 61 6c 69 67 | .....public.static.GUIStyle.alig |
| 12a0 | 6e 6d 65 6e 74 42 75 74 74 6f 6e 4d 69 64 20 3d 20 6e 65 77 20 47 55 49 53 74 79 6c 65 28 45 64 | nmentButtonMid.=.new.GUIStyle(Ed |
| 12c0 | 69 74 6f 72 53 74 79 6c 65 73 2e 6d 69 6e 69 42 75 74 74 6f 6e 4d 69 64 29 3b 0a 20 20 20 20 20 | itorStyles.miniButtonMid);...... |
| 12e0 | 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 73 74 61 74 69 63 20 47 55 49 53 74 79 6c 65 20 61 6c | .......public.static.GUIStyle.al |
| 1300 | 69 67 6e 6d 65 6e 74 42 75 74 74 6f 6e 52 69 67 68 74 20 3d 20 6e 65 77 20 47 55 49 53 74 79 6c | ignmentButtonRight.=.new.GUIStyl |
| 1320 | 65 28 45 64 69 74 6f 72 53 74 79 6c 65 73 2e 6d 69 6e 69 42 75 74 74 6f 6e 52 69 67 68 74 29 3b | e(EditorStyles.miniButtonRight); |
| 1340 | 0a 0a 20 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 47 55 49 43 | ..............public.static.GUIC |
| 1360 | 6f 6e 74 65 6e 74 20 6d 5f 45 6e 63 6f 64 69 6e 67 43 6f 6e 74 65 6e 74 3b 0a 0a 20 20 20 20 20 | ontent.m_EncodingContent;....... |
| 1380 | 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 73 74 61 74 69 63 20 47 55 49 43 6f 6e 74 65 6e 74 20 | .......public.static.GUIContent. |
| 13a0 | 6d 5f 4c 65 66 74 41 6c 69 67 6e 54 65 78 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 75 62 | m_LeftAlignText;.............pub |
| 13c0 | 6c 69 63 20 73 74 61 74 69 63 20 47 55 49 43 6f 6e 74 65 6e 74 20 6d 5f 43 65 6e 74 65 72 41 6c | lic.static.GUIContent.m_CenterAl |
| 13e0 | 69 67 6e 54 65 78 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 73 74 61 74 | ignText;.............public.stat |
| 1400 | 69 63 20 47 55 49 43 6f 6e 74 65 6e 74 20 6d 5f 52 69 67 68 74 41 6c 69 67 6e 54 65 78 74 3b 0a | ic.GUIContent.m_RightAlignText;. |
| 1420 | 20 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 47 55 49 43 6f 6e | ............public.static.GUICon |
| 1440 | 74 65 6e 74 20 6d 5f 54 6f 70 41 6c 69 67 6e 54 65 78 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 | tent.m_TopAlignText;............ |
| 1460 | 20 70 75 62 6c 69 63 20 73 74 61 74 69 63 20 47 55 49 43 6f 6e 74 65 6e 74 20 6d 5f 4d 69 64 64 | .public.static.GUIContent.m_Midd |
| 1480 | 6c 65 41 6c 69 67 6e 54 65 78 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 | leAlignText;.............public. |
| 14a0 | 73 74 61 74 69 63 20 47 55 49 43 6f 6e 74 65 6e 74 20 6d 5f 42 6f 74 74 6f 6d 41 6c 69 67 6e 54 | static.GUIContent.m_BottomAlignT |
| 14c0 | 65 78 74 3b 0a 0a 20 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 | ext;..............public.static. |
| 14e0 | 47 55 49 43 6f 6e 74 65 6e 74 20 6d 5f 4c 65 66 74 41 6c 69 67 6e 54 65 78 74 41 63 74 69 76 65 | GUIContent.m_LeftAlignTextActive |
| 1500 | 3b 0a 20 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 47 55 49 43 | ;.............public.static.GUIC |
| 1520 | 6f 6e 74 65 6e 74 20 6d 5f 43 65 6e 74 65 72 41 6c 69 67 6e 54 65 78 74 41 63 74 69 76 65 3b 0a | ontent.m_CenterAlignTextActive;. |
| 1540 | 20 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 47 55 49 43 6f 6e | ............public.static.GUICon |
| 1560 | 74 65 6e 74 20 6d 5f 52 69 67 68 74 41 6c 69 67 6e 54 65 78 74 41 63 74 69 76 65 3b 0a 20 20 20 | tent.m_RightAlignTextActive;.... |
| 1580 | 20 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 73 74 61 74 69 63 20 47 55 49 43 6f 6e 74 65 6e | .........public.static.GUIConten |
| 15a0 | 74 20 6d 5f 54 6f 70 41 6c 69 67 6e 54 65 78 74 41 63 74 69 76 65 3b 0a 20 20 20 20 20 20 20 20 | t.m_TopAlignTextActive;......... |
| 15c0 | 20 20 20 20 70 75 62 6c 69 63 20 73 74 61 74 69 63 20 47 55 49 43 6f 6e 74 65 6e 74 20 6d 5f 4d | ....public.static.GUIContent.m_M |
| 15e0 | 69 64 64 6c 65 41 6c 69 67 6e 54 65 78 74 41 63 74 69 76 65 3b 0a 20 20 20 20 20 20 20 20 20 20 | iddleAlignTextActive;........... |
| 1600 | 20 20 70 75 62 6c 69 63 20 73 74 61 74 69 63 20 47 55 49 43 6f 6e 74 65 6e 74 20 6d 5f 42 6f 74 | ..public.static.GUIContent.m_Bot |
| 1620 | 74 6f 6d 41 6c 69 67 6e 54 65 78 74 41 63 74 69 76 65 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 | tomAlignTextActive;............. |
| 1640 | 20 73 74 61 74 69 63 20 53 74 79 6c 65 73 28 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 | .static.Styles().............{.. |
| 1660 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 45 6e 63 6f 64 69 6e 67 43 6f 6e 74 65 6e 74 | ...............m_EncodingContent |
| 1680 | 20 3d 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 54 72 54 65 78 74 43 6f 6e 74 65 6e | .=.EditorGUIUtility.TrTextConten |
| 16a0 | 74 28 22 52 69 63 68 20 54 65 78 74 22 2c 20 22 55 73 65 20 65 6d 6f 74 69 63 6f 6e 73 20 61 6e | t("Rich.Text",."Use.emoticons.an |
| 16c0 | 64 20 63 6f 6c 6f 72 73 22 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 | d.colors");..................//. |
| 16e0 | 48 6f 72 69 7a 6f 6e 74 61 6c 20 41 6c 69 67 6e 6d 65 6e 74 20 49 63 6f 6e 73 0a 20 20 20 20 20 | Horizontal.Alignment.Icons...... |
| 1700 | 20 20 20 20 20 20 20 20 20 20 20 6d 5f 4c 65 66 74 41 6c 69 67 6e 54 65 78 74 20 3d 20 45 64 69 | ...........m_LeftAlignText.=.Edi |
| 1720 | 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 49 63 6f 6e 43 6f 6e 74 65 6e 74 28 40 22 47 55 49 53 | torGUIUtility.IconContent(@"GUIS |
| 1740 | 79 73 74 65 6d 2f 61 6c 69 67 6e 5f 68 6f 72 69 7a 6f 6e 74 61 6c 6c 79 5f 6c 65 66 74 22 2c 20 | ystem/align_horizontally_left",. |
| 1760 | 22 4c 65 66 74 20 41 6c 69 67 6e 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d | "Left.Align");.................m |
| 1780 | 5f 43 65 6e 74 65 72 41 6c 69 67 6e 54 65 78 74 20 3d 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c | _CenterAlignText.=.EditorGUIUtil |
| 17a0 | 69 74 79 2e 49 63 6f 6e 43 6f 6e 74 65 6e 74 28 40 22 47 55 49 53 79 73 74 65 6d 2f 61 6c 69 67 | ity.IconContent(@"GUISystem/alig |
| 17c0 | 6e 5f 68 6f 72 69 7a 6f 6e 74 61 6c 6c 79 5f 63 65 6e 74 65 72 22 2c 20 22 43 65 6e 74 65 72 20 | n_horizontally_center",."Center. |
| 17e0 | 41 6c 69 67 6e 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 52 69 67 68 74 | Align");.................m_Right |
| 1800 | 41 6c 69 67 6e 54 65 78 74 20 3d 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 49 63 6f | AlignText.=.EditorGUIUtility.Ico |
| 1820 | 6e 43 6f 6e 74 65 6e 74 28 40 22 47 55 49 53 79 73 74 65 6d 2f 61 6c 69 67 6e 5f 68 6f 72 69 7a | nContent(@"GUISystem/align_horiz |
| 1840 | 6f 6e 74 61 6c 6c 79 5f 72 69 67 68 74 22 2c 20 22 52 69 67 68 74 20 41 6c 69 67 6e 22 29 3b 0a | ontally_right",."Right.Align");. |
| 1860 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 4c 65 66 74 41 6c 69 67 6e 54 65 78 74 41 | ................m_LeftAlignTextA |
| 1880 | 63 74 69 76 65 20 3d 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 49 63 6f 6e 43 6f 6e | ctive.=.EditorGUIUtility.IconCon |
| 18a0 | 74 65 6e 74 28 40 22 47 55 49 53 79 73 74 65 6d 2f 61 6c 69 67 6e 5f 68 6f 72 69 7a 6f 6e 74 61 | tent(@"GUISystem/align_horizonta |
| 18c0 | 6c 6c 79 5f 6c 65 66 74 5f 61 63 74 69 76 65 22 2c 20 22 4c 65 66 74 20 41 6c 69 67 6e 22 29 3b | lly_left_active",."Left.Align"); |
| 18e0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 43 65 6e 74 65 72 41 6c 69 67 6e 54 65 | .................m_CenterAlignTe |
| 1900 | 78 74 41 63 74 69 76 65 20 3d 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 49 63 6f 6e | xtActive.=.EditorGUIUtility.Icon |
| 1920 | 43 6f 6e 74 65 6e 74 28 40 22 47 55 49 53 79 73 74 65 6d 2f 61 6c 69 67 6e 5f 68 6f 72 69 7a 6f | Content(@"GUISystem/align_horizo |
| 1940 | 6e 74 61 6c 6c 79 5f 63 65 6e 74 65 72 5f 61 63 74 69 76 65 22 2c 20 22 43 65 6e 74 65 72 20 41 | ntally_center_active",."Center.A |
| 1960 | 6c 69 67 6e 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 52 69 67 68 74 41 | lign");.................m_RightA |
| 1980 | 6c 69 67 6e 54 65 78 74 41 63 74 69 76 65 20 3d 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 | lignTextActive.=.EditorGUIUtilit |
| 19a0 | 79 2e 49 63 6f 6e 43 6f 6e 74 65 6e 74 28 40 22 47 55 49 53 79 73 74 65 6d 2f 61 6c 69 67 6e 5f | y.IconContent(@"GUISystem/align_ |
| 19c0 | 68 6f 72 69 7a 6f 6e 74 61 6c 6c 79 5f 72 69 67 68 74 5f 61 63 74 69 76 65 22 2c 20 22 52 69 67 | horizontally_right_active",."Rig |
| 19e0 | 68 74 20 41 6c 69 67 6e 22 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 | ht.Align");..................//. |
| 1a00 | 56 65 72 74 69 63 61 6c 20 41 6c 69 67 6e 6d 65 6e 74 20 49 63 6f 6e 73 0a 20 20 20 20 20 20 20 | Vertical.Alignment.Icons........ |
| 1a20 | 20 20 20 20 20 20 20 20 20 6d 5f 54 6f 70 41 6c 69 67 6e 54 65 78 74 20 3d 20 45 64 69 74 6f 72 | .........m_TopAlignText.=.Editor |
| 1a40 | 47 55 49 55 74 69 6c 69 74 79 2e 49 63 6f 6e 43 6f 6e 74 65 6e 74 28 40 22 47 55 49 53 79 73 74 | GUIUtility.IconContent(@"GUISyst |
| 1a60 | 65 6d 2f 61 6c 69 67 6e 5f 76 65 72 74 69 63 61 6c 6c 79 5f 74 6f 70 22 2c 20 22 54 6f 70 20 41 | em/align_vertically_top",."Top.A |
| 1a80 | 6c 69 67 6e 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 4d 69 64 64 6c 65 | lign");.................m_Middle |
| 1aa0 | 41 6c 69 67 6e 54 65 78 74 20 3d 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 49 63 6f | AlignText.=.EditorGUIUtility.Ico |
| 1ac0 | 6e 43 6f 6e 74 65 6e 74 28 40 22 47 55 49 53 79 73 74 65 6d 2f 61 6c 69 67 6e 5f 76 65 72 74 69 | nContent(@"GUISystem/align_verti |
| 1ae0 | 63 61 6c 6c 79 5f 63 65 6e 74 65 72 22 2c 20 22 4d 69 64 64 6c 65 20 41 6c 69 67 6e 22 29 3b 0a | cally_center",."Middle.Align");. |
| 1b00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 42 6f 74 74 6f 6d 41 6c 69 67 6e 54 65 78 | ................m_BottomAlignTex |
| 1b20 | 74 20 3d 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 49 63 6f 6e 43 6f 6e 74 65 6e 74 | t.=.EditorGUIUtility.IconContent |
| 1b40 | 28 40 22 47 55 49 53 79 73 74 65 6d 2f 61 6c 69 67 6e 5f 76 65 72 74 69 63 61 6c 6c 79 5f 62 6f | (@"GUISystem/align_vertically_bo |
| 1b60 | 74 74 6f 6d 22 2c 20 22 42 6f 74 74 6f 6d 20 41 6c 69 67 6e 22 29 3b 0a 20 20 20 20 20 20 20 20 | ttom",."Bottom.Align");......... |
| 1b80 | 20 20 20 20 20 20 20 20 6d 5f 54 6f 70 41 6c 69 67 6e 54 65 78 74 41 63 74 69 76 65 20 3d 20 45 | ........m_TopAlignTextActive.=.E |
| 1ba0 | 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 49 63 6f 6e 43 6f 6e 74 65 6e 74 28 40 22 47 55 | ditorGUIUtility.IconContent(@"GU |
| 1bc0 | 49 53 79 73 74 65 6d 2f 61 6c 69 67 6e 5f 76 65 72 74 69 63 61 6c 6c 79 5f 74 6f 70 5f 61 63 74 | ISystem/align_vertically_top_act |
| 1be0 | 69 76 65 22 2c 20 22 54 6f 70 20 41 6c 69 67 6e 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ive",."Top.Align");............. |
| 1c00 | 20 20 20 20 6d 5f 4d 69 64 64 6c 65 41 6c 69 67 6e 54 65 78 74 41 63 74 69 76 65 20 3d 20 45 64 | ....m_MiddleAlignTextActive.=.Ed |
| 1c20 | 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 49 63 6f 6e 43 6f 6e 74 65 6e 74 28 40 22 47 55 49 | itorGUIUtility.IconContent(@"GUI |
| 1c40 | 53 79 73 74 65 6d 2f 61 6c 69 67 6e 5f 76 65 72 74 69 63 61 6c 6c 79 5f 63 65 6e 74 65 72 5f 61 | System/align_vertically_center_a |
| 1c60 | 63 74 69 76 65 22 2c 20 22 4d 69 64 64 6c 65 20 41 6c 69 67 6e 22 29 3b 0a 20 20 20 20 20 20 20 | ctive",."Middle.Align");........ |
| 1c80 | 20 20 20 20 20 20 20 20 20 6d 5f 42 6f 74 74 6f 6d 41 6c 69 67 6e 54 65 78 74 41 63 74 69 76 65 | .........m_BottomAlignTextActive |
| 1ca0 | 20 3d 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 49 63 6f 6e 43 6f 6e 74 65 6e 74 28 | .=.EditorGUIUtility.IconContent( |
| 1cc0 | 40 22 47 55 49 53 79 73 74 65 6d 2f 61 6c 69 67 6e 5f 76 65 72 74 69 63 61 6c 6c 79 5f 62 6f 74 | @"GUISystem/align_vertically_bot |
| 1ce0 | 74 6f 6d 5f 61 63 74 69 76 65 22 2c 20 22 42 6f 74 74 6f 6d 20 41 6c 69 67 6e 22 29 3b 0a 0a 20 | tom_active",."Bottom.Align");... |
| 1d00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 46 69 78 41 6c 69 67 6e 6d 65 6e 74 42 75 74 74 6f | ...............FixAlignmentButto |
| 1d20 | 6e 53 74 79 6c 65 73 28 61 6c 69 67 6e 6d 65 6e 74 42 75 74 74 6f 6e 4c 65 66 74 2c 20 61 6c 69 | nStyles(alignmentButtonLeft,.ali |
| 1d40 | 67 6e 6d 65 6e 74 42 75 74 74 6f 6e 4d 69 64 2c 20 61 6c 69 67 6e 6d 65 6e 74 42 75 74 74 6f 6e | gnmentButtonMid,.alignmentButton |
| 1d60 | 52 69 67 68 74 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 | Right);.............}........... |
| 1d80 | 20 20 20 73 74 61 74 69 63 20 76 6f 69 64 20 46 69 78 41 6c 69 67 6e 6d 65 6e 74 42 75 74 74 6f | ...static.void.FixAlignmentButto |
| 1da0 | 6e 53 74 79 6c 65 73 28 70 61 72 61 6d 73 20 47 55 49 53 74 79 6c 65 5b 5d 20 73 74 79 6c 65 73 | nStyles(params.GUIStyle[].styles |
| 1dc0 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ).............{................. |
| 1de0 | 66 6f 72 65 61 63 68 20 28 47 55 49 53 74 79 6c 65 20 73 74 79 6c 65 20 69 6e 20 73 74 79 6c 65 | foreach.(GUIStyle.style.in.style |
| 1e00 | 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 | s).................{............ |
| 1e20 | 20 20 20 20 20 20 20 20 20 73 74 79 6c 65 2e 70 61 64 64 69 6e 67 2e 6c 65 66 74 20 3d 20 32 3b | .........style.padding.left.=.2; |
| 1e40 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 74 79 6c 65 2e 70 61 64 64 69 | .....................style.paddi |
| 1e60 | 6e 67 2e 72 69 67 68 74 20 3d 20 32 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a | ng.right.=.2;.................}. |
| 1e80 | 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 | ............}.........}......... |
| 1ea0 | 20 70 72 69 76 61 74 65 20 65 6e 75 6d 20 56 65 72 74 69 63 61 6c 54 65 78 74 41 6c 69 67 6d 65 | .private.enum.VerticalTextAligme |
| 1ec0 | 6e 74 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 54 6f 70 2c 0a 20 20 | nt.........{.............Top,... |
| 1ee0 | 20 20 20 20 20 20 20 20 20 20 4d 69 64 64 6c 65 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 42 6f | ..........Middle,.............Bo |
| 1f00 | 74 74 6f 6d 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 | ttom.........}..........private. |
| 1f20 | 65 6e 75 6d 20 48 6f 72 69 7a 6f 6e 74 61 6c 54 65 78 74 41 6c 69 67 6d 65 6e 74 0a 20 20 20 20 | enum.HorizontalTextAligment..... |
| 1f40 | 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 4c 65 66 74 2c 0a 20 20 20 20 20 20 20 20 | ....{.............Left,......... |
| 1f60 | 20 20 20 20 43 65 6e 74 65 72 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 52 69 67 68 74 0a 20 20 | ....Center,.............Right... |
| 1f80 | 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 63 6f 6e 73 74 20 69 | ......}..........private.const.i |
| 1fa0 | 6e 74 20 6b 41 6c 69 67 6e 6d 65 6e 74 42 75 74 74 6f 6e 57 69 64 74 68 20 3d 20 32 30 3b 0a 0a | nt.kAlignmentButtonWidth.=.20;.. |
| 1fc0 | 20 20 20 20 20 20 20 20 73 74 61 74 69 63 20 69 6e 74 20 73 5f 54 65 78 74 41 6c 69 67 6e 6d 65 | ........static.int.s_TextAlignme |
| 1fe0 | 6e 74 48 61 73 68 20 3d 20 22 44 6f 54 65 78 74 41 6c 69 67 6d 65 6e 74 43 6f 6e 74 72 6f 6c 22 | ntHash.=."DoTextAligmentControl" |
| 2000 | 2e 47 65 74 48 61 73 68 43 6f 64 65 28 29 3b 0a 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 | .GetHashCode();..........private |
| 2020 | 20 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 20 6d 5f 53 75 70 70 6f 72 74 45 6e 63 | .SerializedProperty.m_SupportEnc |
| 2040 | 6f 64 69 6e 67 3b 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 53 65 72 69 61 6c 69 7a 65 | oding;.........private.Serialize |
| 2060 | 64 50 72 6f 70 65 72 74 79 20 6d 5f 46 6f 6e 74 3b 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 | dProperty.m_Font;.........privat |
| 2080 | 65 20 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 3b | e.SerializedProperty.m_FontSize; |
| 20a0 | 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 | .........private.SerializedPrope |
| 20c0 | 72 74 79 20 6d 5f 4c 69 6e 65 53 70 61 63 69 6e 67 3b 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 | rty.m_LineSpacing;.........priva |
| 20e0 | 74 65 20 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 74 79 6c | te.SerializedProperty.m_FontStyl |
| 2100 | 65 3b 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 53 65 72 69 61 6c 69 7a 65 64 50 72 6f | e;.........private.SerializedPro |
| 2120 | 70 65 72 74 79 20 6d 5f 52 65 73 69 7a 65 54 65 78 74 46 6f 72 42 65 73 74 46 69 74 3b 0a 20 20 | perty.m_ResizeTextForBestFit;... |
| 2140 | 20 20 20 20 20 20 70 72 69 76 61 74 65 20 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 | ......private.SerializedProperty |
| 2160 | 20 6d 5f 52 65 73 69 7a 65 54 65 78 74 4d 69 6e 53 69 7a 65 3b 0a 20 20 20 20 20 20 20 20 70 72 | .m_ResizeTextMinSize;.........pr |
| 2180 | 69 76 61 74 65 20 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 20 6d 5f 52 65 73 69 7a | ivate.SerializedProperty.m_Resiz |
| 21a0 | 65 54 65 78 74 4d 61 78 53 69 7a 65 3b 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 53 65 | eTextMaxSize;.........private.Se |
| 21c0 | 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 74 61 6c 4f 76 65 | rializedProperty.m_HorizontalOve |
| 21e0 | 72 66 6c 6f 77 3b 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 53 65 72 69 61 6c 69 7a 65 | rflow;.........private.Serialize |
| 2200 | 64 50 72 6f 70 65 72 74 79 20 6d 5f 56 65 72 74 69 63 61 6c 4f 76 65 72 66 6c 6f 77 3b 0a 20 20 | dProperty.m_VerticalOverflow;... |
| 2220 | 20 20 20 20 20 20 70 72 69 76 61 74 65 20 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 | ......private.SerializedProperty |
| 2240 | 20 6d 5f 41 6c 69 67 6e 6d 65 6e 74 3b 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 53 65 | .m_Alignment;.........private.Se |
| 2260 | 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 20 6d 5f 41 6c 69 67 6e 42 79 47 65 6f 6d 65 74 | rializedProperty.m_AlignByGeomet |
| 2280 | 72 79 3b 0a 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 66 6c 6f 61 74 20 6d 5f 46 6f 6e | ry;..........private.float.m_Fon |
| 22a0 | 74 46 69 65 6c 64 66 48 65 69 67 68 74 20 3d 20 30 66 3b 0a 20 20 20 20 20 20 20 20 70 72 69 76 | tFieldfHeight.=.0f;.........priv |
| 22c0 | 61 74 65 20 66 6c 6f 61 74 20 6d 5f 46 6f 6e 74 53 74 79 6c 65 48 65 69 67 68 74 20 3d 20 30 66 | ate.float.m_FontStyleHeight.=.0f |
| 22e0 | 3b 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 66 6c 6f 61 74 20 6d 5f 46 6f 6e 74 53 69 | ;.........private.float.m_FontSi |
| 2300 | 7a 65 48 65 69 67 68 74 20 3d 20 30 66 3b 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 66 | zeHeight.=.0f;.........private.f |
| 2320 | 6c 6f 61 74 20 6d 5f 4c 69 6e 65 53 70 61 63 69 6e 67 48 65 69 67 68 74 20 3d 20 30 66 3b 0a 20 | loat.m_LineSpacingHeight.=.0f;.. |
| 2340 | 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 66 6c 6f 61 74 20 6d 5f 45 6e 63 6f 64 69 6e 67 48 | .......private.float.m_EncodingH |
| 2360 | 65 69 67 68 74 20 3d 20 30 66 3b 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 66 6c 6f 61 | eight.=.0f;.........private.floa |
| 2380 | 74 20 6d 5f 52 65 73 69 7a 65 54 65 78 74 46 6f 72 42 65 73 74 46 69 74 48 65 69 67 68 74 20 3d | t.m_ResizeTextForBestFitHeight.= |
| 23a0 | 20 30 66 3b 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 66 6c 6f 61 74 20 6d 5f 52 65 73 | .0f;.........private.float.m_Res |
| 23c0 | 69 7a 65 54 65 78 74 4d 69 6e 53 69 7a 65 48 65 69 67 68 74 20 3d 20 30 66 3b 0a 20 20 20 20 20 | izeTextMinSizeHeight.=.0f;...... |
| 23e0 | 20 20 20 70 72 69 76 61 74 65 20 66 6c 6f 61 74 20 6d 5f 52 65 73 69 7a 65 54 65 78 74 4d 61 78 | ...private.float.m_ResizeTextMax |
| 2400 | 53 69 7a 65 48 65 69 67 68 74 20 3d 20 30 66 3b 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 | SizeHeight.=.0f;.........private |
| 2420 | 20 66 6c 6f 61 74 20 6d 5f 48 6f 72 69 7a 6f 6e 74 61 6c 4f 76 65 72 66 6c 6f 77 48 65 69 67 68 | .float.m_HorizontalOverflowHeigh |
| 2440 | 74 20 3d 20 30 66 3b 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 66 6c 6f 61 74 20 6d 5f | t.=.0f;.........private.float.m_ |
| 2460 | 56 65 72 74 69 63 61 6c 4f 76 65 72 66 6c 6f 77 48 65 69 67 68 74 20 3d 20 30 66 3b 0a 20 20 20 | VerticalOverflowHeight.=.0f;.... |
| 2480 | 20 20 20 20 20 70 72 69 76 61 74 65 20 66 6c 6f 61 74 20 6d 5f 41 6c 69 67 6e 42 79 47 65 6f 6d | .....private.float.m_AlignByGeom |
| 24a0 | 65 74 72 79 48 65 69 67 68 74 20 3d 20 30 66 3b 0a 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 | etryHeight.=.0f;..........protec |
| 24c0 | 74 65 64 20 76 6f 69 64 20 49 6e 69 74 28 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 | ted.void.Init(SerializedProperty |
| 24e0 | 20 70 72 6f 70 65 72 74 79 29 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 | .property).........{............ |
| 2500 | 20 6d 5f 53 75 70 70 6f 72 74 45 6e 63 6f 64 69 6e 67 20 3d 20 70 72 6f 70 65 72 74 79 2e 46 69 | .m_SupportEncoding.=.property.Fi |
| 2520 | 6e 64 50 72 6f 70 65 72 74 79 52 65 6c 61 74 69 76 65 28 22 6d 5f 52 69 63 68 54 65 78 74 22 29 | ndPropertyRelative("m_RichText") |
| 2540 | 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 46 6f 6e 74 20 3d 20 70 72 6f 70 65 72 74 79 2e | ;.............m_Font.=.property. |
| 2560 | 46 69 6e 64 50 72 6f 70 65 72 74 79 52 65 6c 61 74 69 76 65 28 22 6d 5f 46 6f 6e 74 22 29 3b 0a | FindPropertyRelative("m_Font");. |
| 2580 | 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 46 6f 6e 74 53 69 7a 65 20 3d 20 70 72 6f 70 65 72 74 | ............m_FontSize.=.propert |
| 25a0 | 79 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 52 65 6c 61 74 69 76 65 28 22 6d 5f 46 6f 6e 74 53 69 | y.FindPropertyRelative("m_FontSi |
| 25c0 | 7a 65 22 29 3b 0a 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 20 | ze");.............m_LineSpacing. |
| 25e0 | 3d 20 70 72 6f 70 65 72 74 79 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 52 65 6c 61 74 69 76 65 28 | =.property.FindPropertyRelative( |
| 2600 | 22 6d 5f 4c 69 6e 65 53 70 61 63 69 6e 67 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f | "m_LineSpacing");.............m_ |
| 2620 | 46 6f 6e 74 53 74 79 6c 65 20 3d 20 70 72 6f 70 65 72 74 79 2e 46 69 6e 64 50 72 6f 70 65 72 74 | FontStyle.=.property.FindPropert |
| 2640 | 79 52 65 6c 61 74 69 76 65 28 22 6d 5f 46 6f 6e 74 53 74 79 6c 65 22 29 3b 0a 20 20 20 20 20 20 | yRelative("m_FontStyle");....... |
| 2660 | 20 20 20 20 20 20 6d 5f 52 65 73 69 7a 65 54 65 78 74 46 6f 72 42 65 73 74 46 69 74 20 3d 20 70 | ......m_ResizeTextForBestFit.=.p |
| 2680 | 72 6f 70 65 72 74 79 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 52 65 6c 61 74 69 76 65 28 22 6d 5f | roperty.FindPropertyRelative("m_ |
| 26a0 | 42 65 73 74 46 69 74 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 52 65 73 69 7a 65 54 | BestFit");.............m_ResizeT |
| 26c0 | 65 78 74 4d 69 6e 53 69 7a 65 20 3d 20 70 72 6f 70 65 72 74 79 2e 46 69 6e 64 50 72 6f 70 65 72 | extMinSize.=.property.FindProper |
| 26e0 | 74 79 52 65 6c 61 74 69 76 65 28 22 6d 5f 4d 69 6e 53 69 7a 65 22 29 3b 0a 20 20 20 20 20 20 20 | tyRelative("m_MinSize");........ |
| 2700 | 20 20 20 20 20 6d 5f 52 65 73 69 7a 65 54 65 78 74 4d 61 78 53 69 7a 65 20 3d 20 70 72 6f 70 65 | .....m_ResizeTextMaxSize.=.prope |
| 2720 | 72 74 79 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 52 65 6c 61 74 69 76 65 28 22 6d 5f 4d 61 78 53 | rty.FindPropertyRelative("m_MaxS |
| 2740 | 69 7a 65 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 48 6f 72 69 7a 6f 6e 74 61 6c 4f | ize");.............m_HorizontalO |
| 2760 | 76 65 72 66 6c 6f 77 20 3d 20 70 72 6f 70 65 72 74 79 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 52 | verflow.=.property.FindPropertyR |
| 2780 | 65 6c 61 74 69 76 65 28 22 6d 5f 48 6f 72 69 7a 6f 6e 74 61 6c 4f 76 65 72 66 6c 6f 77 22 29 3b | elative("m_HorizontalOverflow"); |
| 27a0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 56 65 72 74 69 63 61 6c 4f 76 65 72 66 6c 6f 77 20 | .............m_VerticalOverflow. |
| 27c0 | 3d 20 70 72 6f 70 65 72 74 79 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 52 65 6c 61 74 69 76 65 28 | =.property.FindPropertyRelative( |
| 27e0 | 22 6d 5f 56 65 72 74 69 63 61 6c 4f 76 65 72 66 6c 6f 77 22 29 3b 0a 20 20 20 20 20 20 20 20 20 | "m_VerticalOverflow");.......... |
| 2800 | 20 20 20 6d 5f 41 6c 69 67 6e 6d 65 6e 74 20 3d 20 70 72 6f 70 65 72 74 79 2e 46 69 6e 64 50 72 | ...m_Alignment.=.property.FindPr |
| 2820 | 6f 70 65 72 74 79 52 65 6c 61 74 69 76 65 28 22 6d 5f 41 6c 69 67 6e 6d 65 6e 74 22 29 3b 0a 20 | opertyRelative("m_Alignment");.. |
| 2840 | 20 20 20 20 20 20 20 20 20 20 20 6d 5f 41 6c 69 67 6e 42 79 47 65 6f 6d 65 74 72 79 20 3d 20 70 | ...........m_AlignByGeometry.=.p |
| 2860 | 72 6f 70 65 72 74 79 2e 46 69 6e 64 50 72 6f 70 65 72 74 79 52 65 6c 61 74 69 76 65 28 22 6d 5f | roperty.FindPropertyRelative("m_ |
| 2880 | 41 6c 69 67 6e 42 79 47 65 6f 6d 65 74 72 79 22 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 | AlignByGeometry");.........}.... |
| 28a0 | 20 20 20 20 20 20 70 75 62 6c 69 63 20 6f 76 65 72 72 69 64 65 20 66 6c 6f 61 74 20 47 65 74 50 | ......public.override.float.GetP |
| 28c0 | 72 6f 70 65 72 74 79 48 65 69 67 68 74 28 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 | ropertyHeight(SerializedProperty |
| 28e0 | 20 70 72 6f 70 65 72 74 79 2c 20 47 55 49 43 6f 6e 74 65 6e 74 20 6c 61 62 65 6c 29 0a 20 20 20 | .property,.GUIContent.label).... |
| 2900 | 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 49 6e 69 74 28 70 72 6f 70 65 72 74 79 | .....{.............Init(property |
| 2920 | 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 46 6f 6e 74 46 69 65 6c 64 66 48 65 69 67 68 | );.............m_FontFieldfHeigh |
| 2940 | 74 20 3d 20 45 64 69 74 6f 72 47 55 49 2e 47 65 74 50 72 6f 70 65 72 74 79 48 65 69 67 68 74 28 | t.=.EditorGUI.GetPropertyHeight( |
| 2960 | 6d 5f 46 6f 6e 74 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 46 6f 6e 74 53 74 79 6c 65 | m_Font);.............m_FontStyle |
| 2980 | 48 65 69 67 68 74 20 20 20 3d 20 45 64 69 74 6f 72 47 55 49 2e 47 65 74 50 72 6f 70 65 72 74 79 | Height...=.EditorGUI.GetProperty |
| 29a0 | 48 65 69 67 68 74 28 6d 5f 46 6f 6e 74 53 74 79 6c 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 | Height(m_FontStyle);............ |
| 29c0 | 20 6d 5f 46 6f 6e 74 53 69 7a 65 48 65 69 67 68 74 20 20 3d 20 45 64 69 74 6f 72 47 55 49 2e 47 | .m_FontSizeHeight..=.EditorGUI.G |
| 29e0 | 65 74 50 72 6f 70 65 72 74 79 48 65 69 67 68 74 28 6d 5f 46 6f 6e 74 53 69 7a 65 29 3b 0a 20 20 | etPropertyHeight(m_FontSize);... |
| 2a00 | 20 20 20 20 20 20 20 20 20 20 6d 5f 4c 69 6e 65 53 70 61 63 69 6e 67 48 65 69 67 68 74 20 20 3d | ..........m_LineSpacingHeight..= |
| 2a20 | 20 45 64 69 74 6f 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 4c | .EditorGUI.GetPropertyHeight(m_L |
| 2a40 | 69 6e 65 53 70 61 63 69 6e 67 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 45 6e 63 6f 64 | ineSpacing);.............m_Encod |
| 2a60 | 69 6e 67 48 65 69 67 68 74 20 20 20 3d 20 45 64 69 74 6f 72 47 55 49 2e 47 65 74 50 72 6f 70 65 | ingHeight...=.EditorGUI.GetPrope |
| 2a80 | 72 74 79 48 65 69 67 68 74 28 6d 5f 53 75 70 70 6f 72 74 45 6e 63 6f 64 69 6e 67 29 3b 0a 20 20 | rtyHeight(m_SupportEncoding);... |
| 2aa0 | 20 20 20 20 20 20 20 20 20 20 6d 5f 52 65 73 69 7a 65 54 65 78 74 46 6f 72 42 65 73 74 46 69 74 | ..........m_ResizeTextForBestFit |
| 2ac0 | 48 65 69 67 68 74 20 3d 20 45 64 69 74 6f 72 47 55 49 2e 47 65 74 50 72 6f 70 65 72 74 79 48 65 | Height.=.EditorGUI.GetPropertyHe |
| 2ae0 | 69 67 68 74 28 6d 5f 52 65 73 69 7a 65 54 65 78 74 46 6f 72 42 65 73 74 46 69 74 29 3b 0a 20 20 | ight(m_ResizeTextForBestFit);... |
| 2b00 | 20 20 20 20 20 20 20 20 20 20 6d 5f 52 65 73 69 7a 65 54 65 78 74 4d 69 6e 53 69 7a 65 48 65 69 | ..........m_ResizeTextMinSizeHei |
| 2b20 | 67 68 74 20 3d 20 45 64 69 74 6f 72 47 55 49 2e 47 65 74 50 72 6f 70 65 72 74 79 48 65 69 67 68 | ght.=.EditorGUI.GetPropertyHeigh |
| 2b40 | 74 28 6d 5f 52 65 73 69 7a 65 54 65 78 74 4d 69 6e 53 69 7a 65 29 3b 0a 20 20 20 20 20 20 20 20 | t(m_ResizeTextMinSize);......... |
| 2b60 | 20 20 20 20 6d 5f 52 65 73 69 7a 65 54 65 78 74 4d 61 78 53 69 7a 65 48 65 69 67 68 74 20 3d 20 | ....m_ResizeTextMaxSizeHeight.=. |
| 2b80 | 45 64 69 74 6f 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 52 65 | EditorGUI.GetPropertyHeight(m_Re |
| 2ba0 | 73 69 7a 65 54 65 78 74 4d 61 78 53 69 7a 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f | sizeTextMaxSize);.............m_ |
| 2bc0 | 48 6f 72 69 7a 6f 6e 74 61 6c 4f 76 65 72 66 6c 6f 77 48 65 69 67 68 74 20 3d 20 45 64 69 74 6f | HorizontalOverflowHeight.=.Edito |
| 2be0 | 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 48 6f 72 69 7a 6f 6e | rGUI.GetPropertyHeight(m_Horizon |
| 2c00 | 74 61 6c 4f 76 65 72 66 6c 6f 77 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 56 65 72 74 | talOverflow);.............m_Vert |
| 2c20 | 69 63 61 6c 4f 76 65 72 66 6c 6f 77 48 65 69 67 68 74 20 3d 20 45 64 69 74 6f 72 47 55 49 2e 47 | icalOverflowHeight.=.EditorGUI.G |
| 2c40 | 65 74 50 72 6f 70 65 72 74 79 48 65 69 67 68 74 28 6d 5f 56 65 72 74 69 63 61 6c 4f 76 65 72 66 | etPropertyHeight(m_VerticalOverf |
| 2c60 | 6c 6f 77 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 41 6c 69 67 6e 42 79 47 65 6f 6d 65 | low);.............m_AlignByGeome |
| 2c80 | 74 72 79 48 65 69 67 68 74 20 3d 20 45 64 69 74 6f 72 47 55 49 2e 47 65 74 50 72 6f 70 65 72 74 | tryHeight.=.EditorGUI.GetPropert |
| 2ca0 | 79 48 65 69 67 68 74 28 6d 5f 41 6c 69 67 6e 42 79 47 65 6f 6d 65 74 72 79 29 3b 0a 0a 20 20 20 | yHeight(m_AlignByGeometry);..... |
| 2cc0 | 20 20 20 20 20 20 20 20 20 76 61 72 20 68 65 69 67 68 74 20 3d 20 6d 5f 46 6f 6e 74 46 69 65 6c | .........var.height.=.m_FontFiel |
| 2ce0 | 64 66 48 65 69 67 68 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2b 20 6d 5f 46 6f 6e | dfHeight.................+.m_Fon |
| 2d00 | 74 53 74 79 6c 65 48 65 69 67 68 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2b 20 6d | tStyleHeight.................+.m |
| 2d20 | 5f 46 6f 6e 74 53 69 7a 65 48 65 69 67 68 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | _FontSizeHeight................. |
| 2d40 | 2b 20 6d 5f 4c 69 6e 65 53 70 61 63 69 6e 67 48 65 69 67 68 74 0a 20 20 20 20 20 20 20 20 20 20 | +.m_LineSpacingHeight........... |
| 2d60 | 20 20 20 20 20 20 2b 20 6d 5f 45 6e 63 6f 64 69 6e 67 48 65 69 67 68 74 0a 20 20 20 20 20 20 20 | ......+.m_EncodingHeight........ |
| 2d80 | 20 20 20 20 20 20 20 20 20 2b 20 6d 5f 52 65 73 69 7a 65 54 65 78 74 46 6f 72 42 65 73 74 46 69 | .........+.m_ResizeTextForBestFi |
| 2da0 | 74 48 65 69 67 68 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2b 20 6d 5f 48 6f 72 69 | tHeight.................+.m_Hori |
| 2dc0 | 7a 6f 6e 74 61 6c 4f 76 65 72 66 6c 6f 77 48 65 69 67 68 74 0a 20 20 20 20 20 20 20 20 20 20 20 | zontalOverflowHeight............ |
| 2de0 | 20 20 20 20 20 2b 20 6d 5f 56 65 72 74 69 63 61 6c 4f 76 65 72 66 6c 6f 77 48 65 69 67 68 74 0a | .....+.m_VerticalOverflowHeight. |
| 2e00 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2b 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 | ................+.EditorGUIUtili |
| 2e20 | 74 79 2e 73 69 6e 67 6c 65 4c 69 6e 65 48 65 69 67 68 74 20 2a 20 33 0a 20 20 20 20 20 20 20 20 | ty.singleLineHeight.*.3......... |
| 2e40 | 20 20 20 20 20 20 20 20 2b 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 73 74 61 6e 64 | ........+.EditorGUIUtility.stand |
| 2e60 | 61 72 64 56 65 72 74 69 63 61 6c 53 70 61 63 69 6e 67 20 2a 20 31 30 0a 20 20 20 20 20 20 20 20 | ardVerticalSpacing.*.10......... |
| 2e80 | 20 20 20 20 20 20 20 20 2b 20 6d 5f 41 6c 69 67 6e 42 79 47 65 6f 6d 65 74 72 79 48 65 69 67 68 | ........+.m_AlignByGeometryHeigh |
| 2ea0 | 74 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6d 5f 52 65 73 69 7a 65 54 65 78 74 | t;..............if.(m_ResizeText |
| 2ec0 | 46 6f 72 42 65 73 74 46 69 74 2e 62 6f 6f 6c 56 61 6c 75 65 29 0a 20 20 20 20 20 20 20 20 20 20 | ForBestFit.boolValue)........... |
| 2ee0 | 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 68 65 69 67 68 74 20 2b 3d 20 6d 5f | ..{.................height.+=.m_ |
| 2f00 | 52 65 73 69 7a 65 54 65 78 74 4d 69 6e 53 69 7a 65 48 65 69 67 68 74 0a 20 20 20 20 20 20 20 20 | ResizeTextMinSizeHeight......... |
| 2f20 | 20 20 20 20 20 20 20 20 20 20 20 20 2b 20 6d 5f 52 65 73 69 7a 65 54 65 78 74 4d 61 78 53 69 7a | ............+.m_ResizeTextMaxSiz |
| 2f40 | 65 48 65 69 67 68 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2b 20 45 64 | eHeight.....................+.Ed |
| 2f60 | 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 73 74 61 6e 64 61 72 64 56 65 72 74 69 63 61 6c 53 | itorGUIUtility.standardVerticalS |
| 2f80 | 70 61 63 69 6e 67 20 2a 20 32 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 | pacing.*.2;.............}....... |
| 2fa0 | 20 20 20 20 20 20 72 65 74 75 72 6e 20 68 65 69 67 68 74 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a | ......return.height;.........}.. |
| 2fc0 | 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 6f 76 65 72 72 69 64 65 20 76 6f 69 64 20 4f 6e 47 | ........public.override.void.OnG |
| 2fe0 | 55 49 28 52 65 63 74 20 70 6f 73 69 74 69 6f 6e 2c 20 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 | UI(Rect.position,.SerializedProp |
| 3000 | 65 72 74 79 20 70 72 6f 70 65 72 74 79 2c 20 47 55 49 43 6f 6e 74 65 6e 74 20 6c 61 62 65 6c 29 | erty.property,.GUIContent.label) |
| 3020 | 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 49 6e 69 74 28 70 72 6f 70 | .........{.............Init(prop |
| 3040 | 65 72 74 79 29 3b 0a 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 | erty);..............Rect.rect.=. |
| 3060 | 70 6f 73 69 74 69 6f 6e 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 63 74 2e 68 65 69 67 68 | position;.............rect.heigh |
| 3080 | 74 20 3d 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 | t.=.EditorGUIUtility.singleLineH |
| 30a0 | 65 69 67 68 74 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 2e 4c 61 | eight;..............EditorGUI.La |
| 30c0 | 62 65 6c 46 69 65 6c 64 28 72 65 63 74 2c 20 22 43 68 61 72 61 63 74 65 72 22 2c 20 45 64 69 74 | belField(rect,."Character",.Edit |
| 30e0 | 6f 72 53 74 79 6c 65 73 2e 62 6f 6c 64 4c 61 62 65 6c 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 | orStyles.boldLabel);............ |
| 3100 | 20 72 65 63 74 2e 79 20 2b 3d 20 72 65 63 74 2e 68 65 69 67 68 74 20 2b 20 45 64 69 74 6f 72 47 | .rect.y.+=.rect.height.+.EditorG |
| 3120 | 55 49 55 74 69 6c 69 74 79 2e 73 74 61 6e 64 61 72 64 56 65 72 74 69 63 61 6c 53 70 61 63 69 6e | UIUtility.standardVerticalSpacin |
| 3140 | 67 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 2b 2b 45 64 69 74 6f 72 47 55 49 2e 69 6e 64 65 6e | g;.............++EditorGUI.inden |
| 3160 | 74 4c 65 76 65 6c 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 | tLevel;.............{........... |
| 3180 | 20 20 20 20 20 20 46 6f 6e 74 20 66 6f 6e 74 20 3d 20 6d 5f 46 6f 6e 74 2e 6f 62 6a 65 63 74 52 | ......Font.font.=.m_Font.objectR |
| 31a0 | 65 66 65 72 65 6e 63 65 56 61 6c 75 65 20 61 73 20 46 6f 6e 74 3b 0a 20 20 20 20 20 20 20 20 20 | eferenceValue.as.Font;.......... |
| 31c0 | 20 20 20 20 20 20 20 72 65 63 74 2e 68 65 69 67 68 74 20 3d 20 6d 5f 46 6f 6e 74 46 69 65 6c 64 | .......rect.height.=.m_FontField |
| 31e0 | 66 48 65 69 67 68 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 | fHeight;.................EditorG |
| 3200 | 55 49 2e 42 65 67 69 6e 43 68 61 6e 67 65 43 68 65 63 6b 28 29 3b 0a 20 20 20 20 20 20 20 20 20 | UI.BeginChangeCheck();.......... |
| 3220 | 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 2e 50 72 6f 70 65 72 74 79 46 69 65 6c 64 28 72 | .......EditorGUI.PropertyField(r |
| 3240 | 65 63 74 2c 20 6d 5f 46 6f 6e 74 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 | ect,.m_Font);.................if |
| 3260 | 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 0a 20 20 | .(EditorGUI.EndChangeCheck())... |
| 3280 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ..............{................. |
| 32a0 | 20 20 20 20 66 6f 6e 74 20 3d 20 6d 5f 46 6f 6e 74 2e 6f 62 6a 65 63 74 52 65 66 65 72 65 6e 63 | ....font.=.m_Font.objectReferenc |
| 32c0 | 65 56 61 6c 75 65 20 61 73 20 46 6f 6e 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | eValue.as.Font;................. |
| 32e0 | 20 20 20 20 69 66 20 28 66 6f 6e 74 20 21 3d 20 6e 75 6c 6c 20 26 26 20 21 66 6f 6e 74 2e 64 79 | ....if.(font.!=.null.&&.!font.dy |
| 3300 | 6e 61 6d 69 63 29 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 | namic).........................m |
| 3320 | 5f 46 6f 6e 74 53 69 7a 65 2e 69 6e 74 56 61 6c 75 65 20 3d 20 66 6f 6e 74 2e 66 6f 6e 74 53 69 | _FontSize.intValue.=.font.fontSi |
| 3340 | 7a 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 | ze;.................}........... |
| 3360 | 20 20 20 20 20 20 20 72 65 63 74 2e 79 20 2b 3d 20 72 65 63 74 2e 68 65 69 67 68 74 20 2b 20 45 | .......rect.y.+=.rect.height.+.E |
| 3380 | 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 73 74 61 6e 64 61 72 64 56 65 72 74 69 63 61 6c | ditorGUIUtility.standardVertical |
| 33a0 | 53 70 61 63 69 6e 67 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 63 74 2e 68 65 | Spacing;.................rect.he |
| 33c0 | 69 67 68 74 20 3d 20 6d 5f 46 6f 6e 74 53 74 79 6c 65 48 65 69 67 68 74 3b 0a 20 20 20 20 20 20 | ight.=.m_FontStyleHeight;....... |
| 33e0 | 20 20 20 20 20 20 20 20 20 20 75 73 69 6e 67 20 28 6e 65 77 20 45 64 69 74 6f 72 47 55 49 2e 44 | ..........using.(new.EditorGUI.D |
| 3400 | 69 73 61 62 6c 65 64 53 63 6f 70 65 28 21 6d 5f 46 6f 6e 74 2e 68 61 73 4d 75 6c 74 69 70 6c 65 | isabledScope(!m_Font.hasMultiple |
| 3420 | 44 69 66 66 65 72 65 6e 74 56 61 6c 75 65 73 20 26 26 20 66 6f 6e 74 20 21 3d 20 6e 75 6c 6c 20 | DifferentValues.&&.font.!=.null. |
| 3440 | 26 26 20 21 66 6f 6e 74 2e 64 79 6e 61 6d 69 63 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | &&.!font.dynamic)).............. |
| 3460 | 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 | ...{.....................EditorG |
| 3480 | 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 46 6f 6e 74 53 74 79 | UI.PropertyField(rect,.m_FontSty |
| 34a0 | 6c 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 | le);.................}.......... |
| 34c0 | 20 20 20 20 20 20 20 20 72 65 63 74 2e 79 20 2b 3d 20 72 65 63 74 2e 68 65 69 67 68 74 20 2b 20 | ........rect.y.+=.rect.height.+. |
| 34e0 | 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 73 74 61 6e 64 61 72 64 56 65 72 74 69 63 61 | EditorGUIUtility.standardVertica |
| 3500 | 6c 53 70 61 63 69 6e 67 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 63 74 2e 68 | lSpacing;.................rect.h |
| 3520 | 65 69 67 68 74 20 3d 20 6d 5f 46 6f 6e 74 53 69 7a 65 48 65 69 67 68 74 3b 0a 20 20 20 20 20 20 | eight.=.m_FontSizeHeight;....... |
| 3540 | 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 2e 50 72 6f 70 65 72 74 79 46 69 65 6c | ..........EditorGUI.PropertyFiel |
| 3560 | 64 28 72 65 63 74 2c 20 6d 5f 46 6f 6e 74 53 69 7a 65 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 | d(rect,.m_FontSize);............ |
| 3580 | 20 20 20 20 20 20 72 65 63 74 2e 79 20 2b 3d 20 72 65 63 74 2e 68 65 69 67 68 74 20 2b 20 45 64 | ......rect.y.+=.rect.height.+.Ed |
| 35a0 | 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 73 74 61 6e 64 61 72 64 56 65 72 74 69 63 61 6c 53 | itorGUIUtility.standardVerticalS |
| 35c0 | 70 61 63 69 6e 67 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 63 74 2e 68 65 69 | pacing;.................rect.hei |
| 35e0 | 67 68 74 20 3d 20 6d 5f 4c 69 6e 65 53 70 61 63 69 6e 67 48 65 69 67 68 74 3b 0a 20 20 20 20 20 | ght.=.m_LineSpacingHeight;...... |
| 3600 | 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 2e 50 72 6f 70 65 72 74 79 46 69 65 | ...........EditorGUI.PropertyFie |
| 3620 | 6c 64 28 72 65 63 74 2c 20 6d 5f 4c 69 6e 65 53 70 61 63 69 6e 67 29 3b 0a 0a 20 20 20 20 20 20 | ld(rect,.m_LineSpacing);........ |
| 3640 | 20 20 20 20 20 20 20 20 20 20 72 65 63 74 2e 79 20 2b 3d 20 72 65 63 74 2e 68 65 69 67 68 74 20 | ..........rect.y.+=.rect.height. |
| 3660 | 2b 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 73 74 61 6e 64 61 72 64 56 65 72 74 69 | +.EditorGUIUtility.standardVerti |
| 3680 | 63 61 6c 53 70 61 63 69 6e 67 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 63 74 | calSpacing;.................rect |
| 36a0 | 2e 68 65 69 67 68 74 20 3d 20 6d 5f 45 6e 63 6f 64 69 6e 67 48 65 69 67 68 74 3b 0a 20 20 20 20 | .height.=.m_EncodingHeight;..... |
| 36c0 | 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 2e 50 72 6f 70 65 72 74 79 46 69 | ............EditorGUI.PropertyFi |
| 36e0 | 65 6c 64 28 72 65 63 74 2c 20 6d 5f 53 75 70 70 6f 72 74 45 6e 63 6f 64 69 6e 67 2c 20 53 74 79 | eld(rect,.m_SupportEncoding,.Sty |
| 3700 | 6c 65 73 2e 6d 5f 45 6e 63 6f 64 69 6e 67 43 6f 6e 74 65 6e 74 29 3b 0a 20 20 20 20 20 20 20 20 | les.m_EncodingContent);......... |
| 3720 | 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2d 2d 45 64 69 74 6f 72 47 55 49 2e 69 6e | ....}.............--EditorGUI.in |
| 3740 | 64 65 6e 74 4c 65 76 65 6c 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 63 74 2e 79 20 2b | dentLevel;..............rect.y.+ |
| 3760 | 3d 20 72 65 63 74 2e 68 65 69 67 68 74 20 2b 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 | =.rect.height.+.EditorGUIUtility |
| 3780 | 2e 73 74 61 6e 64 61 72 64 56 65 72 74 69 63 61 6c 53 70 61 63 69 6e 67 3b 0a 20 20 20 20 20 20 | .standardVerticalSpacing;....... |
| 37a0 | 20 20 20 20 20 20 72 65 63 74 2e 68 65 69 67 68 74 20 3d 20 45 64 69 74 6f 72 47 55 49 55 74 69 | ......rect.height.=.EditorGUIUti |
| 37c0 | 6c 69 74 79 2e 73 69 6e 67 6c 65 4c 69 6e 65 48 65 69 67 68 74 3b 0a 20 20 20 20 20 20 20 20 20 | lity.singleLineHeight;.......... |
| 37e0 | 20 20 20 45 64 69 74 6f 72 47 55 49 2e 4c 61 62 65 6c 46 69 65 6c 64 28 72 65 63 74 2c 20 22 50 | ...EditorGUI.LabelField(rect,."P |
| 3800 | 61 72 61 67 72 61 70 68 22 2c 20 45 64 69 74 6f 72 53 74 79 6c 65 73 2e 62 6f 6c 64 4c 61 62 65 | aragraph",.EditorStyles.boldLabe |
| 3820 | 6c 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 63 74 2e 79 20 2b 3d 20 72 65 63 74 2e 68 | l);.............rect.y.+=.rect.h |
| 3840 | 65 69 67 68 74 20 2b 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 73 74 61 6e 64 61 72 | eight.+.EditorGUIUtility.standar |
| 3860 | 64 56 65 72 74 69 63 61 6c 53 70 61 63 69 6e 67 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 2b 2b | dVerticalSpacing;.............++ |
| 3880 | 45 64 69 74 6f 72 47 55 49 2e 69 6e 64 65 6e 74 4c 65 76 65 6c 3b 0a 20 20 20 20 20 20 20 20 20 | EditorGUI.indentLevel;.......... |
| 38a0 | 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 63 74 2e 68 65 69 67 68 74 | ...{.................rect.height |
| 38c0 | 20 3d 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 65 | .=.EditorGUIUtility.singleLineHe |
| 38e0 | 69 67 68 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 44 6f 54 65 78 74 41 6c 69 67 | ight;.................DoTextAlig |
| 3900 | 6d 65 6e 74 43 6f 6e 74 72 6f 6c 28 72 65 63 74 2c 20 6d 5f 41 6c 69 67 6e 6d 65 6e 74 29 3b 0a | mentControl(rect,.m_Alignment);. |
| 3920 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 63 74 2e 79 20 2b 3d 20 72 65 63 74 2e | .................rect.y.+=.rect. |
| 3940 | 68 65 69 67 68 74 20 2b 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 73 74 61 6e 64 61 | height.+.EditorGUIUtility.standa |
| 3960 | 72 64 56 65 72 74 69 63 61 6c 53 70 61 63 69 6e 67 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | rdVerticalSpacing;.............. |
| 3980 | 20 20 20 72 65 63 74 2e 68 65 69 67 68 74 20 3d 20 6d 5f 48 6f 72 69 7a 6f 6e 74 61 6c 4f 76 65 | ...rect.height.=.m_HorizontalOve |
| 39a0 | 72 66 6c 6f 77 48 65 69 67 68 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 | rflowHeight;.................Edi |
| 39c0 | 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 41 6c 69 | torGUI.PropertyField(rect,.m_Ali |
| 39e0 | 67 6e 42 79 47 65 6f 6d 65 74 72 79 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | gnByGeometry);.................. |
| 3a00 | 72 65 63 74 2e 79 20 2b 3d 20 72 65 63 74 2e 68 65 69 67 68 74 20 2b 20 45 64 69 74 6f 72 47 55 | rect.y.+=.rect.height.+.EditorGU |
| 3a20 | 49 55 74 69 6c 69 74 79 2e 73 74 61 6e 64 61 72 64 56 65 72 74 69 63 61 6c 53 70 61 63 69 6e 67 | IUtility.standardVerticalSpacing |
| 3a40 | 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 63 74 2e 68 65 69 67 68 74 20 3d 20 | ;.................rect.height.=. |
| 3a60 | 6d 5f 48 6f 72 69 7a 6f 6e 74 61 6c 4f 76 65 72 66 6c 6f 77 48 65 69 67 68 74 3b 0a 20 20 20 20 | m_HorizontalOverflowHeight;..... |
| 3a80 | 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 2e 50 72 6f 70 65 72 74 79 46 69 | ............EditorGUI.PropertyFi |
| 3aa0 | 65 6c 64 28 72 65 63 74 2c 20 6d 5f 48 6f 72 69 7a 6f 6e 74 61 6c 4f 76 65 72 66 6c 6f 77 29 3b | eld(rect,.m_HorizontalOverflow); |
| 3ac0 | 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 63 74 2e 79 20 2b 3d 20 72 65 63 74 | ..................rect.y.+=.rect |
| 3ae0 | 2e 68 65 69 67 68 74 20 2b 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 73 74 61 6e 64 | .height.+.EditorGUIUtility.stand |
| 3b00 | 61 72 64 56 65 72 74 69 63 61 6c 53 70 61 63 69 6e 67 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ardVerticalSpacing;............. |
| 3b20 | 20 20 20 20 72 65 63 74 2e 68 65 69 67 68 74 20 3d 20 6d 5f 56 65 72 74 69 63 61 6c 4f 76 65 72 | ....rect.height.=.m_VerticalOver |
| 3b40 | 66 6c 6f 77 48 65 69 67 68 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 | flowHeight;.................Edit |
| 3b60 | 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 56 65 72 74 | orGUI.PropertyField(rect,.m_Vert |
| 3b80 | 69 63 61 6c 4f 76 65 72 66 6c 6f 77 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | icalOverflow);.................. |
| 3ba0 | 72 65 63 74 2e 79 20 2b 3d 20 72 65 63 74 2e 68 65 69 67 68 74 20 2b 20 45 64 69 74 6f 72 47 55 | rect.y.+=.rect.height.+.EditorGU |
| 3bc0 | 49 55 74 69 6c 69 74 79 2e 73 74 61 6e 64 61 72 64 56 65 72 74 69 63 61 6c 53 70 61 63 69 6e 67 | IUtility.standardVerticalSpacing |
| 3be0 | 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 63 74 2e 68 65 69 67 68 74 20 3d 20 | ;.................rect.height.=. |
| 3c00 | 6d 5f 52 65 73 69 7a 65 54 65 78 74 4d 61 78 53 69 7a 65 48 65 69 67 68 74 3b 0a 20 20 20 20 20 | m_ResizeTextMaxSizeHeight;...... |
| 3c20 | 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 2e 50 72 6f 70 65 72 74 79 46 69 65 | ...........EditorGUI.PropertyFie |
| 3c40 | 6c 64 28 72 65 63 74 2c 20 6d 5f 52 65 73 69 7a 65 54 65 78 74 46 6f 72 42 65 73 74 46 69 74 29 | ld(rect,.m_ResizeTextForBestFit) |
| 3c60 | 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6d 5f 52 65 73 69 7a 65 54 | ;..................if.(m_ResizeT |
| 3c80 | 65 78 74 46 6f 72 42 65 73 74 46 69 74 2e 62 6f 6f 6c 56 61 6c 75 65 29 0a 20 20 20 20 20 20 20 | extForBestFit.boolValue)........ |
| 3ca0 | 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 | .........{.....................r |
| 3cc0 | 65 63 74 2e 79 20 2b 3d 20 72 65 63 74 2e 68 65 69 67 68 74 20 2b 20 45 64 69 74 6f 72 47 55 49 | ect.y.+=.rect.height.+.EditorGUI |
| 3ce0 | 55 74 69 6c 69 74 79 2e 73 74 61 6e 64 61 72 64 56 65 72 74 69 63 61 6c 53 70 61 63 69 6e 67 3b | Utility.standardVerticalSpacing; |
| 3d00 | 0a 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 68 65 69 67 68 74 | .....................rect.height |
| 3d20 | 20 3d 20 6d 5f 52 65 73 69 7a 65 54 65 78 74 4d 69 6e 53 69 7a 65 48 65 69 67 68 74 3b 0a 20 20 | .=.m_ResizeTextMinSizeHeight;... |
| 3d40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 2e 50 72 6f 70 | ..................EditorGUI.Prop |
| 3d60 | 65 72 74 79 46 69 65 6c 64 28 72 65 63 74 2c 20 6d 5f 52 65 73 69 7a 65 54 65 78 74 4d 69 6e 53 | ertyField(rect,.m_ResizeTextMinS |
| 3d80 | 69 7a 65 29 3b 0a 0a 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 | ize);......................rect. |
| 3da0 | 79 20 2b 3d 20 72 65 63 74 2e 68 65 69 67 68 74 20 2b 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c | y.+=.rect.height.+.EditorGUIUtil |
| 3dc0 | 69 74 79 2e 73 74 61 6e 64 61 72 64 56 65 72 74 69 63 61 6c 53 70 61 63 69 6e 67 3b 0a 20 20 20 | ity.standardVerticalSpacing;.... |
| 3de0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 63 74 2e 68 65 69 67 68 74 20 3d 20 6d | .................rect.height.=.m |
| 3e00 | 5f 52 65 73 69 7a 65 54 65 78 74 4d 61 78 53 69 7a 65 48 65 69 67 68 74 3b 0a 20 20 20 20 20 20 | _ResizeTextMaxSizeHeight;....... |
| 3e20 | 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 |
| 3e40 | 46 69 65 6c 64 28 72 65 63 74 2c 20 6d 5f 52 65 73 69 7a 65 54 65 78 74 4d 61 78 53 69 7a 65 29 | Field(rect,.m_ResizeTextMaxSize) |
| 3e60 | 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ;.................}............. |
| 3e80 | 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2d 2d 45 64 69 74 6f 72 47 55 49 2e 69 6e 64 65 6e 74 | }.............--EditorGUI.indent |
| 3ea0 | 4c 65 76 65 6c 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 | Level;.........}..........privat |
| 3ec0 | 65 20 76 6f 69 64 20 44 6f 54 65 78 74 41 6c 69 67 6d 65 6e 74 43 6f 6e 74 72 6f 6c 28 52 65 63 | e.void.DoTextAligmentControl(Rec |
| 3ee0 | 74 20 70 6f 73 69 74 69 6f 6e 2c 20 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 20 61 | t.position,.SerializedProperty.a |
| 3f00 | 6c 69 67 6e 6d 65 6e 74 29 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | lignment).........{............. |
| 3f20 | 47 55 49 43 6f 6e 74 65 6e 74 20 61 6c 69 6e 67 6d 65 6e 74 43 6f 6e 74 65 6e 74 20 3d 20 45 64 | GUIContent.alingmentContent.=.Ed |
| 3f40 | 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 54 72 54 65 78 74 43 6f 6e 74 65 6e 74 28 22 41 6c | itorGUIUtility.TrTextContent("Al |
| 3f60 | 69 67 6e 6d 65 6e 74 22 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 74 20 69 64 20 3d | ignment");..............int.id.= |
| 3f80 | 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 47 65 74 43 6f 6e 74 72 6f 6c 49 44 28 73 | .EditorGUIUtility.GetControlID(s |
| 3fa0 | 5f 54 65 78 74 41 6c 69 67 6e 6d 65 6e 74 48 61 73 68 2c 20 46 6f 63 75 73 54 79 70 65 2e 4b 65 | _TextAlignmentHash,.FocusType.Ke |
| 3fc0 | 79 62 6f 61 72 64 2c 20 70 6f 73 69 74 69 6f 6e 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 | yboard,.position);.............. |
| 3fe0 | 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e 53 65 74 49 63 6f 6e 53 69 7a 65 28 6e 65 77 | EditorGUIUtility.SetIconSize(new |
| 4000 | 20 56 65 63 74 6f 72 32 28 31 35 2c 20 31 35 29 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 45 | .Vector2(15,.15));.............E |
| 4020 | 64 69 74 6f 72 47 55 49 2e 42 65 67 69 6e 50 72 6f 70 65 72 74 79 28 70 6f 73 69 74 69 6f 6e 2c | ditorGUI.BeginProperty(position, |
| 4040 | 20 61 6c 69 6e 67 6d 65 6e 74 43 6f 6e 74 65 6e 74 2c 20 61 6c 69 67 6e 6d 65 6e 74 29 3b 0a 20 | .alingmentContent,.alignment);.. |
| 4060 | 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 52 65 63 | ...........{.................Rec |
| 4080 | 74 20 63 6f 6e 74 72 6f 6c 41 72 65 61 20 3d 20 45 64 69 74 6f 72 47 55 49 2e 50 72 65 66 69 78 | t.controlArea.=.EditorGUI.Prefix |
| 40a0 | 4c 61 62 65 6c 28 70 6f 73 69 74 69 6f 6e 2c 20 69 64 2c 20 61 6c 69 6e 67 6d 65 6e 74 43 6f 6e | Label(position,.id,.alingmentCon |
| 40c0 | 74 65 6e 74 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 6c 6f 61 74 20 77 69 | tent);..................float.wi |
| 40e0 | 64 74 68 20 3d 20 6b 41 6c 69 67 6e 6d 65 6e 74 42 75 74 74 6f 6e 57 69 64 74 68 20 2a 20 33 3b | dth.=.kAlignmentButtonWidth.*.3; |
| 4100 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 6c 6f 61 74 20 73 70 61 63 69 6e 67 20 3d | .................float.spacing.= |
| 4120 | 20 4d 61 74 68 66 2e 43 6c 61 6d 70 28 63 6f 6e 74 72 6f 6c 41 72 65 61 2e 77 69 64 74 68 20 2d | .Mathf.Clamp(controlArea.width.- |
| 4140 | 20 77 69 64 74 68 20 2a 20 32 2c 20 32 2c 20 31 30 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 | .width.*.2,.2,.10);............. |
| 4160 | 20 20 20 20 20 52 65 63 74 20 68 6f 72 69 7a 6f 6e 74 61 6c 41 6c 69 67 6d 65 6e 74 20 3d 20 6e | .....Rect.horizontalAligment.=.n |
| 4180 | 65 77 20 52 65 63 74 28 63 6f 6e 74 72 6f 6c 41 72 65 61 2e 78 2c 20 63 6f 6e 74 72 6f 6c 41 72 | ew.Rect(controlArea.x,.controlAr |
| 41a0 | 65 61 2e 79 2c 20 77 69 64 74 68 2c 20 63 6f 6e 74 72 6f 6c 41 72 65 61 2e 68 65 69 67 68 74 29 | ea.y,.width,.controlArea.height) |
| 41c0 | 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 52 65 63 74 20 76 65 72 74 69 63 61 6c 41 | ;.................Rect.verticalA |
| 41e0 | 6c 69 67 6d 65 6e 74 20 3d 20 6e 65 77 20 52 65 63 74 28 68 6f 72 69 7a 6f 6e 74 61 6c 41 6c 69 | ligment.=.new.Rect(horizontalAli |
| 4200 | 67 6d 65 6e 74 2e 78 4d 61 78 20 2b 20 73 70 61 63 69 6e 67 2c 20 63 6f 6e 74 72 6f 6c 41 72 65 | gment.xMax.+.spacing,.controlAre |
| 4220 | 61 2e 79 2c 20 77 69 64 74 68 2c 20 63 6f 6e 74 72 6f 6c 41 72 65 61 2e 68 65 69 67 68 74 29 3b | a.y,.width,.controlArea.height); |
| 4240 | 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 44 6f 48 6f 72 69 7a 6f 6e 74 61 6c 41 6c | ..................DoHorizontalAl |
| 4260 | 69 67 6d 65 6e 74 43 6f 6e 74 72 6f 6c 28 68 6f 72 69 7a 6f 6e 74 61 6c 41 6c 69 67 6d 65 6e 74 | igmentControl(horizontalAligment |
| 4280 | 2c 20 61 6c 69 67 6e 6d 65 6e 74 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 44 6f | ,.alignment);.................Do |
| 42a0 | 56 65 72 74 69 63 61 6c 41 6c 69 67 6d 65 6e 74 43 6f 6e 74 72 6f 6c 28 76 65 72 74 69 63 61 6c | VerticalAligmentControl(vertical |
| 42c0 | 41 6c 69 67 6d 65 6e 74 2c 20 61 6c 69 67 6e 6d 65 6e 74 29 3b 0a 20 20 20 20 20 20 20 20 20 20 | Aligment,.alignment);........... |
| 42e0 | 20 20 7d 0a 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 | ..}.............EditorGUI.EndPro |
| 4300 | 70 65 72 74 79 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 47 55 49 55 74 | perty();.............EditorGUIUt |
| 4320 | 69 6c 69 74 79 2e 53 65 74 49 63 6f 6e 53 69 7a 65 28 56 65 63 74 6f 72 32 2e 7a 65 72 6f 29 3b | ility.SetIconSize(Vector2.zero); |
| 4340 | 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 73 74 61 74 | .........}..........private.stat |
| 4360 | 69 63 20 76 6f 69 64 20 44 6f 48 6f 72 69 7a 6f 6e 74 61 6c 41 6c 69 67 6d 65 6e 74 43 6f 6e 74 | ic.void.DoHorizontalAligmentCont |
| 4380 | 72 6f 6c 28 52 65 63 74 20 70 6f 73 69 74 69 6f 6e 2c 20 53 65 72 69 61 6c 69 7a 65 64 50 72 6f | rol(Rect.position,.SerializedPro |
| 43a0 | 70 65 72 74 79 20 61 6c 69 67 6e 6d 65 6e 74 29 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 | perty.alignment).........{...... |
| 43c0 | 20 20 20 20 20 20 20 54 65 78 74 41 6e 63 68 6f 72 20 74 61 20 3d 20 28 54 65 78 74 41 6e 63 68 | .......TextAnchor.ta.=.(TextAnch |
| 43e0 | 6f 72 29 61 6c 69 67 6e 6d 65 6e 74 2e 69 6e 74 56 61 6c 75 65 3b 0a 20 20 20 20 20 20 20 20 20 | or)alignment.intValue;.......... |
| 4400 | 20 20 20 48 6f 72 69 7a 6f 6e 74 61 6c 54 65 78 74 41 6c 69 67 6d 65 6e 74 20 68 6f 72 69 7a 6f | ...HorizontalTextAligment.horizo |
| 4420 | 6e 74 61 6c 41 6c 69 67 6e 6d 65 6e 74 20 3d 20 47 65 74 48 6f 72 69 7a 6f 6e 74 61 6c 41 6c 69 | ntalAlignment.=.GetHorizontalAli |
| 4440 | 67 6e 6d 65 6e 74 28 74 61 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 6f 6f 6c 20 6c 65 | gnment(ta);..............bool.le |
| 4460 | 66 74 41 6c 69 67 6e 20 3d 20 28 68 6f 72 69 7a 6f 6e 74 61 6c 41 6c 69 67 6e 6d 65 6e 74 20 3d | ftAlign.=.(horizontalAlignment.= |
| 4480 | 3d 20 48 6f 72 69 7a 6f 6e 74 61 6c 54 65 78 74 41 6c 69 67 6d 65 6e 74 2e 4c 65 66 74 29 3b 0a | =.HorizontalTextAligment.Left);. |
| 44a0 | 20 20 20 20 20 20 20 20 20 20 20 20 62 6f 6f 6c 20 63 65 6e 74 65 72 41 6c 69 67 6e 20 3d 20 28 | ............bool.centerAlign.=.( |
| 44c0 | 68 6f 72 69 7a 6f 6e 74 61 6c 41 6c 69 67 6e 6d 65 6e 74 20 3d 3d 20 48 6f 72 69 7a 6f 6e 74 61 | horizontalAlignment.==.Horizonta |
| 44e0 | 6c 54 65 78 74 41 6c 69 67 6d 65 6e 74 2e 43 65 6e 74 65 72 29 3b 0a 20 20 20 20 20 20 20 20 20 | lTextAligment.Center);.......... |
| 4500 | 20 20 20 62 6f 6f 6c 20 72 69 67 68 74 41 6c 69 67 6e 20 3d 20 28 68 6f 72 69 7a 6f 6e 74 61 6c | ...bool.rightAlign.=.(horizontal |
| 4520 | 41 6c 69 67 6e 6d 65 6e 74 20 3d 3d 20 48 6f 72 69 7a 6f 6e 74 61 6c 54 65 78 74 41 6c 69 67 6d | Alignment.==.HorizontalTextAligm |
| 4540 | 65 6e 74 2e 52 69 67 68 74 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 61 6c 69 | ent.Right);..............if.(ali |
| 4560 | 67 6e 6d 65 6e 74 2e 68 61 73 4d 75 6c 74 69 70 6c 65 44 69 66 66 65 72 65 6e 74 56 61 6c 75 65 | gnment.hasMultipleDifferentValue |
| 4580 | 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | s).............{................ |
| 45a0 | 20 66 6f 72 65 61 63 68 20 28 76 61 72 20 6f 62 6a 20 69 6e 20 61 6c 69 67 6e 6d 65 6e 74 2e 73 | .foreach.(var.obj.in.alignment.s |
| 45c0 | 65 72 69 61 6c 69 7a 65 64 4f 62 6a 65 63 74 2e 74 61 72 67 65 74 4f 62 6a 65 63 74 73 29 0a 20 | erializedObject.targetObjects).. |
| 45e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ...............{................ |
| 4600 | 20 20 20 20 20 54 65 78 74 20 74 65 78 74 20 3d 20 6f 62 6a 20 61 73 20 54 65 78 74 3b 0a 20 20 | .....Text.text.=.obj.as.Text;... |
| 4620 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 68 6f 72 69 7a 6f 6e 74 61 6c 41 6c 69 67 | ..................horizontalAlig |
| 4640 | 6e 6d 65 6e 74 20 3d 20 47 65 74 48 6f 72 69 7a 6f 6e 74 61 6c 41 6c 69 67 6e 6d 65 6e 74 28 74 | nment.=.GetHorizontalAlignment(t |
| 4660 | 65 78 74 2e 61 6c 69 67 6e 6d 65 6e 74 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ext.alignment);................. |
| 4680 | 20 20 20 20 6c 65 66 74 41 6c 69 67 6e 20 3d 20 6c 65 66 74 41 6c 69 67 6e 20 7c 7c 20 28 68 6f | ....leftAlign.=.leftAlign.||.(ho |
| 46a0 | 72 69 7a 6f 6e 74 61 6c 41 6c 69 67 6e 6d 65 6e 74 20 3d 3d 20 48 6f 72 69 7a 6f 6e 74 61 6c 54 | rizontalAlignment.==.HorizontalT |
| 46c0 | 65 78 74 41 6c 69 67 6d 65 6e 74 2e 4c 65 66 74 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | extAligment.Left);.............. |
| 46e0 | 20 20 20 20 20 20 20 63 65 6e 74 65 72 41 6c 69 67 6e 20 3d 20 63 65 6e 74 65 72 41 6c 69 67 6e | .......centerAlign.=.centerAlign |
| 4700 | 20 7c 7c 20 28 68 6f 72 69 7a 6f 6e 74 61 6c 41 6c 69 67 6e 6d 65 6e 74 20 3d 3d 20 48 6f 72 69 | .||.(horizontalAlignment.==.Hori |
| 4720 | 7a 6f 6e 74 61 6c 54 65 78 74 41 6c 69 67 6d 65 6e 74 2e 43 65 6e 74 65 72 29 3b 0a 20 20 20 20 | zontalTextAligment.Center);..... |
| 4740 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 69 67 68 74 41 6c 69 67 6e 20 3d 20 72 69 67 | ................rightAlign.=.rig |
| 4760 | 68 74 41 6c 69 67 6e 20 7c 7c 20 28 68 6f 72 69 7a 6f 6e 74 61 6c 41 6c 69 67 6e 6d 65 6e 74 20 | htAlign.||.(horizontalAlignment. |
| 4780 | 3d 3d 20 48 6f 72 69 7a 6f 6e 74 61 6c 54 65 78 74 41 6c 69 67 6d 65 6e 74 2e 52 69 67 68 74 29 | ==.HorizontalTextAligment.Right) |
| 47a0 | 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ;.................}............. |
| 47c0 | 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 6f 73 69 74 69 6f 6e 2e 77 69 64 74 68 20 3d 20 | }..............position.width.=. |
| 47e0 | 6b 41 6c 69 67 6e 6d 65 6e 74 42 75 74 74 6f 6e 57 69 64 74 68 3b 0a 0a 20 20 20 20 20 20 20 20 | kAlignmentButtonWidth;.......... |
| 4800 | 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() |
| 4820 | 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 54 6f 67 67 6c 65 28 70 6f 73 69 74 | ;.............EditorToggle(posit |
| 4840 | 69 6f 6e 2c 20 6c 65 66 74 41 6c 69 67 6e 2c 20 6c 65 66 74 41 6c 69 67 6e 20 3f 20 53 74 79 6c | ion,.leftAlign,.leftAlign.?.Styl |
| 4860 | 65 73 2e 6d 5f 4c 65 66 74 41 6c 69 67 6e 54 65 78 74 41 63 74 69 76 65 20 3a 20 53 74 79 6c 65 | es.m_LeftAlignTextActive.:.Style |
| 4880 | 73 2e 6d 5f 4c 65 66 74 41 6c 69 67 6e 54 65 78 74 2c 20 53 74 79 6c 65 73 2e 61 6c 69 67 6e 6d | s.m_LeftAlignText,.Styles.alignm |
| 48a0 | 65 6e 74 42 75 74 74 6f 6e 4c 65 66 74 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 | entButtonLeft);.............if.( |
| 48c0 | 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 0a 20 20 20 20 | EditorGUI.EndChangeCheck())..... |
| 48e0 | 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 53 65 74 48 6f 72 | ........{.................SetHor |
| 4900 | 69 7a 6f 6e 74 61 6c 41 6c 69 67 6e 6d 65 6e 74 28 61 6c 69 67 6e 6d 65 6e 74 2c 20 48 6f 72 69 | izontalAlignment(alignment,.Hori |
| 4920 | 7a 6f 6e 74 61 6c 54 65 78 74 41 6c 69 67 6d 65 6e 74 2e 4c 65 66 74 29 3b 0a 20 20 20 20 20 20 | zontalTextAligment.Left);....... |
| 4940 | 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 6f 73 69 74 69 6f 6e 2e 78 20 | ......}..............position.x. |
| 4960 | 2b 3d 20 70 6f 73 69 74 69 6f 6e 2e 77 69 64 74 68 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 45 | +=.position.width;.............E |
| 4980 | 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 0a 20 20 20 | ditorGUI.BeginChangeCheck();.... |
| 49a0 | 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 54 6f 67 67 6c 65 28 70 6f 73 69 74 69 6f 6e 2c 20 | .........EditorToggle(position,. |
| 49c0 | 63 65 6e 74 65 72 41 6c 69 67 6e 2c 20 63 65 6e 74 65 72 41 6c 69 67 6e 20 3f 20 53 74 79 6c 65 | centerAlign,.centerAlign.?.Style |
| 49e0 | 73 2e 6d 5f 43 65 6e 74 65 72 41 6c 69 67 6e 54 65 78 74 41 63 74 69 76 65 20 3a 20 53 74 79 6c | s.m_CenterAlignTextActive.:.Styl |
| 4a00 | 65 73 2e 6d 5f 43 65 6e 74 65 72 41 6c 69 67 6e 54 65 78 74 2c 20 53 74 79 6c 65 73 2e 61 6c 69 | es.m_CenterAlignText,.Styles.ali |
| 4a20 | 67 6e 6d 65 6e 74 42 75 74 74 6f 6e 4d 69 64 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 | gnmentButtonMid);.............if |
| 4a40 | 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 0a 20 20 | .(EditorGUI.EndChangeCheck())... |
| 4a60 | 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 53 65 74 48 | ..........{.................SetH |
| 4a80 | 6f 72 69 7a 6f 6e 74 61 6c 41 6c 69 67 6e 6d 65 6e 74 28 61 6c 69 67 6e 6d 65 6e 74 2c 20 48 6f | orizontalAlignment(alignment,.Ho |
| 4aa0 | 72 69 7a 6f 6e 74 61 6c 54 65 78 74 41 6c 69 67 6d 65 6e 74 2e 43 65 6e 74 65 72 29 3b 0a 20 20 | rizontalTextAligment.Center);... |
| 4ac0 | 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 6f 73 69 74 69 6f | ..........}..............positio |
| 4ae0 | 6e 2e 78 20 2b 3d 20 70 6f 73 69 74 69 6f 6e 2e 77 69 64 74 68 3b 0a 20 20 20 20 20 20 20 20 20 | n.x.+=.position.width;.......... |
| 4b00 | 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(); |
| 4b20 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 54 6f 67 67 6c 65 28 70 6f 73 69 74 69 | .............EditorToggle(positi |
| 4b40 | 6f 6e 2c 20 72 69 67 68 74 41 6c 69 67 6e 2c 20 72 69 67 68 74 41 6c 69 67 6e 20 3f 20 53 74 79 | on,.rightAlign,.rightAlign.?.Sty |
| 4b60 | 6c 65 73 2e 6d 5f 52 69 67 68 74 41 6c 69 67 6e 54 65 78 74 41 63 74 69 76 65 20 3a 20 53 74 79 | les.m_RightAlignTextActive.:.Sty |
| 4b80 | 6c 65 73 2e 6d 5f 52 69 67 68 74 41 6c 69 67 6e 54 65 78 74 2c 20 53 74 79 6c 65 73 2e 61 6c 69 | les.m_RightAlignText,.Styles.ali |
| 4ba0 | 67 6e 6d 65 6e 74 42 75 74 74 6f 6e 52 69 67 68 74 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 | gnmentButtonRight);............. |
| 4bc0 | 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 0a | if.(EditorGUI.EndChangeCheck()). |
| 4be0 | 20 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 53 65 | ............{.................Se |
| 4c00 | 74 48 6f 72 69 7a 6f 6e 74 61 6c 41 6c 69 67 6e 6d 65 6e 74 28 61 6c 69 67 6e 6d 65 6e 74 2c 20 | tHorizontalAlignment(alignment,. |
| 4c20 | 48 6f 72 69 7a 6f 6e 74 61 6c 54 65 78 74 41 6c 69 67 6d 65 6e 74 2e 52 69 67 68 74 29 3b 0a 20 | HorizontalTextAligment.Right);.. |
| 4c40 | 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 | ...........}.........}.......... |
| 4c60 | 70 72 69 76 61 74 65 20 73 74 61 74 69 63 20 76 6f 69 64 20 44 6f 56 65 72 74 69 63 61 6c 41 6c | private.static.void.DoVerticalAl |
| 4c80 | 69 67 6d 65 6e 74 43 6f 6e 74 72 6f 6c 28 52 65 63 74 20 70 6f 73 69 74 69 6f 6e 2c 20 53 65 72 | igmentControl(Rect.position,.Ser |
| 4ca0 | 69 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 20 61 6c 69 67 6e 6d 65 6e 74 29 0a 20 20 20 20 20 | ializedProperty.alignment)...... |
| 4cc0 | 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 54 65 78 74 41 6e 63 68 6f 72 20 74 61 20 3d | ...{.............TextAnchor.ta.= |
| 4ce0 | 20 28 54 65 78 74 41 6e 63 68 6f 72 29 61 6c 69 67 6e 6d 65 6e 74 2e 69 6e 74 56 61 6c 75 65 3b | .(TextAnchor)alignment.intValue; |
| 4d00 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 56 65 72 74 69 63 61 6c 54 65 78 74 41 6c 69 67 6d 65 6e | .............VerticalTextAligmen |
| 4d20 | 74 20 76 65 72 74 69 63 61 6c 54 65 78 74 41 6c 69 67 6d 65 6e 74 20 3d 20 47 65 74 56 65 72 74 | t.verticalTextAligment.=.GetVert |
| 4d40 | 69 63 61 6c 41 6c 69 67 6e 6d 65 6e 74 28 74 61 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 | icalAlignment(ta);.............. |
| 4d60 | 62 6f 6f 6c 20 74 6f 70 41 6c 69 67 6e 20 3d 20 28 76 65 72 74 69 63 61 6c 54 65 78 74 41 6c 69 | bool.topAlign.=.(verticalTextAli |
| 4d80 | 67 6d 65 6e 74 20 3d 3d 20 56 65 72 74 69 63 61 6c 54 65 78 74 41 6c 69 67 6d 65 6e 74 2e 54 6f | gment.==.VerticalTextAligment.To |
| 4da0 | 70 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 6f 6f 6c 20 6d 69 64 64 6c 65 41 6c 69 67 6e | p);.............bool.middleAlign |
| 4dc0 | 20 3d 20 28 76 65 72 74 69 63 61 6c 54 65 78 74 41 6c 69 67 6d 65 6e 74 20 3d 3d 20 56 65 72 74 | .=.(verticalTextAligment.==.Vert |
| 4de0 | 69 63 61 6c 54 65 78 74 41 6c 69 67 6d 65 6e 74 2e 4d 69 64 64 6c 65 29 3b 0a 20 20 20 20 20 20 | icalTextAligment.Middle);....... |
| 4e00 | 20 20 20 20 20 20 62 6f 6f 6c 20 62 6f 74 74 6f 6d 41 6c 69 67 6e 20 3d 20 28 76 65 72 74 69 63 | ......bool.bottomAlign.=.(vertic |
| 4e20 | 61 6c 54 65 78 74 41 6c 69 67 6d 65 6e 74 20 3d 3d 20 56 65 72 74 69 63 61 6c 54 65 78 74 41 6c | alTextAligment.==.VerticalTextAl |
| 4e40 | 69 67 6d 65 6e 74 2e 42 6f 74 74 6f 6d 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 | igment.Bottom);..............if. |
| 4e60 | 28 61 6c 69 67 6e 6d 65 6e 74 2e 68 61 73 4d 75 6c 74 69 70 6c 65 44 69 66 66 65 72 65 6e 74 56 | (alignment.hasMultipleDifferentV |
| 4e80 | 61 6c 75 65 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 | alues).............{............ |
| 4ea0 | 20 20 20 20 20 66 6f 72 65 61 63 68 20 28 76 61 72 20 6f 62 6a 20 69 6e 20 61 6c 69 67 6e 6d 65 | .....foreach.(var.obj.in.alignme |
| 4ec0 | 6e 74 2e 73 65 72 69 61 6c 69 7a 65 64 4f 62 6a 65 63 74 2e 74 61 72 67 65 74 4f 62 6a 65 63 74 | nt.serializedObject.targetObject |
| 4ee0 | 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 | s).................{............ |
| 4f00 | 20 20 20 20 20 20 20 20 20 54 65 78 74 20 74 65 78 74 20 3d 20 6f 62 6a 20 61 73 20 54 65 78 74 | .........Text.text.=.obj.as.Text |
| 4f20 | 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 54 65 78 74 41 6e 63 68 6f 72 | ;.....................TextAnchor |
| 4f40 | 20 74 65 78 74 41 6c 69 67 6e 6d 65 6e 74 20 3d 20 74 65 78 74 2e 61 6c 69 67 6e 6d 65 6e 74 3b | .textAlignment.=.text.alignment; |
| 4f60 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 65 72 74 69 63 61 6c 54 65 78 | .....................verticalTex |
| 4f80 | 74 41 6c 69 67 6d 65 6e 74 20 3d 20 47 65 74 56 65 72 74 69 63 61 6c 41 6c 69 67 6e 6d 65 6e 74 | tAligment.=.GetVerticalAlignment |
| 4fa0 | 28 74 65 78 74 41 6c 69 67 6e 6d 65 6e 74 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | (textAlignment);................ |
| 4fc0 | 20 20 20 20 20 74 6f 70 41 6c 69 67 6e 20 3d 20 74 6f 70 41 6c 69 67 6e 20 7c 7c 20 28 76 65 72 | .....topAlign.=.topAlign.||.(ver |
| 4fe0 | 74 69 63 61 6c 54 65 78 74 41 6c 69 67 6d 65 6e 74 20 3d 3d 20 56 65 72 74 69 63 61 6c 54 65 78 | ticalTextAligment.==.VerticalTex |
| 5000 | 74 41 6c 69 67 6d 65 6e 74 2e 54 6f 70 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | tAligment.Top);................. |
| 5020 | 20 20 20 20 6d 69 64 64 6c 65 41 6c 69 67 6e 20 3d 20 6d 69 64 64 6c 65 41 6c 69 67 6e 20 7c 7c | ....middleAlign.=.middleAlign.|| |
| 5040 | 20 28 76 65 72 74 69 63 61 6c 54 65 78 74 41 6c 69 67 6d 65 6e 74 20 3d 3d 20 56 65 72 74 69 63 | .(verticalTextAligment.==.Vertic |
| 5060 | 61 6c 54 65 78 74 41 6c 69 67 6d 65 6e 74 2e 4d 69 64 64 6c 65 29 3b 0a 20 20 20 20 20 20 20 20 | alTextAligment.Middle);......... |
| 5080 | 20 20 20 20 20 20 20 20 20 20 20 20 62 6f 74 74 6f 6d 41 6c 69 67 6e 20 3d 20 62 6f 74 74 6f 6d | ............bottomAlign.=.bottom |
| 50a0 | 41 6c 69 67 6e 20 7c 7c 20 28 76 65 72 74 69 63 61 6c 54 65 78 74 41 6c 69 67 6d 65 6e 74 20 3d | Align.||.(verticalTextAligment.= |
| 50c0 | 3d 20 56 65 72 74 69 63 61 6c 54 65 78 74 41 6c 69 67 6d 65 6e 74 2e 42 6f 74 74 6f 6d 29 3b 0a | =.VerticalTextAligment.Bottom);. |
| 50e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a | ................}.............}. |
| 5100 | 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 6f 73 69 74 69 6f 6e 2e 77 69 64 74 68 20 3d 20 6b | ..............position.width.=.k |
| 5120 | 41 6c 69 67 6e 6d 65 6e 74 42 75 74 74 6f 6e 57 69 64 74 68 3b 0a 0a 20 20 20 20 20 20 20 20 20 | AlignmentButtonWidth;........... |
| 5140 | 20 20 20 2f 2f 20 70 6f 73 69 74 69 6f 6e 2e 78 20 2b 3d 20 70 6f 73 69 74 69 6f 6e 2e 77 69 64 | ...//.position.x.+=.position.wid |
| 5160 | 74 68 3b 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 | th;.............EditorGUI.BeginC |
| 5180 | 68 61 6e 67 65 43 68 65 63 6b 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 | hangeCheck();.............Editor |
| 51a0 | 54 6f 67 67 6c 65 28 70 6f 73 69 74 69 6f 6e 2c 20 74 6f 70 41 6c 69 67 6e 2c 20 74 6f 70 41 6c | Toggle(position,.topAlign,.topAl |
| 51c0 | 69 67 6e 20 3f 20 53 74 79 6c 65 73 2e 6d 5f 54 6f 70 41 6c 69 67 6e 54 65 78 74 41 63 74 69 76 | ign.?.Styles.m_TopAlignTextActiv |
| 51e0 | 65 20 3a 20 53 74 79 6c 65 73 2e 6d 5f 54 6f 70 41 6c 69 67 6e 54 65 78 74 2c 20 53 74 79 6c 65 | e.:.Styles.m_TopAlignText,.Style |
| 5200 | 73 2e 61 6c 69 67 6e 6d 65 6e 74 42 75 74 74 6f 6e 4c 65 66 74 29 3b 0a 20 20 20 20 20 20 20 20 | s.alignmentButtonLeft);......... |
| 5220 | 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 |
| 5240 | 28 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ()).............{............... |
| 5260 | 20 20 53 65 74 56 65 72 74 69 63 61 6c 41 6c 69 67 6e 6d 65 6e 74 28 61 6c 69 67 6e 6d 65 6e 74 | ..SetVerticalAlignment(alignment |
| 5280 | 2c 20 56 65 72 74 69 63 61 6c 54 65 78 74 41 6c 69 67 6d 65 6e 74 2e 54 6f 70 29 3b 0a 20 20 20 | ,.VerticalTextAligment.Top);.... |
| 52a0 | 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 6f 73 69 74 69 6f 6e | .........}..............position |
| 52c0 | 2e 78 20 2b 3d 20 70 6f 73 69 74 69 6f 6e 2e 77 69 64 74 68 3b 0a 20 20 20 20 20 20 20 20 20 20 | .x.+=.position.width;........... |
| 52e0 | 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 0a | ..EditorGUI.BeginChangeCheck();. |
| 5300 | 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 54 6f 67 67 6c 65 28 70 6f 73 69 74 69 6f | ............EditorToggle(positio |
| 5320 | 6e 2c 20 6d 69 64 64 6c 65 41 6c 69 67 6e 2c 20 6d 69 64 64 6c 65 41 6c 69 67 6e 20 3f 20 53 74 | n,.middleAlign,.middleAlign.?.St |
| 5340 | 79 6c 65 73 2e 6d 5f 4d 69 64 64 6c 65 41 6c 69 67 6e 54 65 78 74 41 63 74 69 76 65 20 3a 20 53 | yles.m_MiddleAlignTextActive.:.S |
| 5360 | 74 79 6c 65 73 2e 6d 5f 4d 69 64 64 6c 65 41 6c 69 67 6e 54 65 78 74 2c 20 53 74 79 6c 65 73 2e | tyles.m_MiddleAlignText,.Styles. |
| 5380 | 61 6c 69 67 6e 6d 65 6e 74 42 75 74 74 6f 6e 4d 69 64 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 | alignmentButtonMid);............ |
| 53a0 | 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()) |
| 53c0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 53 | .............{.................S |
| 53e0 | 65 74 56 65 72 74 69 63 61 6c 41 6c 69 67 6e 6d 65 6e 74 28 61 6c 69 67 6e 6d 65 6e 74 2c 20 56 | etVerticalAlignment(alignment,.V |
| 5400 | 65 72 74 69 63 61 6c 54 65 78 74 41 6c 69 67 6d 65 6e 74 2e 4d 69 64 64 6c 65 29 3b 0a 20 20 20 | erticalTextAligment.Middle);.... |
| 5420 | 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 6f 73 69 74 69 6f 6e | .........}..............position |
| 5440 | 2e 78 20 2b 3d 20 70 6f 73 69 74 69 6f 6e 2e 77 69 64 74 68 3b 0a 20 20 20 20 20 20 20 20 20 20 | .x.+=.position.width;........... |
| 5460 | 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 0a | ..EditorGUI.BeginChangeCheck();. |
| 5480 | 20 20 20 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 54 6f 67 67 6c 65 28 70 6f 73 69 74 69 6f | ............EditorToggle(positio |
| 54a0 | 6e 2c 20 62 6f 74 74 6f 6d 41 6c 69 67 6e 2c 20 62 6f 74 74 6f 6d 41 6c 69 67 6e 20 3f 20 53 74 | n,.bottomAlign,.bottomAlign.?.St |
| 54c0 | 79 6c 65 73 2e 6d 5f 42 6f 74 74 6f 6d 41 6c 69 67 6e 54 65 78 74 41 63 74 69 76 65 20 3a 20 53 | yles.m_BottomAlignTextActive.:.S |
| 54e0 | 74 79 6c 65 73 2e 6d 5f 42 6f 74 74 6f 6d 41 6c 69 67 6e 54 65 78 74 2c 20 53 74 79 6c 65 73 2e | tyles.m_BottomAlignText,.Styles. |
| 5500 | 61 6c 69 67 6e 6d 65 6e 74 42 75 74 74 6f 6e 52 69 67 68 74 29 3b 0a 20 20 20 20 20 20 20 20 20 | alignmentButtonRight);.......... |
| 5520 | 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( |
| 5540 | 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | )).............{................ |
| 5560 | 20 53 65 74 56 65 72 74 69 63 61 6c 41 6c 69 67 6e 6d 65 6e 74 28 61 6c 69 67 6e 6d 65 6e 74 2c | .SetVerticalAlignment(alignment, |
| 5580 | 20 56 65 72 74 69 63 61 6c 54 65 78 74 41 6c 69 67 6d 65 6e 74 2e 42 6f 74 74 6f 6d 29 3b 0a 20 | .VerticalTextAligment.Bottom);.. |
| 55a0 | 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 | ...........}.........}.......... |
| 55c0 | 70 72 69 76 61 74 65 20 73 74 61 74 69 63 20 62 6f 6f 6c 20 45 64 69 74 6f 72 54 6f 67 67 6c 65 | private.static.bool.EditorToggle |
| 55e0 | 28 52 65 63 74 20 70 6f 73 69 74 69 6f 6e 2c 20 62 6f 6f 6c 20 76 61 6c 75 65 2c 20 47 55 49 43 | (Rect.position,.bool.value,.GUIC |
| 5600 | 6f 6e 74 65 6e 74 20 63 6f 6e 74 65 6e 74 2c 20 47 55 49 53 74 79 6c 65 20 73 74 79 6c 65 29 0a | ontent.content,.GUIStyle.style). |
| 5620 | 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 74 20 68 61 73 68 43 6f | ........{.............int.hashCo |
| 5640 | 64 65 20 3d 20 22 41 6c 69 67 6e 54 6f 67 67 6c 65 22 2e 47 65 74 48 61 73 68 43 6f 64 65 28 29 | de.=."AlignToggle".GetHashCode() |
| 5660 | 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 74 20 69 64 20 3d 20 45 64 69 74 6f 72 47 55 49 | ;.............int.id.=.EditorGUI |
| 5680 | 55 74 69 6c 69 74 79 2e 47 65 74 43 6f 6e 74 72 6f 6c 49 44 28 68 61 73 68 43 6f 64 65 2c 20 46 | Utility.GetControlID(hashCode,.F |
| 56a0 | 6f 63 75 73 54 79 70 65 2e 4b 65 79 62 6f 61 72 64 2c 20 70 6f 73 69 74 69 6f 6e 29 3b 0a 20 20 | ocusType.Keyboard,.position);... |
| 56c0 | 20 20 20 20 20 20 20 20 20 20 45 76 65 6e 74 20 65 76 74 20 3d 20 45 76 65 6e 74 2e 63 75 72 72 | ..........Event.evt.=.Event.curr |
| 56e0 | 65 6e 74 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 54 6f 67 67 6c 65 20 73 65 6c 65 | ent;..............//.Toggle.sele |
| 5700 | 63 74 65 64 20 74 6f 67 67 6c 65 20 6f 6e 20 73 70 61 63 65 20 6f 72 20 72 65 74 75 72 6e 20 6b | cted.toggle.on.space.or.return.k |
| 5720 | 65 79 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 55 74 69 6c | ey.............if.(EditorGUIUtil |
| 5740 | 69 74 79 2e 6b 65 79 62 6f 61 72 64 43 6f 6e 74 72 6f 6c 20 3d 3d 20 69 64 20 26 26 20 65 76 74 | ity.keyboardControl.==.id.&&.evt |
| 5760 | 2e 74 79 70 65 20 3d 3d 20 45 76 65 6e 74 54 79 70 65 2e 4b 65 79 44 6f 77 6e 20 26 26 20 28 65 | .type.==.EventType.KeyDown.&&.(e |
| 5780 | 76 74 2e 6b 65 79 43 6f 64 65 20 3d 3d 20 4b 65 79 43 6f 64 65 2e 53 70 61 63 65 20 7c 7c 20 65 | vt.keyCode.==.KeyCode.Space.||.e |
| 57a0 | 76 74 2e 6b 65 79 43 6f 64 65 20 3d 3d 20 4b 65 79 43 6f 64 65 2e 52 65 74 75 72 6e 20 7c 7c 20 | vt.keyCode.==.KeyCode.Return.||. |
| 57c0 | 65 76 74 2e 6b 65 79 43 6f 64 65 20 3d 3d 20 4b 65 79 43 6f 64 65 2e 4b 65 79 70 61 64 45 6e 74 | evt.keyCode.==.KeyCode.KeypadEnt |
| 57e0 | 65 72 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | er)).............{.............. |
| 5800 | 20 20 20 76 61 6c 75 65 20 3d 20 21 76 61 6c 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | ...value.=.!value;.............. |
| 5820 | 20 20 20 65 76 74 2e 55 73 65 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 47 55 | ...evt.Use();.................GU |
| 5840 | 49 2e 63 68 61 6e 67 65 64 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a | I.changed.=.true;.............}. |
| 5860 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 65 76 74 2e 74 79 70 65 20 3d 3d 20 45 76 65 | .............if.(evt.type.==.Eve |
| 5880 | 6e 74 54 79 70 65 2e 4b 65 79 44 6f 77 6e 20 26 26 20 45 76 65 6e 74 2e 63 75 72 72 65 6e 74 2e | ntType.KeyDown.&&.Event.current. |
| 58a0 | 62 75 74 74 6f 6e 20 3d 3d 20 30 20 26 26 20 70 6f 73 69 74 69 6f 6e 2e 43 6f 6e 74 61 69 6e 73 | button.==.0.&&.position.Contains |
| 58c0 | 28 45 76 65 6e 74 2e 63 75 72 72 65 6e 74 2e 6d 6f 75 73 65 50 6f 73 69 74 69 6f 6e 29 29 0a 20 | (Event.current.mousePosition)).. |
| 58e0 | 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 47 55 49 | ...........{.................GUI |
| 5900 | 55 74 69 6c 69 74 79 2e 6b 65 79 62 6f 61 72 64 43 6f 6e 74 72 6f 6c 20 3d 20 69 64 3b 0a 20 20 | Utility.keyboardControl.=.id;... |
| 5920 | 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 65 | ..............EditorGUIUtility.e |
| 5940 | 64 69 74 69 6e 67 54 65 78 74 46 69 65 6c 64 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 20 | ditingTextField.=.false;........ |
| 5960 | 20 20 20 20 20 20 20 20 20 48 61 6e 64 6c 65 55 74 69 6c 69 74 79 2e 52 65 70 61 69 6e 74 28 29 | .........HandleUtility.Repaint() |
| 5980 | 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 6f 6f | ;.............}..............boo |
| 59a0 | 6c 20 72 65 74 75 72 6e 56 61 6c 75 65 20 3d 20 47 55 49 2e 54 6f 67 67 6c 65 28 70 6f 73 69 74 | l.returnValue.=.GUI.Toggle(posit |
| 59c0 | 69 6f 6e 2c 20 69 64 2c 20 76 61 6c 75 65 2c 20 63 6f 6e 74 65 6e 74 2c 20 73 74 79 6c 65 29 3b | ion,.id,.value,.content,.style); |
| 59e0 | 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 72 65 74 75 72 6e 56 61 6c 75 65 | ..............return.returnValue |
| 5a00 | 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 73 74 61 | ;.........}..........private.sta |
| 5a20 | 74 69 63 20 48 6f 72 69 7a 6f 6e 74 61 6c 54 65 78 74 41 6c 69 67 6d 65 6e 74 20 47 65 74 48 6f | tic.HorizontalTextAligment.GetHo |
| 5a40 | 72 69 7a 6f 6e 74 61 6c 41 6c 69 67 6e 6d 65 6e 74 28 54 65 78 74 41 6e 63 68 6f 72 20 74 61 29 | rizontalAlignment(TextAnchor.ta) |
| 5a60 | 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 77 69 74 63 68 20 28 74 | .........{.............switch.(t |
| 5a80 | 61 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | a).............{................ |
| 5aa0 | 20 63 61 73 65 20 54 65 78 74 41 6e 63 68 6f 72 2e 4d 69 64 64 6c 65 43 65 6e 74 65 72 3a 0a 20 | .case.TextAnchor.MiddleCenter:.. |
| 5ac0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 54 65 78 74 41 6e 63 68 6f 72 2e 55 | ...............case.TextAnchor.U |
| 5ae0 | 70 70 65 72 43 65 6e 74 65 72 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 | pperCenter:.................case |
| 5b00 | 20 54 65 78 74 41 6e 63 68 6f 72 2e 4c 6f 77 65 72 43 65 6e 74 65 72 3a 0a 20 20 20 20 20 20 20 | .TextAnchor.LowerCenter:........ |
| 5b20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 48 6f 72 69 7a 6f 6e 74 61 6c 54 65 | .............return.HorizontalTe |
| 5b40 | 78 74 41 6c 69 67 6d 65 6e 74 2e 43 65 6e 74 65 72 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 | xtAligment.Center;.............. |
| 5b60 | 20 20 20 20 63 61 73 65 20 54 65 78 74 41 6e 63 68 6f 72 2e 55 70 70 65 72 52 69 67 68 74 3a 0a | ....case.TextAnchor.UpperRight:. |
| 5b80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 54 65 78 74 41 6e 63 68 6f 72 2e | ................case.TextAnchor. |
| 5ba0 | 4d 69 64 64 6c 65 52 69 67 68 74 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 | MiddleRight:.................cas |
| 5bc0 | 65 20 54 65 78 74 41 6e 63 68 6f 72 2e 4c 6f 77 65 72 52 69 67 68 74 3a 0a 20 20 20 20 20 20 20 | e.TextAnchor.LowerRight:........ |
| 5be0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 48 6f 72 69 7a 6f 6e 74 61 6c 54 65 | .............return.HorizontalTe |
| 5c00 | 78 74 41 6c 69 67 6d 65 6e 74 2e 52 69 67 68 74 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | xtAligment.Right;............... |
| 5c20 | 20 20 20 63 61 73 65 20 54 65 78 74 41 6e 63 68 6f 72 2e 55 70 70 65 72 4c 65 66 74 3a 0a 20 20 | ...case.TextAnchor.UpperLeft:... |
| 5c40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 54 65 78 74 41 6e 63 68 6f 72 2e 4d 69 | ..............case.TextAnchor.Mi |
| 5c60 | 64 64 6c 65 4c 65 66 74 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 54 | ddleLeft:.................case.T |
| 5c80 | 65 78 74 41 6e 63 68 6f 72 2e 4c 6f 77 65 72 4c 65 66 74 3a 0a 20 20 20 20 20 20 20 20 20 20 20 | extAnchor.LowerLeft:............ |
| 5ca0 | 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 48 6f 72 69 7a 6f 6e 74 61 6c 54 65 78 74 41 6c | .........return.HorizontalTextAl |
| 5cc0 | 69 67 6d 65 6e 74 2e 4c 65 66 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 | igment.Left;.............}...... |
| 5ce0 | 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 48 6f 72 69 7a 6f 6e 74 61 6c 54 65 78 74 41 6c 69 | ........return.HorizontalTextAli |
| 5d00 | 67 6d 65 6e 74 2e 4c 65 66 74 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 70 | gment.Left;.........}..........p |
| 5d20 | 72 69 76 61 74 65 20 73 74 61 74 69 63 20 56 65 72 74 69 63 61 6c 54 65 78 74 41 6c 69 67 6d 65 | rivate.static.VerticalTextAligme |
| 5d40 | 6e 74 20 47 65 74 56 65 72 74 69 63 61 6c 41 6c 69 67 6e 6d 65 6e 74 28 54 65 78 74 41 6e 63 68 | nt.GetVerticalAlignment(TextAnch |
| 5d60 | 6f 72 20 74 61 29 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 77 69 | or.ta).........{.............swi |
| 5d80 | 74 63 68 20 28 74 61 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 | tch.(ta).............{.......... |
| 5da0 | 20 20 20 20 20 20 20 63 61 73 65 20 54 65 78 74 41 6e 63 68 6f 72 2e 55 70 70 65 72 4c 65 66 74 | .......case.TextAnchor.UpperLeft |
| 5dc0 | 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 54 65 78 74 41 6e 63 68 6f | :.................case.TextAncho |
| 5de0 | 72 2e 55 70 70 65 72 43 65 6e 74 65 72 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 | r.UpperCenter:.................c |
| 5e00 | 61 73 65 20 54 65 78 74 41 6e 63 68 6f 72 2e 55 70 70 65 72 52 69 67 68 74 3a 0a 20 20 20 20 20 | ase.TextAnchor.UpperRight:...... |
| 5e20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 56 65 72 74 69 63 61 6c 54 65 | ...............return.VerticalTe |
| 5e40 | 78 74 41 6c 69 67 6d 65 6e 74 2e 54 6f 70 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | xtAligment.Top;................. |
| 5e60 | 20 63 61 73 65 20 54 65 78 74 41 6e 63 68 6f 72 2e 4d 69 64 64 6c 65 4c 65 66 74 3a 0a 20 20 20 | .case.TextAnchor.MiddleLeft:.... |
| 5e80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 54 65 78 74 41 6e 63 68 6f 72 2e 4d 69 64 | .............case.TextAnchor.Mid |
| 5ea0 | 64 6c 65 43 65 6e 74 65 72 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 | dleCenter:.................case. |
| 5ec0 | 54 65 78 74 41 6e 63 68 6f 72 2e 4d 69 64 64 6c 65 52 69 67 68 74 3a 0a 20 20 20 20 20 20 20 20 | TextAnchor.MiddleRight:......... |
| 5ee0 | 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 56 65 72 74 69 63 61 6c 54 65 78 74 41 | ............return.VerticalTextA |
| 5f00 | 6c 69 67 6d 65 6e 74 2e 4d 69 64 64 6c 65 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ligment.Middle;................. |
| 5f20 | 20 63 61 73 65 20 54 65 78 74 41 6e 63 68 6f 72 2e 4c 6f 77 65 72 4c 65 66 74 3a 0a 20 20 20 20 | .case.TextAnchor.LowerLeft:..... |
| 5f40 | 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 54 65 78 74 41 6e 63 68 6f 72 2e 4c 6f 77 65 | ............case.TextAnchor.Lowe |
| 5f60 | 72 43 65 6e 74 65 72 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 54 65 | rCenter:.................case.Te |
| 5f80 | 78 74 41 6e 63 68 6f 72 2e 4c 6f 77 65 72 52 69 67 68 74 3a 0a 20 20 20 20 20 20 20 20 20 20 20 | xtAnchor.LowerRight:............ |
| 5fa0 | 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 56 65 72 74 69 63 61 6c 54 65 78 74 41 6c 69 67 | .........return.VerticalTextAlig |
| 5fc0 | 6d 65 6e 74 2e 42 6f 74 74 6f 6d 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 | ment.Bottom;.............}...... |
| 5fe0 | 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 56 65 72 74 69 63 61 6c 54 65 78 74 41 6c 69 67 6d | ........return.VerticalTextAligm |
| 6000 | 65 6e 74 2e 54 6f 70 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 2f 2f 20 57 | ent.Top;.........}..........//.W |
| 6020 | 65 20 63 61 6e 27 74 20 67 6f 20 74 68 72 6f 75 67 68 20 73 65 72 69 61 6c 69 7a 65 64 20 70 72 | e.can't.go.through.serialized.pr |
| 6040 | 6f 70 65 72 74 69 65 73 20 68 65 72 65 20 73 69 6e 63 65 20 77 65 27 72 65 20 73 68 6f 77 69 6e | operties.here.since.we're.showin |
| 6060 | 67 20 74 77 6f 20 63 6f 6e 74 72 6f 6c 73 20 66 6f 72 20 61 20 73 69 6e 67 6c 65 20 53 65 72 69 | g.two.controls.for.a.single.Seri |
| 6080 | 61 6c 69 7a 7a 65 64 50 72 6f 70 65 72 74 79 2e 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 | alizzedProperty..........private |
| 60a0 | 20 73 74 61 74 69 63 20 76 6f 69 64 20 53 65 74 48 6f 72 69 7a 6f 6e 74 61 6c 41 6c 69 67 6e 6d | .static.void.SetHorizontalAlignm |
| 60c0 | 65 6e 74 28 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 72 74 79 20 61 6c 69 67 6e 6d 65 6e 74 | ent(SerializedProperty.alignment |
| 60e0 | 2c 20 48 6f 72 69 7a 6f 6e 74 61 6c 54 65 78 74 41 6c 69 67 6d 65 6e 74 20 68 6f 72 69 7a 6f 6e | ,.HorizontalTextAligment.horizon |
| 6100 | 74 61 6c 41 6c 69 67 6e 6d 65 6e 74 29 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 | talAlignment).........{......... |
| 6120 | 20 20 20 20 66 6f 72 65 61 63 68 20 28 76 61 72 20 6f 62 6a 20 69 6e 20 61 6c 69 67 6e 6d 65 6e | ....foreach.(var.obj.in.alignmen |
| 6140 | 74 2e 73 65 72 69 61 6c 69 7a 65 64 4f 62 6a 65 63 74 2e 74 61 72 67 65 74 4f 62 6a 65 63 74 73 | t.serializedObject.targetObjects |
| 6160 | 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ).............{................. |
| 6180 | 54 65 78 74 20 74 65 78 74 20 3d 20 6f 62 6a 20 61 73 20 54 65 78 74 3b 0a 20 20 20 20 20 20 20 | Text.text.=.obj.as.Text;........ |
| 61a0 | 20 20 20 20 20 20 20 20 20 56 65 72 74 69 63 61 6c 54 65 78 74 41 6c 69 67 6d 65 6e 74 20 63 75 | .........VerticalTextAligment.cu |
| 61c0 | 72 72 65 6e 74 56 65 72 74 69 63 61 6c 41 6c 69 67 6d 65 6e 74 20 3d 20 47 65 74 56 65 72 74 69 | rrentVerticalAligment.=.GetVerti |
| 61e0 | 63 61 6c 41 6c 69 67 6e 6d 65 6e 74 28 74 65 78 74 2e 61 6c 69 67 6e 6d 65 6e 74 29 3b 0a 20 20 | calAlignment(text.alignment);... |
| 6200 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 55 6e 64 6f 2e 52 65 63 6f 72 64 4f 62 6a 65 63 74 28 | ..............Undo.RecordObject( |
| 6220 | 74 65 78 74 2c 20 22 48 6f 72 69 7a 6f 6e 74 61 6c 20 41 6c 69 67 6e 6d 65 6e 74 22 29 3b 0a 20 | text,."Horizontal.Alignment");.. |
| 6240 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 65 78 74 2e 61 6c 69 67 6e 6d 65 6e 74 20 3d 20 | ...............text.alignment.=. |
| 6260 | 47 65 74 41 6e 63 68 6f 72 28 63 75 72 72 65 6e 74 56 65 72 74 69 63 61 6c 41 6c 69 67 6d 65 6e | GetAnchor(currentVerticalAligmen |
| 6280 | 74 2c 20 68 6f 72 69 7a 6f 6e 74 61 6c 41 6c 69 67 6e 6d 65 6e 74 29 3b 0a 20 20 20 20 20 20 20 | t,.horizontalAlignment);........ |
| 62a0 | 20 20 20 20 20 20 20 20 20 45 64 69 74 6f 72 55 74 69 6c 69 74 79 2e 53 65 74 44 69 72 74 79 28 | .........EditorUtility.SetDirty( |
| 62c0 | 6f 62 6a 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 | obj);.............}.........}... |
| 62e0 | 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 73 74 61 74 69 63 20 76 6f 69 64 20 53 65 74 56 65 | .......private.static.void.SetVe |
| 6300 | 72 74 69 63 61 6c 41 6c 69 67 6e 6d 65 6e 74 28 53 65 72 69 61 6c 69 7a 65 64 50 72 6f 70 65 72 | rticalAlignment(SerializedProper |
| 6320 | 74 79 20 61 6c 69 67 6e 6d 65 6e 74 2c 20 56 65 72 74 69 63 61 6c 54 65 78 74 41 6c 69 67 6d 65 | ty.alignment,.VerticalTextAligme |
| 6340 | 6e 74 20 76 65 72 74 69 63 61 6c 41 6c 69 67 6e 6d 65 6e 74 29 0a 20 20 20 20 20 20 20 20 7b 0a | nt.verticalAlignment).........{. |
| 6360 | 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 65 61 63 68 20 28 76 61 72 20 6f 62 6a 20 69 6e 20 | ............foreach.(var.obj.in. |
| 6380 | 61 6c 69 67 6e 6d 65 6e 74 2e 73 65 72 69 61 6c 69 7a 65 64 4f 62 6a 65 63 74 2e 74 61 72 67 65 | alignment.serializedObject.targe |
| 63a0 | 74 4f 62 6a 65 63 74 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 | tObjects).............{......... |
| 63c0 | 20 20 20 20 20 20 20 20 54 65 78 74 20 74 65 78 74 20 3d 20 6f 62 6a 20 61 73 20 54 65 78 74 3b | ........Text.text.=.obj.as.Text; |
| 63e0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 48 6f 72 69 7a 6f 6e 74 61 6c 54 65 78 74 41 | .................HorizontalTextA |
| 6400 | 6c 69 67 6d 65 6e 74 20 63 75 72 72 65 6e 74 48 6f 72 69 7a 6f 6e 74 61 6c 41 6c 69 67 6d 65 6e | ligment.currentHorizontalAligmen |
| 6420 | 74 20 3d 20 47 65 74 48 6f 72 69 7a 6f 6e 74 61 6c 41 6c 69 67 6e 6d 65 6e 74 28 74 65 78 74 2e | t.=.GetHorizontalAlignment(text. |
| 6440 | 61 6c 69 67 6e 6d 65 6e 74 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 55 6e 64 6f | alignment);.................Undo |
| 6460 | 2e 52 65 63 6f 72 64 4f 62 6a 65 63 74 28 74 65 78 74 2c 20 22 56 65 72 74 69 63 61 6c 20 41 6c | .RecordObject(text,."Vertical.Al |
| 6480 | 69 67 6e 6d 65 6e 74 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 65 78 74 2e | ignment");.................text. |
| 64a0 | 61 6c 69 67 6e 6d 65 6e 74 20 3d 20 47 65 74 41 6e 63 68 6f 72 28 76 65 72 74 69 63 61 6c 41 6c | alignment.=.GetAnchor(verticalAl |
| 64c0 | 69 67 6e 6d 65 6e 74 2c 20 63 75 72 72 65 6e 74 48 6f 72 69 7a 6f 6e 74 61 6c 41 6c 69 67 6d 65 | ignment,.currentHorizontalAligme |
| 64e0 | 6e 74 29 3b 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 69 6c 69 | nt);.................EditorUtili |
| 6500 | 74 79 2e 53 65 74 44 69 72 74 79 28 6f 62 6a 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a | ty.SetDirty(obj);.............}. |
| 6520 | 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 73 74 61 74 69 | ........}..........private.stati |
| 6540 | 63 20 54 65 78 74 41 6e 63 68 6f 72 20 47 65 74 41 6e 63 68 6f 72 28 56 65 72 74 69 63 61 6c 54 | c.TextAnchor.GetAnchor(VerticalT |
| 6560 | 65 78 74 41 6c 69 67 6d 65 6e 74 20 76 65 72 74 69 63 61 6c 54 65 78 74 41 6c 69 67 6d 65 6e 74 | extAligment.verticalTextAligment |
| 6580 | 2c 20 48 6f 72 69 7a 6f 6e 74 61 6c 54 65 78 74 41 6c 69 67 6d 65 6e 74 20 68 6f 72 69 7a 6f 6e | ,.HorizontalTextAligment.horizon |
| 65a0 | 74 61 6c 54 65 78 74 41 6c 69 67 6d 65 6e 74 29 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 | talTextAligment).........{...... |
| 65c0 | 20 20 20 20 20 20 20 54 65 78 74 41 6e 63 68 6f 72 20 61 63 20 3d 20 54 65 78 74 41 6e 63 68 6f | .......TextAnchor.ac.=.TextAncho |
| 65e0 | 72 2e 55 70 70 65 72 4c 65 66 74 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 77 69 74 63 68 | r.UpperLeft;..............switch |
| 6600 | 20 28 68 6f 72 69 7a 6f 6e 74 61 6c 54 65 78 74 41 6c 69 67 6d 65 6e 74 29 0a 20 20 20 20 20 20 | .(horizontalTextAligment)....... |
| 6620 | 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 48 6f 72 | ......{.................case.Hor |
| 6640 | 69 7a 6f 6e 74 61 6c 54 65 78 74 41 6c 69 67 6d 65 6e 74 2e 4c 65 66 74 3a 0a 20 20 20 20 20 20 | izontalTextAligment.Left:....... |
| 6660 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 77 69 74 63 68 20 28 76 65 72 74 69 63 61 6c 54 65 | ..............switch.(verticalTe |
| 6680 | 78 74 41 6c 69 67 6d 65 6e 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | xtAligment)..................... |
| 66a0 | 7b 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 63 61 73 65 20 56 | {.........................case.V |
| 66c0 | 65 72 74 69 63 61 6c 54 65 78 74 41 6c 69 67 6d 65 6e 74 2e 42 6f 74 74 6f 6d 3a 0a 20 20 20 20 | erticalTextAligment.Bottom:..... |
| 66e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 20 3d 20 54 65 78 | ........................ac.=.Tex |
| 6700 | 74 41 6e 63 68 6f 72 2e 4c 6f 77 65 72 4c 65 66 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | tAnchor.LowerLeft;.............. |
| 6720 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 20 20 | ...............break;........... |
| 6740 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 56 65 72 74 69 63 61 6c 54 65 78 74 41 | ..............case.VerticalTextA |
| 6760 | 6c 69 67 6d 65 6e 74 2e 4d 69 64 64 6c 65 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ligment.Middle:................. |
| 6780 | 20 20 20 20 20 20 20 20 20 20 20 20 61 63 20 3d 20 54 65 78 74 41 6e 63 68 6f 72 2e 4d 69 64 64 | ............ac.=.TextAnchor.Midd |
| 67a0 | 6c 65 4c 65 66 74 3b 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 | leLeft;......................... |
| 67c0 | 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ....break;...................... |
| 67e0 | 20 20 20 64 65 66 61 75 6c 74 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ...default:..................... |
| 6800 | 20 20 20 20 20 20 20 20 61 63 20 3d 20 54 65 78 74 41 6e 63 68 6f 72 2e 55 70 70 65 72 4c 65 66 | ........ac.=.TextAnchor.UpperLef |
| 6820 | 74 3b 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 62 | t;.............................b |
| 6840 | 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 | reak;.....................}..... |
| 6860 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 20 | ................break;.......... |
| 6880 | 20 20 20 20 20 20 20 63 61 73 65 20 48 6f 72 69 7a 6f 6e 74 61 6c 54 65 78 74 41 6c 69 67 6d 65 | .......case.HorizontalTextAligme |
| 68a0 | 6e 74 2e 43 65 6e 74 65 72 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 | nt.Center:.....................s |
| 68c0 | 77 69 74 63 68 20 28 76 65 72 74 69 63 61 6c 54 65 78 74 41 6c 69 67 6d 65 6e 74 29 0a 20 20 20 | witch.(verticalTextAligment).... |
| 68e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | .................{.............. |
| 6900 | 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 56 65 72 74 69 63 61 6c 54 65 78 74 41 6c 69 67 | ...........case.VerticalTextAlig |
| 6920 | 6d 65 6e 74 2e 42 6f 74 74 6f 6d 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ment.Bottom:.................... |
| 6940 | 20 20 20 20 20 20 20 20 20 61 63 20 3d 20 54 65 78 74 41 6e 63 68 6f 72 2e 4c 6f 77 65 72 43 65 | .........ac.=.TextAnchor.LowerCe |
| 6960 | 6e 74 65 72 3b 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 | nter;........................... |
| 6980 | 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ..break;........................ |
| 69a0 | 20 63 61 73 65 20 56 65 72 74 69 63 61 6c 54 65 78 74 41 6c 69 67 6d 65 6e 74 2e 4d 69 64 64 6c | .case.VerticalTextAligment.Middl |
| 69c0 | 65 3a 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 61 | e:.............................a |
| 69e0 | 63 20 3d 20 54 65 78 74 41 6e 63 68 6f 72 2e 4d 69 64 64 6c 65 43 65 6e 74 65 72 3b 0a 20 20 20 | c.=.TextAnchor.MiddleCenter;.... |
| 6a00 | 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 62 72 65 61 6b 3b 0a | .........................break;. |
| 6a20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 65 66 61 75 6c 74 3a | ........................default: |
| 6a40 | 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 61 63 20 | .............................ac. |
| 6a60 | 3d 20 54 65 78 74 41 6e 63 68 6f 72 2e 55 70 70 65 72 43 65 6e 74 65 72 3b 0a 20 20 20 20 20 20 | =.TextAnchor.UpperCenter;....... |
| 6a80 | 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 0a 20 20 20 | ......................break;.... |
| 6aa0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | .................}.............. |
| 6ac0 | 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 65 | .......break;.................de |
| 6ae0 | 66 61 75 6c 74 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 77 69 74 63 | fault:.....................switc |
| 6b00 | 68 20 28 76 65 72 74 69 63 61 6c 54 65 78 74 41 6c 69 67 6d 65 6e 74 29 0a 20 20 20 20 20 20 20 | h.(verticalTextAligment)........ |
| 6b20 | 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .............{.................. |
| 6b40 | 20 20 20 20 20 20 20 63 61 73 65 20 56 65 72 74 69 63 61 6c 54 65 78 74 41 6c 69 67 6d 65 6e 74 | .......case.VerticalTextAligment |
| 6b60 | 2e 42 6f 74 74 6f 6d 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | .Bottom:........................ |
| 6b80 | 20 20 20 20 20 61 63 20 3d 20 54 65 78 74 41 6e 63 68 6f 72 2e 4c 6f 77 65 72 52 69 67 68 74 3b | .....ac.=.TextAnchor.LowerRight; |
| 6ba0 | 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 62 72 65 | .............................bre |
| 6bc0 | 61 6b 3b 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 63 61 73 65 | ak;.........................case |
| 6be0 | 20 56 65 72 74 69 63 61 6c 54 65 78 74 41 6c 69 67 6d 65 6e 74 2e 4d 69 64 64 6c 65 3a 0a 20 20 | .VerticalTextAligment.Middle:... |
| 6c00 | 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 61 63 20 3d 20 54 | ..........................ac.=.T |
| 6c20 | 65 78 74 41 6e 63 68 6f 72 2e 4d 69 64 64 6c 65 52 69 67 68 74 3b 0a 20 20 20 20 20 20 20 20 20 | extAnchor.MiddleRight;.......... |
| 6c40 | 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 0a 20 20 20 20 20 20 | ...................break;....... |
| 6c60 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 65 66 61 75 6c 74 3a 0a 20 20 20 20 20 | ..................default:...... |
| 6c80 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 20 3d 20 54 65 78 74 | .......................ac.=.Text |
| 6ca0 | 41 6e 63 68 6f 72 2e 55 70 70 65 72 52 69 67 68 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | Anchor.UpperRight;.............. |
| 6cc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 20 20 | ...............break;........... |
| 6ce0 | 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ..........}..................... |
| 6d00 | 62 72 65 61 6b 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 | break;.............}............ |
| 6d20 | 20 72 65 74 75 72 6e 20 61 63 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 7d 0a 00 00 | .return.ac;.........}.....}.}... |
| 6d40 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0e 00 00 00 46 6f 6e 74 44 61 74 61 | ........................FontData |
| 6d60 | 44 72 61 77 65 72 00 00 0e 00 00 00 55 6e 69 74 79 45 64 69 74 6f 72 2e 55 49 00 00 | Drawer......UnityEditor.UI.. |