summaryrefslogtreecommitdiff
path: root/Library/Artifacts/13/131e366413f43bae324e98ee148ab120
blob: 05614ddfb48c300f4c3a23cdaafdef77a92f6e54 (plain)
ofshex dumpascii
0000 00 00 0f 81 00 00 39 58 00 00 00 15 00 00 10 00 00 00 00 00 32 30 31 39 2e 33 2e 36 66 31 00 fe ......9X............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 f8 28 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .(..............................
0fa0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0fc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0fe0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 e0 79 af 00 00 00 00 00 00 00 00 00 .....................y..........
1040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1080 00 00 00 00 00 00 00 00 13 00 00 00 41 64 76 61 6e 63 65 64 44 72 6f 70 64 6f 77 6e 47 55 49 00 ............AdvancedDropdownGUI.
10a0 64 28 00 00 23 69 66 20 55 4e 49 54 59 5f 45 44 49 54 4f 52 0d 0a 75 73 69 6e 67 20 53 79 73 74 d(..#if.UNITY_EDITOR..using.Syst
10c0 65 6d 3b 0d 0a 75 73 69 6e 67 20 53 79 73 74 65 6d 2e 4c 69 6e 71 3b 0d 0a 75 73 69 6e 67 20 55 em;..using.System.Linq;..using.U
10e0 6e 69 74 79 45 64 69 74 6f 72 3b 0d 0a 75 73 69 6e 67 20 55 6e 69 74 79 45 64 69 74 6f 72 2e 49 nityEditor;..using.UnityEditor.I
1100 4d 47 55 49 2e 43 6f 6e 74 72 6f 6c 73 3b 0d 0a 0d 0a 6e 61 6d 65 73 70 61 63 65 20 55 6e 69 74 MGUI.Controls;....namespace.Unit
1120 79 45 6e 67 69 6e 65 2e 49 6e 70 75 74 53 79 73 74 65 6d 2e 45 64 69 74 6f 72 0d 0a 7b 0d 0a 20 yEngine.InputSystem.Editor..{...
1140 20 20 20 69 6e 74 65 72 6e 61 6c 20 63 6c 61 73 73 20 41 64 76 61 6e 63 65 64 44 72 6f 70 64 6f ...internal.class.AdvancedDropdo
1160 77 6e 47 55 49 0d 0a 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 73 74 wnGUI......{..........private.st
1180 61 74 69 63 20 63 6c 61 73 73 20 53 74 79 6c 65 73 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 atic.class.Styles..........{....
11a0 20 20 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 73 74 61 74 69 63 20 72 65 61 64 6f 6e 6c 79 ..........public.static.readonly
11c0 20 47 55 49 53 74 79 6c 65 20 74 6f 6f 6c 62 61 72 53 65 61 72 63 68 46 69 65 6c 64 20 3d 20 22 .GUIStyle.toolbarSearchField.=."
11e0 54 6f 6f 6c 62 61 72 53 65 61 63 68 54 65 78 74 46 69 65 6c 64 22 3b 0d 0a 20 20 20 20 20 20 20 ToolbarSeachTextField";.........
1200 20 20 20 20 20 70 75 62 6c 69 63 20 73 74 61 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 47 55 49 53 .....public.static.readonly.GUIS
1220 74 79 6c 65 20 69 74 65 6d 53 74 79 6c 65 20 3d 20 6e 65 77 20 47 55 49 53 74 79 6c 65 28 22 50 tyle.itemStyle.=.new.GUIStyle("P
1240 52 20 4c 61 62 65 6c 22 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 57 69 74 68 R.Label")...................With
1260 41 6c 69 67 6e 6d 65 6e 74 28 54 65 78 74 41 6e 63 68 6f 72 2e 4d 69 64 64 6c 65 4c 65 66 74 29 Alignment(TextAnchor.MiddleLeft)
1280 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 57 69 74 68 50 61 64 64 69 6e 67 28 6e ...................WithPadding(n
12a0 65 77 20 52 65 63 74 4f 66 66 73 65 74 28 29 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ew.RectOffset())................
12c0 20 20 2e 57 69 74 68 4d 61 72 67 69 6e 28 6e 65 77 20 52 65 63 74 4f 66 66 73 65 74 28 29 29 0d ...WithMargin(new.RectOffset()).
12e0 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 57 69 74 68 46 69 78 65 64 48 65 69 67 68 ..................WithFixedHeigh
1300 74 28 31 37 29 3b 0d 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 t(17);..............public.stati
1320 63 20 72 65 61 64 6f 6e 6c 79 20 47 55 49 53 74 79 6c 65 20 72 69 63 68 54 65 78 74 49 74 65 6d c.readonly.GUIStyle.richTextItem
1340 53 74 79 6c 65 20 3d 20 6e 65 77 20 47 55 49 53 74 79 6c 65 28 22 50 52 20 4c 61 62 65 6c 22 29 Style.=.new.GUIStyle("PR.Label")
1360 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 57 69 74 68 41 6c 69 67 6e 6d 65 6e 74 ...................WithAlignment
1380 28 54 65 78 74 41 6e 63 68 6f 72 2e 4d 69 64 64 6c 65 4c 65 66 74 29 0d 0a 20 20 20 20 20 20 20 (TextAnchor.MiddleLeft).........
13a0 20 20 20 20 20 20 20 20 20 2e 57 69 74 68 50 61 64 64 69 6e 67 28 6e 65 77 20 52 65 63 74 4f 66 ..........WithPadding(new.RectOf
13c0 66 73 65 74 28 29 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 57 69 74 68 4d 61 fset())...................WithMa
13e0 72 67 69 6e 28 6e 65 77 20 52 65 63 74 4f 66 66 73 65 74 28 29 29 0d 0a 20 20 20 20 20 20 20 20 rgin(new.RectOffset())..........
1400 20 20 20 20 20 20 20 20 2e 57 69 74 68 46 69 78 65 64 48 65 69 67 68 74 28 31 37 29 0d 0a 20 20 .........WithFixedHeight(17)....
1420 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 57 69 74 68 52 69 63 68 54 65 78 74 28 29 3b 0d 0a ...............WithRichText();..
1440 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 72 65 61 64 6f 6e ............public.static.readon
1460 6c 79 20 47 55 49 53 74 79 6c 65 20 68 65 61 64 65 72 20 3d 20 6e 65 77 20 47 55 49 53 74 79 6c ly.GUIStyle.header.=.new.GUIStyl
1480 65 28 22 49 6e 20 42 69 67 54 69 74 6c 65 22 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 e("In.BigTitle")................
14a0 20 20 2e 57 69 74 68 46 6f 6e 74 28 45 64 69 74 6f 72 53 74 79 6c 65 73 2e 62 6f 6c 64 4c 61 62 ...WithFont(EditorStyles.boldLab
14c0 65 6c 2e 66 6f 6e 74 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 57 69 74 68 4d el.font)...................WithM
14e0 61 72 67 69 6e 28 6e 65 77 20 52 65 63 74 4f 66 66 73 65 74 28 29 29 0d 0a 20 20 20 20 20 20 20 argin(new.RectOffset()).........
1500 20 20 20 20 20 20 20 20 20 2e 57 69 74 68 42 6f 72 64 65 72 28 6e 65 77 20 52 65 63 74 4f 66 66 ..........WithBorder(new.RectOff
1520 73 65 74 28 30 2c 20 30 2c 20 33 2c 20 33 29 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 set(0,.0,.3,.3))................
1540 20 20 2e 57 69 74 68 50 61 64 64 69 6e 67 28 6e 65 77 20 52 65 63 74 4f 66 66 73 65 74 28 36 2c ...WithPadding(new.RectOffset(6,
1560 20 36 2c 20 36 2c 20 36 29 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 57 69 74 .6,.6,.6))...................Wit
1580 68 43 6f 6e 74 65 6e 74 4f 66 66 73 65 74 28 56 65 63 74 6f 72 32 2e 7a 65 72 6f 29 3b 0d 0a 20 hContentOffset(Vector2.zero);...
15a0 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 72 65 61 64 6f 6e 6c ...........public.static.readonl
15c0 79 20 47 55 49 53 74 79 6c 65 20 68 65 61 64 65 72 41 72 72 6f 77 20 3d 20 6e 65 77 20 47 55 49 y.GUIStyle.headerArrow.=.new.GUI
15e0 53 74 79 6c 65 28 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 57 69 74 68 41 6c Style()...................WithAl
1600 69 67 6e 6d 65 6e 74 28 54 65 78 74 41 6e 63 68 6f 72 2e 4d 69 64 64 6c 65 43 65 6e 74 65 72 29 ignment(TextAnchor.MiddleCenter)
1620 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 57 69 74 68 46 6f 6e 74 53 69 7a 65 28 ...................WithFontSize(
1640 32 30 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 57 69 74 68 4e 6f 72 6d 61 6c 20)...................WithNormal
1660 54 65 78 74 43 6f 6c 6f 72 28 43 6f 6c 6f 72 2e 67 72 61 79 29 3b 0d 0a 20 20 20 20 20 20 20 20 TextColor(Color.gray);..........
1680 20 20 20 20 70 75 62 6c 69 63 20 73 74 61 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 47 55 49 53 74 ....public.static.readonly.GUISt
16a0 79 6c 65 20 63 68 65 63 6b 4d 61 72 6b 20 3d 20 6e 65 77 20 47 55 49 53 74 79 6c 65 28 22 50 52 yle.checkMark.=.new.GUIStyle("PR
16c0 20 4c 61 62 65 6c 22 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 57 69 74 68 41 .Label")...................WithA
16e0 6c 69 67 6e 6d 65 6e 74 28 54 65 78 74 41 6e 63 68 6f 72 2e 4d 69 64 64 6c 65 43 65 6e 74 65 72 lignment(TextAnchor.MiddleCenter
1700 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 57 69 74 68 50 61 64 64 69 6e 67 28 )...................WithPadding(
1720 6e 65 77 20 52 65 63 74 4f 66 66 73 65 74 28 29 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 new.RectOffset())...............
1740 20 20 20 2e 57 69 74 68 4d 61 72 67 69 6e 28 6e 65 77 20 52 65 63 74 4f 66 66 73 65 74 28 29 29 ....WithMargin(new.RectOffset())
1760 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 57 69 74 68 46 69 78 65 64 48 65 69 67 ...................WithFixedHeig
1780 68 74 28 31 37 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 73 74 61 74 ht(17);..............public.stat
17a0 69 63 20 72 65 61 64 6f 6e 6c 79 20 47 55 49 43 6f 6e 74 65 6e 74 20 61 72 72 6f 77 52 69 67 68 ic.readonly.GUIContent.arrowRigh
17c0 74 43 6f 6e 74 65 6e 74 20 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 e2 96 b8 22 29 tContent.=.new.GUIContent("...")
17e0 3b 0d 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 72 65 61 ;..............public.static.rea
1800 64 6f 6e 6c 79 20 47 55 49 43 6f 6e 74 65 6e 74 20 61 72 72 6f 77 4c 65 66 74 43 6f 6e 74 65 6e donly.GUIContent.arrowLeftConten
1820 74 20 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 e2 97 82 22 29 3b 0d 0a 20 20 20 20 t.=.new.GUIContent("...");......
1840 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 2f 2f 54 68 69 73 20 73 68 6f 75 6c 64 20 69 ....}............//This.should.i
1860 64 65 61 6c 6c 79 20 6d 61 74 63 68 20 6c 69 6e 65 20 68 65 69 67 68 74 0d 0a 20 20 20 20 20 20 deally.match.line.height........
1880 20 20 70 72 69 76 61 74 65 20 73 74 61 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 56 65 63 74 6f 72 ..private.static.readonly.Vector
18a0 32 20 73 5f 49 63 6f 6e 53 69 7a 65 20 3d 20 6e 65 77 20 56 65 63 74 6f 72 32 28 31 33 2c 20 31 2.s_IconSize.=.new.Vector2(13,.1
18c0 33 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 69 6e 74 65 72 6e 61 6c 20 52 65 63 74 20 6d 5f 53 3);............internal.Rect.m_S
18e0 65 61 72 63 68 52 65 63 74 3b 0d 0a 20 20 20 20 20 20 20 20 69 6e 74 65 72 6e 61 6c 20 52 65 63 earchRect;..........internal.Rec
1900 74 20 6d 5f 48 65 61 64 65 72 52 65 63 74 3b 0d 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 t.m_HeaderRect;..........private
1920 20 62 6f 6f 6c 20 6d 5f 46 6f 63 75 73 53 65 74 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 69 6e 74 .bool.m_FocusSet;............int
1940 65 72 6e 61 6c 20 76 69 72 74 75 61 6c 20 66 6c 6f 61 74 20 73 65 61 72 63 68 48 65 69 67 68 74 ernal.virtual.float.searchHeight
1960 20 3d 3e 20 6d 5f 53 65 61 72 63 68 52 65 63 74 2e 68 65 69 67 68 74 3b 0d 0a 0d 0a 20 20 20 20 .=>.m_SearchRect.height;........
1980 20 20 20 20 69 6e 74 65 72 6e 61 6c 20 76 69 72 74 75 61 6c 20 66 6c 6f 61 74 20 68 65 61 64 65 ....internal.virtual.float.heade
19a0 72 48 65 69 67 68 74 20 3d 3e 20 6d 5f 48 65 61 64 65 72 52 65 63 74 2e 68 65 69 67 68 74 3b 0d rHeight.=>.m_HeaderRect.height;.
19c0 0a 0d 0a 20 20 20 20 20 20 20 20 69 6e 74 65 72 6e 61 6c 20 76 69 72 74 75 61 6c 20 47 55 49 53 ...........internal.virtual.GUIS
19e0 74 79 6c 65 20 6c 69 6e 65 53 74 79 6c 65 20 3d 3e 20 53 74 79 6c 65 73 2e 69 74 65 6d 53 74 79 tyle.lineStyle.=>.Styles.itemSty
1a00 6c 65 3b 0d 0a 20 20 20 20 20 20 20 20 69 6e 74 65 72 6e 61 6c 20 76 69 72 74 75 61 6c 20 47 55 le;..........internal.virtual.GU
1a20 49 53 74 79 6c 65 20 72 69 63 68 54 65 78 74 4c 69 6e 65 53 74 79 6c 65 20 3d 3e 20 53 74 79 6c IStyle.richTextLineStyle.=>.Styl
1a40 65 73 2e 72 69 63 68 54 65 78 74 49 74 65 6d 53 74 79 6c 65 3b 0d 0a 20 20 20 20 20 20 20 20 69 es.richTextItemStyle;..........i
1a60 6e 74 65 72 6e 61 6c 20 47 55 49 53 74 79 6c 65 20 68 65 61 64 65 72 53 74 79 6c 65 20 3d 3e 20 nternal.GUIStyle.headerStyle.=>.
1a80 53 74 79 6c 65 73 2e 68 65 61 64 65 72 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 69 6e 74 65 72 6e Styles.header;............intern
1aa0 61 6c 20 76 69 72 74 75 61 6c 20 56 65 63 74 6f 72 32 20 69 63 6f 6e 53 69 7a 65 20 3d 3e 20 73 al.virtual.Vector2.iconSize.=>.s
1ac0 5f 49 63 6f 6e 53 69 7a 65 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 69 6e 74 65 72 6e 61 6c 20 41 _IconSize;............internal.A
1ae0 64 76 61 6e 63 65 64 44 72 6f 70 64 6f 77 6e 53 74 61 74 65 20 73 74 61 74 65 20 7b 20 67 65 74 dvancedDropdownState.state.{.get
1b00 3b 20 73 65 74 3b 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 72 65 61 64 ;.set;.}............private.read
1b20 6f 6e 6c 79 20 53 65 61 72 63 68 46 69 65 6c 64 20 6d 5f 53 65 61 72 63 68 46 69 65 6c 64 20 3d only.SearchField.m_SearchField.=
1b40 20 6e 65 77 20 53 65 61 72 63 68 46 69 65 6c 64 28 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 .new.SearchField();............p
1b60 75 62 6c 69 63 20 76 6f 69 64 20 49 6e 69 74 28 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 ublic.void.Init()..........{....
1b80 20 20 20 20 20 20 20 20 20 20 6d 5f 46 6f 63 75 73 53 65 74 20 3d 20 66 61 6c 73 65 3b 0d 0a 20 ..........m_FocusSet.=.false;...
1ba0 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 63 6f 6e 73 .......}............private.cons
1bc0 74 20 66 6c 6f 61 74 20 6b 5f 49 6e 64 65 6e 74 50 65 72 4c 65 76 65 6c 20 3d 20 32 30 66 3b 0d t.float.k_IndentPerLevel.=.20f;.
1be0 0a 0d 0a 20 20 20 20 20 20 20 20 69 6e 74 65 72 6e 61 6c 20 76 69 72 74 75 61 6c 20 76 6f 69 64 ...........internal.virtual.void
1c00 20 42 65 67 69 6e 44 72 61 77 28 45 64 69 74 6f 72 57 69 6e 64 6f 77 20 77 69 6e 64 6f 77 29 0d .BeginDraw(EditorWindow.window).
1c20 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 .........{..........}...........
1c40 20 69 6e 74 65 72 6e 61 6c 20 76 69 72 74 75 61 6c 20 76 6f 69 64 20 45 6e 64 44 72 61 77 28 45 .internal.virtual.void.EndDraw(E
1c60 64 69 74 6f 72 57 69 6e 64 6f 77 20 77 69 6e 64 6f 77 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a ditorWindow.window)..........{..
1c80 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 69 6e 74 65 72 6e 61 6c 20 76 69 ........}............internal.vi
1ca0 72 74 75 61 6c 20 76 6f 69 64 20 44 72 61 77 49 74 65 6d 28 41 64 76 61 6e 63 65 64 44 72 6f 70 rtual.void.DrawItem(AdvancedDrop
1cc0 64 6f 77 6e 49 74 65 6d 20 69 74 65 6d 2c 20 73 74 72 69 6e 67 20 6e 61 6d 65 2c 20 54 65 78 74 downItem.item,.string.name,.Text
1ce0 75 72 65 32 44 20 69 63 6f 6e 2c 20 62 6f 6f 6c 20 65 6e 61 62 6c 65 64 2c 0d 0a 20 20 20 20 20 ure2D.icon,.bool.enabled,.......
1d00 20 20 20 20 20 20 20 62 6f 6f 6c 20 64 72 61 77 41 72 72 6f 77 2c 20 62 6f 6f 6c 20 73 65 6c 65 .......bool.drawArrow,.bool.sele
1d20 63 74 65 64 2c 20 62 6f 6f 6c 20 68 61 73 53 65 61 72 63 68 2c 20 62 6f 6f 6c 20 72 69 63 68 54 cted,.bool.hasSearch,.bool.richT
1d40 65 78 74 20 3d 20 66 61 6c 73 65 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 ext.=.false)..........{.........
1d60 20 20 20 20 20 76 61 72 20 63 6f 6e 74 65 6e 74 20 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e .....var.content.=.new.GUIConten
1d80 74 28 6e 61 6d 65 2c 20 69 63 6f 6e 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 t(name,.icon);..............var.
1da0 69 6d 67 54 65 6d 70 20 3d 20 63 6f 6e 74 65 6e 74 2e 69 6d 61 67 65 3b 0d 0a 20 20 20 20 20 20 imgTemp.=.content.image;........
1dc0 20 20 20 20 20 20 2f 2f 77 65 20 6e 65 65 64 20 74 6f 20 70 72 65 74 65 6e 64 20 77 65 20 68 61 ......//we.need.to.pretend.we.ha
1de0 76 65 20 61 6e 20 69 63 6f 6e 20 74 6f 20 63 61 6c 63 75 6c 61 74 65 20 70 72 6f 70 65 72 20 77 ve.an.icon.to.calculate.proper.w
1e00 69 64 74 68 20 69 6e 20 63 61 73 65 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 63 6f idth.in.case..............if.(co
1e20 6e 74 65 6e 74 2e 69 6d 61 67 65 20 3d 3d 20 6e 75 6c 6c 29 0d 0a 20 20 20 20 20 20 20 20 20 20 ntent.image.==.null)............
1e40 20 20 20 20 20 20 63 6f 6e 74 65 6e 74 2e 69 6d 61 67 65 20 3d 20 54 65 78 74 75 72 65 32 44 2e ......content.image.=.Texture2D.
1e60 77 68 69 74 65 54 65 78 74 75 72 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 73 whiteTexture;..............var.s
1e80 74 79 6c 65 20 3d 20 72 69 63 68 54 65 78 74 20 3f 20 72 69 63 68 54 65 78 74 4c 69 6e 65 53 74 tyle.=.richText.?.richTextLineSt
1ea0 79 6c 65 20 3a 20 6c 69 6e 65 53 74 79 6c 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 yle.:.lineStyle;..............va
1ec0 72 20 72 65 63 74 20 3d 20 47 55 49 4c 61 79 6f 75 74 55 74 69 6c 69 74 79 2e 47 65 74 52 65 63 r.rect.=.GUILayoutUtility.GetRec
1ee0 74 28 63 6f 6e 74 65 6e 74 2c 20 73 74 79 6c 65 2c 20 47 55 49 4c 61 79 6f 75 74 2e 45 78 70 61 t(content,.style,.GUILayout.Expa
1f00 6e 64 57 69 64 74 68 28 74 72 75 65 29 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e ndWidth(true));..............con
1f20 74 65 6e 74 2e 69 6d 61 67 65 20 3d 20 69 6d 67 54 65 6d 70 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 tent.image.=.imgTemp;...........
1f40 20 20 20 20 20 69 66 20 28 45 76 65 6e 74 2e 63 75 72 72 65 6e 74 2e 74 79 70 65 20 21 3d 20 45 .....if.(Event.current.type.!=.E
1f60 76 65 6e 74 54 79 70 65 2e 52 65 70 61 69 6e 74 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 ventType.Repaint)...............
1f80 20 20 20 72 65 74 75 72 6e 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 74 79 6c 65 2e ...return;................style.
1fa0 44 72 61 77 28 72 65 63 74 2c 20 47 55 49 43 6f 6e 74 65 6e 74 2e 6e 6f 6e 65 2c 20 66 61 6c 73 Draw(rect,.GUIContent.none,.fals
1fc0 65 2c 20 66 61 6c 73 65 2c 20 73 65 6c 65 63 74 65 64 2c 20 73 65 6c 65 63 74 65 64 29 3b 0d 0a e,.false,.selected,.selected);..
1fe0 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 68 61 73 53 65 61 72 63 68 29 0d 0a 20 20 20 ............if.(!hasSearch).....
2000 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 63 74 .........{..................rect
2020 2e 78 20 2b 3d 20 69 74 65 6d 2e 69 6e 64 65 6e 74 20 2a 20 6b 5f 49 6e 64 65 6e 74 50 65 72 4c .x.+=.item.indent.*.k_IndentPerL
2040 65 76 65 6c 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 63 74 2e 77 69 64 74 evel;..................rect.widt
2060 68 20 2d 3d 20 69 74 65 6d 2e 69 6e 64 65 6e 74 20 2a 20 6b 5f 49 6e 64 65 6e 74 50 65 72 4c 65 h.-=.item.indent.*.k_IndentPerLe
2080 76 65 6c 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 vel;..............}.............
20a0 20 20 20 76 61 72 20 69 6d 61 67 65 54 65 6d 70 20 3d 20 63 6f 6e 74 65 6e 74 2e 69 6d 61 67 65 ...var.imageTemp.=.content.image
20c0 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 63 6f 6e 74 65 6e 74 2e 69 6d 61 67 65 ;..............if.(content.image
20e0 20 3d 3d 20 6e 75 6c 6c 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 .==.null)..............{........
2100 20 20 20 20 20 20 20 20 20 20 73 74 79 6c 65 2e 44 72 61 77 28 72 65 63 74 2c 20 47 55 49 43 6f ..........style.Draw(rect,.GUICo
2120 6e 74 65 6e 74 2e 6e 6f 6e 65 2c 20 66 61 6c 73 65 2c 20 66 61 6c 73 65 2c 20 73 65 6c 65 63 74 ntent.none,.false,.false,.select
2140 65 64 2c 20 73 65 6c 65 63 74 65 64 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ed,.selected);..................
2160 72 65 63 74 2e 78 20 2b 3d 20 69 63 6f 6e 53 69 7a 65 2e 78 20 2b 20 31 3b 0d 0a 20 20 20 20 20 rect.x.+=.iconSize.x.+.1;.......
2180 20 20 20 20 20 20 20 20 20 20 20 72 65 63 74 2e 77 69 64 74 68 20 2d 3d 20 69 63 6f 6e 53 69 7a ...........rect.width.-=.iconSiz
21a0 65 2e 78 20 2b 20 31 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 e.x.+.1;..............}.........
21c0 20 20 20 20 20 72 65 63 74 2e 78 20 2b 3d 20 45 64 69 74 6f 72 47 55 49 55 74 69 6c 69 74 79 2e .....rect.x.+=.EditorGUIUtility.
21e0 73 74 61 6e 64 61 72 64 56 65 72 74 69 63 61 6c 53 70 61 63 69 6e 67 3b 0d 0a 20 20 20 20 20 20 standardVerticalSpacing;........
2200 20 20 20 20 20 20 72 65 63 74 2e 77 69 64 74 68 20 2d 3d 20 45 64 69 74 6f 72 47 55 49 55 74 69 ......rect.width.-=.EditorGUIUti
2220 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 0d 0a 20 lity.standardVerticalSpacing;...
2240 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 44 69 73 61 62 6c ...........EditorGUI.BeginDisabl
2260 65 64 47 72 6f 75 70 28 21 65 6e 61 62 6c 65 64 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 edGroup(!enabled);..............
2280 73 74 79 6c 65 2e 44 72 61 77 28 72 65 63 74 2c 20 63 6f 6e 74 65 6e 74 2c 20 66 61 6c 73 65 2c style.Draw(rect,.content,.false,
22a0 20 66 61 6c 73 65 2c 20 73 65 6c 65 63 74 65 64 2c 20 73 65 6c 65 63 74 65 64 29 3b 0d 0a 20 20 .false,.selected,.selected);....
22c0 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 65 6e 74 2e 69 6d 61 67 65 20 3d 20 69 6d 61 67 65 54 ..........content.image.=.imageT
22e0 65 6d 70 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 64 72 61 77 41 72 72 6f 77 29 emp;..............if.(drawArrow)
2300 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ..............{.................
2320 20 76 61 72 20 73 69 7a 65 20 3d 20 73 74 79 6c 65 2e 6c 69 6e 65 48 65 69 67 68 74 3b 0d 0a 20 .var.size.=.style.lineHeight;...
2340 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 61 72 72 6f 77 52 65 63 74 20 3d 20 6e ...............var.arrowRect.=.n
2360 65 77 20 52 65 63 74 28 72 65 63 74 2e 78 20 2b 20 72 65 63 74 2e 77 69 64 74 68 20 2d 20 73 69 ew.Rect(rect.x.+.rect.width.-.si
2380 7a 65 2c 20 72 65 63 74 2e 79 2c 20 73 69 7a 65 2c 20 73 69 7a 65 29 3b 0d 0a 20 20 20 20 20 20 ze,.rect.y,.size,.size);........
23a0 20 20 20 20 20 20 20 20 20 20 73 74 79 6c 65 2e 44 72 61 77 28 61 72 72 6f 77 52 65 63 74 2c 20 ..........style.Draw(arrowRect,.
23c0 53 74 79 6c 65 73 2e 61 72 72 6f 77 52 69 67 68 74 43 6f 6e 74 65 6e 74 2c 20 66 61 6c 73 65 2c Styles.arrowRightContent,.false,
23e0 20 66 61 6c 73 65 2c 20 66 61 6c 73 65 2c 20 66 61 6c 73 65 29 3b 0d 0a 20 20 20 20 20 20 20 20 .false,.false,.false);..........
2400 20 20 20 20 7d 0d 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 ....}..............EditorGUI.End
2420 44 69 73 61 62 6c 65 64 47 72 6f 75 70 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 DisabledGroup();..........}.....
2440 20 20 20 20 20 20 20 69 6e 74 65 72 6e 61 6c 20 76 69 72 74 75 61 6c 20 76 6f 69 64 20 44 72 61 .......internal.virtual.void.Dra
2460 77 48 65 61 64 65 72 28 41 64 76 61 6e 63 65 64 44 72 6f 70 64 6f 77 6e 49 74 65 6d 20 67 72 6f wHeader(AdvancedDropdownItem.gro
2480 75 70 2c 20 41 63 74 69 6f 6e 20 62 61 63 6b 42 75 74 74 6f 6e 50 72 65 73 73 65 64 2c 20 62 6f up,.Action.backButtonPressed,.bo
24a0 6f 6c 20 68 61 73 50 61 72 65 6e 74 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 ol.hasParent)..........{........
24c0 20 20 20 20 20 20 76 61 72 20 63 6f 6e 74 65 6e 74 20 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 ......var.content.=.new.GUIConte
24e0 6e 74 28 67 72 6f 75 70 2e 6e 61 6d 65 2c 20 67 72 6f 75 70 2e 69 63 6f 6e 29 3b 0d 0a 20 20 20 nt(group.name,.group.icon);.....
2500 20 20 20 20 20 20 20 20 20 6d 5f 48 65 61 64 65 72 52 65 63 74 20 3d 20 47 55 49 4c 61 79 6f 75 .........m_HeaderRect.=.GUILayou
2520 74 55 74 69 6c 69 74 79 2e 47 65 74 52 65 63 74 28 63 6f 6e 74 65 6e 74 2c 20 53 74 79 6c 65 73 tUtility.GetRect(content,.Styles
2540 2e 68 65 61 64 65 72 2c 20 47 55 49 4c 61 79 6f 75 74 2e 45 78 70 61 6e 64 57 69 64 74 68 28 74 .header,.GUILayout.ExpandWidth(t
2560 72 75 65 29 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 45 76 65 6e 74 2e rue));................if.(Event.
2580 63 75 72 72 65 6e 74 2e 74 79 70 65 20 3d 3d 20 45 76 65 6e 74 54 79 70 65 2e 52 65 70 61 69 6e current.type.==.EventType.Repain
25a0 74 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 53 74 79 6c 65 73 2e 68 65 61 64 65 t)..................Styles.heade
25c0 72 2e 44 72 61 77 28 6d 5f 48 65 61 64 65 72 52 65 63 74 2c 20 63 6f 6e 74 65 6e 74 2c 20 66 61 r.Draw(m_HeaderRect,.content,.fa
25e0 6c 73 65 2c 20 66 61 6c 73 65 2c 20 66 61 6c 73 65 2c 20 66 61 6c 73 65 29 3b 0d 0a 0d 0a 20 20 lse,.false,.false,.false);......
2600 20 20 20 20 20 20 20 20 20 20 2f 2f 20 42 61 63 6b 20 62 75 74 74 6f 6e 0d 0a 20 20 20 20 20 20 ..........//.Back.button........
2620 20 20 20 20 20 20 69 66 20 28 68 61 73 50 61 72 65 6e 74 29 0d 0a 20 20 20 20 20 20 20 20 20 20 ......if.(hasParent)............
2640 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 61 72 72 6f 77 57 69 ..{..................var.arrowWi
2660 64 74 68 20 3d 20 31 33 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 61 dth.=.13;..................var.a
2680 72 72 6f 77 52 65 63 74 20 3d 20 6e 65 77 20 52 65 63 74 28 6d 5f 48 65 61 64 65 72 52 65 63 74 rrowRect.=.new.Rect(m_HeaderRect
26a0 2e 78 2c 20 6d 5f 48 65 61 64 65 72 52 65 63 74 2e 79 2c 20 61 72 72 6f 77 57 69 64 74 68 2c 20 .x,.m_HeaderRect.y,.arrowWidth,.
26c0 6d 5f 48 65 61 64 65 72 52 65 63 74 2e 68 65 69 67 68 74 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 m_HeaderRect.height);...........
26e0 20 20 20 20 20 20 20 69 66 20 28 45 76 65 6e 74 2e 63 75 72 72 65 6e 74 2e 74 79 70 65 20 3d 3d .......if.(Event.current.type.==
2700 20 45 76 65 6e 74 54 79 70 65 2e 52 65 70 61 69 6e 74 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 .EventType.Repaint).............
2720 20 20 20 20 20 20 20 20 20 53 74 79 6c 65 73 2e 68 65 61 64 65 72 41 72 72 6f 77 2e 44 72 61 77 .........Styles.headerArrow.Draw
2740 28 61 72 72 6f 77 52 65 63 74 2c 20 53 74 79 6c 65 73 2e 61 72 72 6f 77 4c 65 66 74 43 6f 6e 74 (arrowRect,.Styles.arrowLeftCont
2760 65 6e 74 2c 20 66 61 6c 73 65 2c 20 66 61 6c 73 65 2c 20 66 61 6c 73 65 2c 20 66 61 6c 73 65 29 ent,.false,.false,.false,.false)
2780 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 45 76 65 6e 74 2e 63 75 72 ;..................if.(Event.cur
27a0 72 65 6e 74 2e 74 79 70 65 20 3d 3d 20 45 76 65 6e 74 54 79 70 65 2e 4d 6f 75 73 65 44 6f 77 6e rent.type.==.EventType.MouseDown
27c0 20 26 26 20 6d 5f 48 65 61 64 65 72 52 65 63 74 2e 43 6f 6e 74 61 69 6e 73 28 45 76 65 6e 74 2e .&&.m_HeaderRect.Contains(Event.
27e0 63 75 72 72 65 6e 74 2e 6d 6f 75 73 65 50 6f 73 69 74 69 6f 6e 29 29 0d 0a 20 20 20 20 20 20 20 current.mousePosition)).........
2800 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .........{......................
2820 62 61 63 6b 42 75 74 74 6f 6e 50 72 65 73 73 65 64 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 backButtonPressed();............
2840 20 20 20 20 20 20 20 20 20 20 45 76 65 6e 74 2e 63 75 72 72 65 6e 74 2e 55 73 65 28 29 3b 0d 0a ..........Event.current.Use();..
2860 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d ................}..............}
2880 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 69 6e 74 65 72 6e 61 6c 20 ..........}............internal.
28a0 76 69 72 74 75 61 6c 20 76 6f 69 64 20 44 72 61 77 46 6f 6f 74 65 72 28 41 64 76 61 6e 63 65 64 virtual.void.DrawFooter(Advanced
28c0 44 72 6f 70 64 6f 77 6e 49 74 65 6d 20 73 65 6c 65 63 74 65 64 49 74 65 6d 29 0d 0a 20 20 20 20 DropdownItem.selectedItem)......
28e0 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 69 6e 74 65 ....{..........}............inte
2900 72 6e 61 6c 20 76 6f 69 64 20 44 72 61 77 53 65 61 72 63 68 46 69 65 6c 64 28 62 6f 6f 6c 20 69 rnal.void.DrawSearchField(bool.i
2920 73 53 65 61 72 63 68 46 69 65 6c 64 44 69 73 61 62 6c 65 64 2c 20 73 74 72 69 6e 67 20 73 65 61 sSearchFieldDisabled,.string.sea
2940 72 63 68 53 74 72 69 6e 67 2c 20 41 63 74 69 6f 6e 3c 73 74 72 69 6e 67 3e 20 73 65 61 72 63 68 rchString,.Action<string>.search
2960 43 68 61 6e 67 65 64 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 Changed)..........{.............
2980 20 69 66 20 28 21 69 73 53 65 61 72 63 68 46 69 65 6c 64 44 69 73 61 62 6c 65 64 20 26 26 20 21 .if.(!isSearchFieldDisabled.&&.!
29a0 6d 5f 46 6f 63 75 73 53 65 74 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 m_FocusSet)..............{......
29c0 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 46 6f 63 75 73 53 65 74 20 3d 20 74 72 75 65 3b 0d 0a ............m_FocusSet.=.true;..
29e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 53 65 61 72 63 68 46 69 65 6c 64 2e 53 65 ................m_SearchField.Se
2a00 74 46 6f 63 75 73 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 tFocus();..............}........
2a20 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 69 73 ........using.(new.EditorGUI.Dis
2a40 61 62 6c 65 64 53 63 6f 70 65 28 69 73 53 65 61 72 63 68 46 69 65 6c 64 44 69 73 61 62 6c 65 64 abledScope(isSearchFieldDisabled
2a60 29 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 ))..............{...............
2a80 20 20 20 76 61 72 20 6e 65 77 53 65 61 72 63 68 20 3d 20 44 72 61 77 53 65 61 72 63 68 46 69 65 ...var.newSearch.=.DrawSearchFie
2aa0 6c 64 43 6f 6e 74 72 6f 6c 28 73 65 61 72 63 68 53 74 72 69 6e 67 29 3b 0d 0a 0d 0a 20 20 20 20 ldControl(searchString);........
2ac0 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6e 65 77 53 65 61 72 63 68 20 21 3d 20 73 65 61 ............if.(newSearch.!=.sea
2ae0 72 63 68 53 74 72 69 6e 67 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 rchString)..................{...
2b00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 65 61 72 63 68 43 68 61 6e 67 65 64 ...................searchChanged
2b20 28 6e 65 77 53 65 61 72 63 68 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d (newSearch);..................}.
2b40 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 .............}..........}.......
2b60 20 20 20 20 20 69 6e 74 65 72 6e 61 6c 20 76 69 72 74 75 61 6c 20 73 74 72 69 6e 67 20 44 72 61 .....internal.virtual.string.Dra
2b80 77 53 65 61 72 63 68 46 69 65 6c 64 43 6f 6e 74 72 6f 6c 28 73 74 72 69 6e 67 20 73 65 61 72 63 wSearchFieldControl(string.searc
2ba0 68 53 74 72 69 6e 67 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 hString)..........{.............
2bc0 20 76 61 72 20 70 61 64 64 69 6e 67 58 20 3d 20 38 66 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 .var.paddingX.=.8f;.............
2be0 20 76 61 72 20 70 61 64 64 69 6e 67 59 20 3d 20 32 66 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 .var.paddingY.=.2f;.............
2c00 20 76 61 72 20 72 65 63 74 20 3d 20 47 55 49 4c 61 79 6f 75 74 55 74 69 6c 69 74 79 2e 47 65 74 .var.rect.=.GUILayoutUtility.Get
2c20 52 65 63 74 28 30 2c 20 30 2c 20 53 74 79 6c 65 73 2e 74 6f 6f 6c 62 61 72 53 65 61 72 63 68 46 Rect(0,.0,.Styles.toolbarSearchF
2c40 69 65 6c 64 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 72 65 63 74 2e 78 20 2b 3d 20 ield);..............//rect.x.+=.
2c60 70 61 64 64 69 6e 67 58 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 63 74 2e 79 20 2b 3d paddingX;..............rect.y.+=
2c80 20 70 61 64 64 69 6e 67 59 20 2b 20 31 3b 20 2f 2f 20 41 64 64 20 6f 6e 65 20 66 6f 72 20 74 68 .paddingY.+.1;.//.Add.one.for.th
2ca0 65 20 62 6f 72 64 65 72 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 63 74 2e 68 65 69 67 68 e.border..............rect.heigh
2cc0 74 20 2b 3d 20 53 74 79 6c 65 73 2e 74 6f 6f 6c 62 61 72 53 65 61 72 63 68 46 69 65 6c 64 2e 66 t.+=.Styles.toolbarSearchField.f
2ce0 69 78 65 64 48 65 69 67 68 74 20 2b 20 70 61 64 64 69 6e 67 59 20 2a 20 33 3b 0d 0a 20 20 20 20 ixedHeight.+.paddingY.*.3;......
2d00 20 20 20 20 20 20 20 20 72 65 63 74 2e 77 69 64 74 68 20 2d 3d 20 70 61 64 64 69 6e 67 58 3b 2f ........rect.width.-=.paddingX;/
2d20 2f 20 2a 20 32 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 53 65 61 72 63 68 52 65 63 74 /.*.2;..............m_SearchRect
2d40 20 3d 20 72 65 63 74 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 65 61 72 63 68 53 74 72 69 .=.rect;..............searchStri
2d60 6e 67 20 3d 20 6d 5f 53 65 61 72 63 68 46 69 65 6c 64 2e 4f 6e 54 6f 6f 6c 62 61 72 47 55 49 28 ng.=.m_SearchField.OnToolbarGUI(
2d80 6d 5f 53 65 61 72 63 68 52 65 63 74 2c 20 73 65 61 72 63 68 53 74 72 69 6e 67 29 3b 0d 0a 20 20 m_SearchRect,.searchString);....
2da0 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 73 65 61 72 63 68 53 74 72 69 6e 67 3b 0d 0a ..........return.searchString;..
2dc0 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 69 6e 74 65 72 6e 61 6c 20 52 65 ........}............internal.Re
2de0 63 74 20 47 65 74 41 6e 69 6d 52 65 63 74 28 52 65 63 74 20 70 6f 73 69 74 69 6f 6e 2c 20 66 6c ct.GetAnimRect(Rect.position,.fl
2e00 6f 61 74 20 61 6e 69 6d 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 oat.anim)..........{............
2e20 20 20 2f 2f 20 43 61 6c 63 75 6c 61 74 65 20 72 65 63 74 20 66 6f 72 20 61 6e 69 6d 61 74 65 64 ..//.Calculate.rect.for.animated
2e40 20 61 72 65 61 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 72 65 63 74 20 3d 20 6e 65 .area..............var.rect.=.ne
2e60 77 20 52 65 63 74 28 70 6f 73 69 74 69 6f 6e 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 w.Rect(position);..............r
2e80 65 63 74 2e 78 20 3d 20 70 6f 73 69 74 69 6f 6e 2e 78 20 2b 20 70 6f 73 69 74 69 6f 6e 2e 77 69 ect.x.=.position.x.+.position.wi
2ea0 64 74 68 20 2a 20 61 6e 69 6d 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 63 74 2e 79 20 dth.*.anim;..............rect.y.
2ec0 2b 3d 20 73 65 61 72 63 68 48 65 69 67 68 74 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 +=.searchHeight;..............re
2ee0 63 74 2e 68 65 69 67 68 74 20 2d 3d 20 73 65 61 72 63 68 48 65 69 67 68 74 3b 0d 0a 20 20 20 20 ct.height.-=.searchHeight;......
2f00 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 72 65 63 74 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d ........return.rect;..........}.
2f20 0a 0d 0a 20 20 20 20 20 20 20 20 69 6e 74 65 72 6e 61 6c 20 56 65 63 74 6f 72 32 20 43 61 6c 63 ...........internal.Vector2.Calc
2f40 75 6c 61 74 65 43 6f 6e 74 65 6e 74 53 69 7a 65 28 41 64 76 61 6e 63 65 64 44 72 6f 70 64 6f 77 ulateContentSize(AdvancedDropdow
2f60 6e 44 61 74 61 53 6f 75 72 63 65 20 64 61 74 61 53 6f 75 72 63 65 29 0d 0a 20 20 20 20 20 20 20 nDataSource.dataSource).........
2f80 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6d 61 78 57 69 64 74 68 20 3d 20 30 .{..............var.maxWidth.=.0
2fa0 66 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6d 61 78 48 65 69 67 68 74 20 3d 20 f;..............var.maxHeight.=.
2fc0 30 66 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 69 6e 63 6c 75 64 65 41 72 72 6f 0f;..............var.includeArro
2fe0 77 20 3d 20 66 61 6c 73 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 61 72 72 6f w.=.false;..............var.arro
3000 77 57 69 64 74 68 20 3d 20 30 66 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 65 wWidth.=.0f;................fore
3020 61 63 68 20 28 76 61 72 20 63 68 69 6c 64 20 69 6e 20 64 61 74 61 53 6f 75 72 63 65 2e 6d 61 69 ach.(var.child.in.dataSource.mai
3040 6e 54 72 65 65 2e 63 68 69 6c 64 72 65 6e 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a nTree.children)..............{..
3060 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 63 6f 6e 74 65 6e 74 20 3d 20 6e 65 ................var.content.=.ne
3080 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 63 68 69 6c 64 2e 6e 61 6d 65 2c 20 63 68 69 6c 64 2e 69 w.GUIContent(child.name,.child.i
30a0 63 6f 6e 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 61 20 3d 20 6c con);..................var.a.=.l
30c0 69 6e 65 53 74 79 6c 65 2e 43 61 6c 63 53 69 7a 65 28 63 6f 6e 74 65 6e 74 29 3b 0d 0a 20 20 20 ineStyle.CalcSize(content);.....
30e0 20 20 20 20 20 20 20 20 20 20 20 20 20 61 2e 78 20 2b 3d 20 69 63 6f 6e 53 69 7a 65 2e 78 20 2b .............a.x.+=.iconSize.x.+
3100 20 31 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6d 61 78 57 69 .1;....................if.(maxWi
3120 64 74 68 20 3c 20 61 2e 78 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 dth.<.a.x)..................{...
3140 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 61 78 57 69 64 74 68 20 3d 20 61 2e ...................maxWidth.=.a.
3160 78 20 2b 20 31 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 63 6c x.+.1;......................incl
3180 75 64 65 41 72 72 6f 77 20 7c 3d 20 63 68 69 6c 64 2e 63 68 69 6c 64 72 65 6e 2e 41 6e 79 28 29 udeArrow.|=.child.children.Any()
31a0 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 20 20 ;..................}............
31c0 20 20 20 20 20 20 69 66 20 28 63 68 69 6c 64 2e 49 73 53 65 70 61 72 61 74 6f 72 28 29 29 0d 0a ......if.(child.IsSeparator())..
31e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 ................{...............
3200 20 20 20 20 20 20 20 6d 61 78 48 65 69 67 68 74 20 2b 3d 20 47 55 49 48 65 6c 70 65 72 73 2e 53 .......maxHeight.+=.GUIHelpers.S
3220 74 79 6c 65 73 2e 6c 69 6e 65 53 65 70 61 72 61 74 6f 72 2e 43 61 6c 63 48 65 69 67 68 74 28 63 tyles.lineSeparator.CalcHeight(c
3240 6f 6e 74 65 6e 74 2c 20 6d 61 78 57 69 64 74 68 29 20 2b 20 47 55 49 48 65 6c 70 65 72 73 2e 53 ontent,.maxWidth).+.GUIHelpers.S
3260 74 79 6c 65 73 2e 6c 69 6e 65 53 65 70 61 72 61 74 6f 72 2e 6d 61 72 67 69 6e 2e 76 65 72 74 69 tyles.lineSeparator.margin.verti
3280 63 61 6c 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 cal;..................}.........
32a0 20 20 20 20 20 20 20 20 20 65 6c 73 65 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b .........else..................{
32c0 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 61 78 48 65 69 67 68 74 20 ......................maxHeight.
32e0 2b 3d 20 6c 69 6e 65 53 74 79 6c 65 2e 43 61 6c 63 48 65 69 67 68 74 28 63 6f 6e 74 65 6e 74 2c +=.lineStyle.CalcHeight(content,
3300 20 6d 61 78 57 69 64 74 68 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a .maxWidth);..................}..
3320 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 61 72 72 6f 77 57 69 64 74 68 20 3d ................if.(arrowWidth.=
3340 3d 20 30 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 =.0)..................{.........
3360 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 69 6e 65 53 74 79 6c 65 2e 43 61 6c 63 4d 69 6e 4d 61 .............lineStyle.CalcMinMa
3380 78 57 69 64 74 68 28 53 74 79 6c 65 73 2e 61 72 72 6f 77 52 69 67 68 74 43 6f 6e 74 65 6e 74 2c xWidth(Styles.arrowRightContent,
33a0 20 6f 75 74 20 61 72 72 6f 77 57 69 64 74 68 2c 20 6f 75 74 20 61 72 72 6f 77 57 69 64 74 68 29 .out.arrowWidth,.out.arrowWidth)
33c0 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 20 20 ;..................}............
33e0 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 69 6e 63 6c 75 64 65 41 72 72 6f ..}..............if.(includeArro
3400 77 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 w)..............{...............
3420 20 20 20 6d 61 78 57 69 64 74 68 20 2b 3d 20 61 72 72 6f 77 57 69 64 74 68 3b 0d 0a 20 20 20 20 ...maxWidth.+=.arrowWidth;......
3440 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 6e 65 ........}..............return.ne
3460 77 20 56 65 63 74 6f 72 32 28 6d 61 78 57 69 64 74 68 2c 20 6d 61 78 48 65 69 67 68 74 29 3b 0d w.Vector2(maxWidth,.maxHeight);.
3480 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 69 6e 74 65 72 6e 61 6c 20 66 .........}............internal.f
34a0 6c 6f 61 74 20 47 65 74 53 65 6c 65 63 74 69 6f 6e 48 65 69 67 68 74 28 41 64 76 61 6e 63 65 64 loat.GetSelectionHeight(Advanced
34c0 44 72 6f 70 64 6f 77 6e 44 61 74 61 53 6f 75 72 63 65 20 64 61 74 61 53 6f 75 72 63 65 2c 20 52 DropdownDataSource.dataSource,.R
34e0 65 63 74 20 62 75 74 74 6f 6e 52 65 63 74 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 ect.buttonRect)..........{......
3500 20 20 20 20 20 20 20 20 69 66 20 28 73 74 61 74 65 2e 47 65 74 53 65 6c 65 63 74 65 64 49 6e 64 ........if.(state.GetSelectedInd
3520 65 78 28 64 61 74 61 53 6f 75 72 63 65 2e 6d 61 69 6e 54 72 65 65 29 20 3d 3d 20 2d 31 29 0d 0a ex(dataSource.mainTree).==.-1)..
3540 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 30 3b 0d 0a 20 20 20 20 20 ................return.0;.......
3560 20 20 20 20 20 20 20 76 61 72 20 68 65 69 67 68 74 20 3d 20 30 66 3b 0d 0a 20 20 20 20 20 20 20 .......var.height.=.0f;.........
3580 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d 20 30 3b 20 69 20 3c 20 64 61 74 61 53 6f 75 .....for.(var.i.=.0;.i.<.dataSou
35a0 72 63 65 2e 6d 61 69 6e 54 72 65 65 2e 63 68 69 6c 64 72 65 6e 2e 43 6f 75 6e 74 28 29 3b 20 69 rce.mainTree.children.Count();.i
35c0 2b 2b 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 ++)..............{..............
35e0 20 20 20 20 76 61 72 20 63 68 69 6c 64 20 3d 20 64 61 74 61 53 6f 75 72 63 65 2e 6d 61 69 6e 54 ....var.child.=.dataSource.mainT
3600 72 65 65 2e 63 68 69 6c 64 72 65 6e 2e 45 6c 65 6d 65 6e 74 41 74 28 69 29 3b 0d 0a 20 20 20 20 ree.children.ElementAt(i);......
3620 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 63 6f 6e 74 65 6e 74 20 3d 20 6e 65 77 20 47 55 ............var.content.=.new.GU
3640 49 43 6f 6e 74 65 6e 74 28 63 68 69 6c 64 2e 6e 61 6d 65 2c 20 63 68 69 6c 64 2e 69 63 6f 6e 29 IContent(child.name,.child.icon)
3660 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 73 74 61 74 65 2e 47 65 74 ;..................if.(state.Get
3680 53 65 6c 65 63 74 65 64 49 6e 64 65 78 28 64 61 74 61 53 6f 75 72 63 65 2e 6d 61 69 6e 54 72 65 SelectedIndex(dataSource.mainTre
36a0 65 29 20 3d 3d 20 69 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 e).==.i)..................{.....
36c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 64 69 66 66 20 3d 20 28 6c 69 6e .................var.diff.=.(lin
36e0 65 53 74 79 6c 65 2e 43 61 6c 63 48 65 69 67 68 74 28 63 6f 6e 74 65 6e 74 2c 20 30 29 20 2d 20 eStyle.CalcHeight(content,.0).-.
3700 62 75 74 74 6f 6e 52 65 63 74 2e 68 65 69 67 68 74 29 20 2f 20 32 66 3b 0d 0a 20 20 20 20 20 20 buttonRect.height)./.2f;........
3720 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 68 65 69 67 68 74 20 2b 20 64 69 ..............return.height.+.di
3740 66 66 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 ff;..................}..........
3760 20 20 20 20 20 20 20 20 69 66 20 28 63 68 69 6c 64 2e 49 73 53 65 70 61 72 61 74 6f 72 28 29 29 ........if.(child.IsSeparator())
3780 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 ..................{.............
37a0 20 20 20 20 20 20 20 20 20 68 65 69 67 68 74 20 2b 3d 20 47 55 49 48 65 6c 70 65 72 73 2e 53 74 .........height.+=.GUIHelpers.St
37c0 79 6c 65 73 2e 6c 69 6e 65 53 65 70 61 72 61 74 6f 72 2e 43 61 6c 63 48 65 69 67 68 74 28 63 6f yles.lineSeparator.CalcHeight(co
37e0 6e 74 65 6e 74 2c 20 30 29 20 2b 20 47 55 49 48 65 6c 70 65 72 73 2e 53 74 79 6c 65 73 2e 6c 69 ntent,.0).+.GUIHelpers.Styles.li
3800 6e 65 53 65 70 61 72 61 74 6f 72 2e 6d 61 72 67 69 6e 2e 76 65 72 74 69 63 61 6c 3b 0d 0a 20 20 neSeparator.margin.vertical;....
3820 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ..............}.................
3840 20 65 6c 73 65 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 .else..................{........
3860 20 20 20 20 20 20 20 20 20 20 20 20 20 20 68 65 69 67 68 74 20 2b 3d 20 6c 69 6e 65 53 74 79 6c ..............height.+=.lineStyl
3880 65 2e 43 61 6c 63 48 65 69 67 68 74 28 63 6f 6e 74 65 6e 74 2c 20 30 29 3b 0d 0a 20 20 20 20 20 e.CalcHeight(content,.0);.......
38a0 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 ...........}..............}.....
38c0 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 68 65 69 67 68 74 3b 0d 0a 20 20 20 20 20 20 20 .........return.height;.........
38e0 20 7d 0d 0a 20 20 20 20 7d 0d 0a 7d 0d 0a 0d 0a 23 65 6e 64 69 66 20 2f 2f 20 55 4e 49 54 59 5f .}......}..}....#endif.//.UNITY_
3900 45 44 49 54 4f 52 0d 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 13 00 00 00 EDITOR..........................
3920 41 64 76 61 6e 63 65 64 44 72 6f 70 64 6f 77 6e 47 55 49 00 1e 00 00 00 55 6e 69 74 79 45 6e 67 AdvancedDropdownGUI.....UnityEng
3940 69 6e 65 2e 49 6e 70 75 74 53 79 73 74 65 6d 2e 45 64 69 74 6f 72 00 00 ine.InputSystem.Editor..