summaryrefslogtreecommitdiff
path: root/Library/Artifacts/53/536626b65bd5b0c339852296b69154ba
blob: d5dc391634cd7264d0d375b95d9279695032d79f (plain)
ofshex dumpascii
0000 00 00 0f 81 00 00 3b 88 00 00 00 15 00 00 10 00 00 00 00 00 32 30 31 39 2e 33 2e 36 66 31 00 fe ......;.............2019.3.6f1..
0020 ff ff ff 01 02 00 00 00 0b 04 00 00 00 ff ff 66 9a 86 21 eb 14 35 98 39 dd 34 1d 51 0e c1 f3 42 ...............f..!..5.9.4.Q...B
0040 00 00 00 ed 00 00 00 02 00 00 00 00 00 00 00 37 00 00 80 ff ff ff ff 00 00 00 00 00 80 00 00 00 ...............7................
0060 00 00 00 00 00 00 00 01 00 01 00 a6 03 00 80 b2 01 00 80 04 00 00 00 01 00 00 00 01 00 00 00 00 ................................
0080 00 00 00 00 00 00 00 01 00 01 00 0d 00 00 00 45 04 00 80 0c 00 00 00 02 00 00 00 01 00 00 00 00 ...............E................
00a0 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 23 00 00 00 04 00 00 00 03 00 00 00 01 00 80 00 00 ...............#................
00c0 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 2c 00 00 00 08 00 00 00 04 00 00 00 01 00 80 00 00 ...............,................
00e0 00 00 00 00 00 00 00 01 00 01 00 35 00 00 00 61 04 00 80 0c 00 00 00 05 00 00 00 01 00 00 00 00 ...........5...a................
0100 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 23 00 00 00 04 00 00 00 06 00 00 00 01 00 80 00 00 ...............#................
0120 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 2c 00 00 00 08 00 00 00 07 00 00 00 01 00 80 00 00 ...............,................
0140 00 00 00 00 00 00 00 01 00 01 00 86 02 00 80 72 04 00 80 0c 00 00 00 08 00 00 00 01 00 00 00 00 ...............r................
0160 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 23 00 00 00 04 00 00 00 09 00 00 00 01 00 80 00 00 ...............#................
0180 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 2c 00 00 00 08 00 00 00 0a 00 00 00 01 00 80 00 00 ...............,................
01a0 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 ab 01 00 80 ff ff ff ff 0b 00 00 00 01 80 08 00 00 ...........H....................
01c0 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 0c 00 00 00 01 40 08 00 00 ...........1...1............@...
01e0 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 0d 00 00 00 01 00 08 00 00 ................................
0200 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a 00 00 80 01 00 00 00 0e 00 00 00 01 00 08 00 00 ...........Q...j................
0220 00 00 00 00 00 00 00 01 00 01 00 f1 00 00 80 4a 00 00 00 ff ff ff ff 0f 00 00 00 00 c0 00 00 00 ...............J................
0240 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 10 00 00 00 00 80 00 00 00 ...........1...1................
0260 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 11 00 00 00 00 00 00 00 00 ................................
0280 00 00 00 00 00 00 00 01 00 03 00 1f 02 00 80 6a 00 00 80 ff ff ff ff 12 00 00 00 00 80 00 00 00 ...............j................
02a0 00 00 00 00 00 00 00 01 00 04 00 5c 00 00 00 9b 00 00 80 ff ff ff ff 13 00 00 00 00 80 00 00 00 ...........\....................
02c0 00 00 00 00 00 00 00 01 00 05 00 48 03 00 80 72 00 00 00 ff ff ff ff 14 00 00 00 00 80 00 00 00 ...........H...r................
02e0 00 00 00 00 00 00 00 01 00 06 01 31 00 00 80 31 00 00 80 ff ff ff ff 15 00 00 00 01 40 00 00 00 ...........1...1............@...
0300 00 00 00 00 00 00 00 01 00 07 00 de 00 00 80 1b 03 00 80 04 00 00 00 16 00 00 00 01 00 00 00 00 ................................
0320 00 00 00 00 00 00 00 01 00 07 00 51 00 00 80 6a 00 00 80 01 00 00 00 17 00 00 00 01 00 00 00 00 ...........Q...j................
0340 00 00 00 00 00 00 00 01 00 05 00 48 03 00 80 77 00 00 00 ff ff ff ff 18 00 00 00 00 80 00 00 00 ...........H...w................
0360 00 00 00 00 00 00 00 01 00 06 01 31 00 00 80 31 00 00 80 ff ff ff ff 19 00 00 00 01 40 00 00 00 ...........1...1............@...
0380 00 00 00 00 00 00 00 01 00 07 00 de 00 00 80 1b 03 00 80 04 00 00 00 1a 00 00 00 01 00 00 00 00 ................................
03a0 00 00 00 00 00 00 00 01 00 07 00 51 00 00 80 6a 00 00 80 01 00 00 00 1b 00 00 00 01 00 00 00 00 ...........Q...j................
03c0 00 00 00 00 00 00 00 01 00 05 00 48 03 00 80 80 00 00 00 ff ff ff ff 1c 00 00 00 00 80 00 00 00 ...........H....................
03e0 00 00 00 00 00 00 00 01 00 06 01 31 00 00 80 31 00 00 80 ff ff ff ff 1d 00 00 00 01 40 00 00 00 ...........1...1............@...
0400 00 00 00 00 00 00 00 01 00 07 00 de 00 00 80 1b 03 00 80 04 00 00 00 1e 00 00 00 01 00 00 00 00 ................................
0420 00 00 00 00 00 00 00 01 00 07 00 51 00 00 80 6a 00 00 80 01 00 00 00 1f 00 00 00 01 00 00 00 00 ...........Q...j................
0440 00 00 00 00 00 00 00 01 00 04 00 79 02 00 80 0a 03 00 80 0c 00 00 00 20 00 00 00 00 00 00 00 00 ...........y....................
0460 00 00 00 00 00 00 00 01 00 05 00 de 00 00 80 23 00 00 00 04 00 00 00 21 00 00 00 01 00 80 00 00 ...............#.......!........
0480 00 00 00 00 00 00 00 01 00 05 00 2e 03 00 80 2c 00 00 00 08 00 00 00 22 00 00 00 01 00 80 00 00 ...............,......."........
04a0 00 00 00 00 00 00 00 01 00 01 00 11 03 00 80 85 00 00 00 ff ff ff ff 23 00 00 00 01 40 08 00 00 .......................#....@...
04c0 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 24 00 00 00 01 00 08 00 00 ...........1...1.......$........
04e0 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 25 00 00 00 01 00 08 00 00 .......................%........
0500 00 00 00 00 00 00 00 01 00 03 00 2e 03 00 80 6a 00 00 80 08 00 00 00 26 00 00 00 01 00 08 00 00 ...............j.......&........
0520 00 00 00 00 00 00 00 01 00 01 00 d5 03 00 80 93 00 00 00 ff ff ff ff 27 00 00 00 00 80 00 00 00 .......................'........
0540 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 28 00 00 00 00 c0 00 00 00 ...........1...1.......(........
0560 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 29 00 00 00 00 00 00 00 00 .......................)........
0580 00 00 00 00 00 00 00 01 00 03 00 1f 02 00 80 6a 00 00 80 ff ff ff ff 2a 00 00 00 00 80 00 00 00 ...............j.......*........
05a0 00 00 00 00 00 00 00 01 00 04 00 48 03 00 80 9b 00 00 80 ff ff ff ff 2b 00 00 00 00 80 00 00 00 ...........H...........+........
05c0 00 00 00 00 00 00 00 01 00 05 01 31 00 00 80 31 00 00 80 ff ff ff ff 2c 00 00 00 01 40 00 00 00 ...........1...1.......,....@...
05e0 00 00 00 00 00 00 00 01 00 06 00 de 00 00 80 1b 03 00 80 04 00 00 00 2d 00 00 00 01 00 00 00 00 .......................-........
0600 00 00 00 00 00 00 00 01 00 06 00 51 00 00 80 6a 00 00 80 01 00 00 00 2e 00 00 00 01 00 00 00 00 ...........Q...j................
0620 00 00 00 00 00 00 00 01 00 04 00 79 02 00 80 0a 03 00 80 0c 00 00 00 2f 00 00 00 00 00 00 00 00 ...........y.........../........
0640 00 00 00 00 00 00 00 01 00 05 00 de 00 00 80 23 00 00 00 04 00 00 00 30 00 00 00 01 00 80 00 00 ...............#.......0........
0660 00 00 00 00 00 00 00 01 00 05 00 2e 03 00 80 2c 00 00 00 08 00 00 00 31 00 00 00 01 00 80 00 00 ...............,.......1........
0680 00 00 00 00 00 00 00 01 00 01 00 20 03 00 80 a7 00 00 00 02 00 00 00 32 00 00 00 00 40 00 00 00 .......................2....@...
06a0 00 00 00 00 00 00 00 01 00 01 00 be 02 00 80 b6 00 00 00 0c 00 00 00 33 00 00 00 00 40 00 00 00 .......................3....@...
06c0 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 23 00 00 00 04 00 00 00 34 00 00 00 01 00 80 00 00 ...............#.......4........
06e0 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 2c 00 00 00 08 00 00 00 35 00 00 00 01 00 80 00 00 ...............,.......5........
0700 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 bb 00 00 00 ff ff ff ff 36 00 00 00 01 80 00 00 00 ...........H...........6........
0720 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 37 00 00 00 01 40 00 00 00 ...........1...1.......7....@...
0740 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 38 00 00 00 01 00 00 00 00 .......................8........
0760 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a 00 00 80 01 00 00 00 39 00 00 00 01 00 00 00 00 ...........Q...j.......9........
0780 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 c6 00 00 00 ff ff ff ff 3a 00 00 00 01 80 00 00 00 ...........H...........:........
07a0 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 3b 00 00 00 01 40 00 00 00 ...........1...1.......;....@...
07c0 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 3c 00 00 00 01 00 00 00 00 .......................<........
07e0 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a 00 00 80 01 00 00 00 3d 00 00 00 01 00 00 00 00 ...........Q...j.......=........
0800 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 d8 00 00 00 ff ff ff ff 3e 00 00 00 01 80 00 00 00 ...........H...........>........
0820 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 3f 00 00 00 01 40 00 00 00 ...........1...1.......?....@...
0840 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 40 00 00 00 01 00 00 00 00 .......................@........
0860 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a 00 00 80 01 00 00 00 41 00 00 00 01 00 00 00 00 ...........Q...j.......A........
0880 00 00 00 00 00 00 00 4d 6f 6e 6f 49 6d 70 6f 72 74 65 72 00 50 50 74 72 3c 45 64 69 74 6f 72 45 .......MonoImporter.PPtr<EditorE
08a0 78 74 65 6e 73 69 6f 6e 3e 00 6d 5f 46 69 6c 65 49 44 00 6d 5f 50 61 74 68 49 44 00 50 50 74 72 xtension>.m_FileID.m_PathID.PPtr
08c0 3c 50 72 65 66 61 62 49 6e 73 74 61 6e 63 65 3e 00 6d 5f 45 78 74 65 72 6e 61 6c 4f 62 6a 65 63 <PrefabInstance>.m_ExternalObjec
08e0 74 73 00 53 6f 75 72 63 65 41 73 73 65 74 49 64 65 6e 74 69 66 69 65 72 00 74 79 70 65 00 61 73 ts.SourceAssetIdentifier.type.as
0900 73 65 6d 62 6c 79 00 6e 61 6d 65 00 6d 5f 55 73 65 64 46 69 6c 65 49 44 73 00 6d 5f 44 65 66 61 sembly.name.m_UsedFileIDs.m_Defa
0920 75 6c 74 52 65 66 65 72 65 6e 63 65 73 00 65 78 65 63 75 74 69 6f 6e 4f 72 64 65 72 00 69 63 6f ultReferences.executionOrder.ico
0940 6e 00 6d 5f 55 73 65 72 44 61 74 61 00 6d 5f 41 73 73 65 74 42 75 6e 64 6c 65 4e 61 6d 65 00 6d n.m_UserData.m_AssetBundleName.m
0960 5f 41 73 73 65 74 42 75 6e 64 6c 65 56 61 72 69 61 6e 74 00 00 00 00 00 73 00 00 00 00 ff ff a3 _AssetBundleVariant.....s.......
0980 47 f1 d7 dc 8f 5a 35 36 a0 3a 21 40 69 c1 4a 2a 00 00 00 81 00 00 00 05 00 00 00 15 01 00 80 37 G....Z56.:!@i.J*...............7
09a0 00 00 80 ff ff ff ff 00 00 00 00 00 80 00 00 00 00 00 00 00 00 00 00 01 00 01 00 a6 03 00 80 b2 ................................
09c0 01 00 80 04 00 00 00 01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 01 00 00 00 00 00 45 ...............................E
09e0 04 00 80 0c 00 00 00 02 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 16 ................................
0a00 00 00 00 04 00 00 00 03 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 1f ................................
0a20 00 00 00 08 00 00 00 04 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 01 00 28 00 00 00 61 ...........................(...a
0a40 04 00 80 0c 00 00 00 05 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 16 ................................
0a60 00 00 00 04 00 00 00 06 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 1f ................................
0a80 00 00 00 08 00 00 00 07 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 01 00 86 02 00 80 72 ...............................r
0aa0 04 00 80 0c 00 00 00 08 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 16 ................................
0ac0 00 00 00 04 00 00 00 09 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 1f ................................
0ae0 00 00 00 08 00 00 00 0a 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 ab ...........................H....
0b00 01 00 80 ff ff ff ff 0b 00 00 00 01 80 08 00 00 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 ...........................1...1
0b20 00 00 80 ff ff ff ff 0c 00 00 00 01 40 08 00 00 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b ............@...................
0b40 03 00 80 04 00 00 00 0d 00 00 00 01 00 08 00 00 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a ...........................Q...j
0b60 00 00 80 01 00 00 00 0e 00 00 00 01 00 08 00 00 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 ea ...........................H....
0b80 01 00 80 ff ff ff ff 0f 00 00 00 01 80 00 00 00 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 ...........................1...1
0ba0 00 00 80 ff ff ff ff 10 00 00 00 01 40 00 00 00 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b ............@...................
0bc0 03 00 80 04 00 00 00 11 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a ...........................Q...j
0be0 00 00 80 01 00 00 00 12 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 01 00 f1 00 00 80 3d ...............................=
0c00 00 00 00 ff ff ff ff 13 00 00 00 01 80 00 00 00 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 ...........................1...1
0c20 00 00 80 ff ff ff ff 14 00 00 00 01 80 00 00 00 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b ................................
0c40 03 00 80 04 00 00 00 15 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 03 00 1f 02 00 80 6a ...............................j
0c60 00 00 80 ff ff ff ff 16 00 00 00 01 80 00 00 00 00 00 00 00 00 00 00 01 00 04 00 48 03 00 80 9b ...........................H....
0c80 00 00 80 ff ff ff ff 17 00 00 00 01 80 00 00 00 00 00 00 00 00 00 00 01 00 05 01 31 00 00 80 31 ...........................1...1
0ca0 00 00 80 ff ff ff ff 18 00 00 00 01 40 00 00 00 00 00 00 00 00 00 00 01 00 06 00 de 00 00 80 1b ............@...................
0cc0 03 00 80 04 00 00 00 19 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 06 00 51 00 00 80 6a ...........................Q...j
0ce0 00 00 80 01 00 00 00 1a 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 04 00 79 02 00 80 0a ...........................y....
0d00 03 00 80 0c 00 00 00 1b 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 05 00 de 00 00 80 16 ................................
0d20 00 00 00 04 00 00 00 1c 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 05 00 2e 03 00 80 1f ................................
0d40 00 00 00 08 00 00 00 1d 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 01 00 79 02 00 80 51 ...........................y...Q
0d60 00 00 00 0c 00 00 00 1e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 16 ................................
0d80 00 00 00 04 00 00 00 1f 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 1f ................................
0da0 00 00 00 08 00 00 00 20 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 01 00 de 00 00 80 58 ...............................X
0dc0 00 00 00 04 00 00 00 21 00 00 00 10 00 00 00 00 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 69 .......!...................H...i
0de0 00 00 00 ff ff ff ff 22 00 00 00 10 80 00 00 00 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 ......."...................1...1
0e00 00 00 80 ff ff ff ff 23 00 00 00 11 40 00 00 00 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b .......#....@...................
0e20 03 00 80 04 00 00 00 24 00 00 00 11 00 00 00 00 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a .......$...................Q...j
0e40 00 00 80 01 00 00 00 25 00 00 00 11 00 00 00 00 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 75 .......%...................H...u
0e60 00 00 00 ff ff ff ff 26 00 00 00 10 80 00 00 00 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 .......&...................1...1
0e80 00 00 80 ff ff ff ff 27 00 00 00 11 40 00 00 00 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b .......'....@...................
0ea0 03 00 80 04 00 00 00 28 00 00 00 11 00 00 00 00 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a .......(...................Q...j
0ec0 00 00 80 01 00 00 00 29 00 00 00 11 00 00 00 00 00 00 00 00 00 00 00 50 50 74 72 3c 45 64 69 74 .......)...............PPtr<Edit
0ee0 6f 72 45 78 74 65 6e 73 69 6f 6e 3e 00 6d 5f 46 69 6c 65 49 44 00 6d 5f 50 61 74 68 49 44 00 50 orExtension>.m_FileID.m_PathID.P
0f00 50 74 72 3c 50 72 65 66 61 62 49 6e 73 74 61 6e 63 65 3e 00 6d 5f 44 65 66 61 75 6c 74 52 65 66 Ptr<PrefabInstance>.m_DefaultRef
0f20 65 72 65 6e 63 65 73 00 6d 5f 49 63 6f 6e 00 6d 5f 45 78 65 63 75 74 69 6f 6e 4f 72 64 65 72 00 erences.m_Icon.m_ExecutionOrder.
0f40 6d 5f 43 6c 61 73 73 4e 61 6d 65 00 6d 5f 4e 61 6d 65 73 70 61 63 65 00 00 00 00 00 02 00 00 00 m_ClassName.m_Namespace.........
0f60 03 00 00 00 00 00 00 00 00 00 00 00 5c 00 00 00 00 00 00 00 e0 79 af 00 00 00 00 00 60 00 00 00 ............\........y......`...
0f80 28 2b 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 18 00 00 00 49 6e 74 65 72 63 65 70 74 65 64 45 76 65 6e 74 73 50 72 65 ............InterceptedEventsPre
10a0 76 69 65 77 95 2a 00 00 75 73 69 6e 67 20 53 79 73 74 65 6d 3b 0a 75 73 69 6e 67 20 53 79 73 74 view.*..using.System;.using.Syst
10c0 65 6d 2e 43 6f 6c 6c 65 63 74 69 6f 6e 73 2e 47 65 6e 65 72 69 63 3b 0a 75 73 69 6e 67 20 53 79 em.Collections.Generic;.using.Sy
10e0 73 74 65 6d 2e 4c 69 6e 71 3b 0a 75 73 69 6e 67 20 53 79 73 74 65 6d 2e 52 65 66 6c 65 63 74 69 stem.Linq;.using.System.Reflecti
1100 6f 6e 3b 0a 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 on;.using.UnityEngine;.using.Uni
1120 74 79 45 6e 67 69 6e 65 2e 50 72 6f 66 69 6c 69 6e 67 3b 0a 75 73 69 6e 67 20 55 6e 69 74 79 45 tyEngine.Profiling;.using.UnityE
1140 6e 67 69 6e 65 2e 45 76 65 6e 74 53 79 73 74 65 6d 73 3b 0a 0a 6e 61 6d 65 73 70 61 63 65 20 55 ngine.EventSystems;..namespace.U
1160 6e 69 74 79 45 64 69 74 6f 72 2e 45 76 65 6e 74 73 0a 7b 0a 20 20 20 20 5b 43 75 73 74 6f 6d 50 nityEditor.Events.{.....[CustomP
1180 72 65 76 69 65 77 28 74 79 70 65 6f 66 28 47 61 6d 65 4f 62 6a 65 63 74 29 29 5d 0a 20 20 20 20 review(typeof(GameObject))].....
11a0 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0a 20 20 20 20 2f 2f 2f 20 20 20 43 75 73 74 6f 6d 20 70 ///.<summary>.....///...Custom.p
11c0 72 65 76 69 65 77 20 64 72 61 77 69 6e 67 20 74 68 61 74 20 77 69 6c 6c 20 64 72 61 77 20 74 68 review.drawing.that.will.draw.th
11e0 65 20 69 6e 74 65 72 63 65 70 74 65 64 20 65 76 65 6e 74 73 20 6f 66 20 61 20 67 69 76 65 6e 20 e.intercepted.events.of.a.given.
1200 6f 62 6a 65 63 74 2e 0a 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0a 20 20 20 20 63 object......///.</summary>.....c
1220 6c 61 73 73 20 49 6e 74 65 72 63 65 70 74 65 64 45 76 65 6e 74 73 50 72 65 76 69 65 77 20 3a 20 lass.InterceptedEventsPreview.:.
1240 4f 62 6a 65 63 74 50 72 65 76 69 65 77 0a 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 70 72 6f 74 ObjectPreview.....{.........prot
1260 65 63 74 65 64 20 63 6c 61 73 73 20 43 6f 6d 70 6f 6e 65 6e 74 49 6e 74 65 72 63 65 70 74 65 64 ected.class.ComponentIntercepted
1280 45 76 65 6e 74 73 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 75 62 Events.........{.............pub
12a0 6c 69 63 20 47 55 49 43 6f 6e 74 65 6e 74 20 63 6f 6d 70 6f 6e 65 6e 74 4e 61 6d 65 3b 0a 20 20 lic.GUIContent.componentName;...
12c0 20 20 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 69 6e 74 5b 5d 20 69 6e 74 65 72 63 65 70 74 ..........public.int[].intercept
12e0 65 64 45 76 65 6e 74 73 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 63 6c 61 edEvents;.........}..........cla
1300 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 20 ss.Styles.........{.............
1320 70 75 62 6c 69 63 20 47 55 49 53 74 79 6c 65 20 6c 61 62 65 6c 53 74 79 6c 65 20 3d 20 6e 65 77 public.GUIStyle.labelStyle.=.new
1340 20 47 55 49 53 74 79 6c 65 28 45 64 69 74 6f 72 53 74 79 6c 65 73 2e 6c 61 62 65 6c 29 3b 0a 20 .GUIStyle(EditorStyles.label);..
1360 20 20 20 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 47 55 49 53 74 79 6c 65 20 63 6f 6d 70 6f ...........public.GUIStyle.compo
1380 6e 65 6e 74 4e 61 6d 65 20 3d 20 6e 65 77 20 47 55 49 53 74 79 6c 65 28 45 64 69 74 6f 72 53 74 nentName.=.new.GUIStyle(EditorSt
13a0 79 6c 65 73 2e 62 6f 6c 64 4c 61 62 65 6c 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 75 yles.boldLabel);..............pu
13c0 62 6c 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 20 20 20 blic.Styles().............{.....
13e0 20 20 20 20 20 20 20 20 20 20 20 20 43 6f 6c 6f 72 20 66 6f 6e 74 43 6f 6c 6f 72 20 3d 20 6e 65 ............Color.fontColor.=.ne
1400 77 20 43 6f 6c 6f 72 28 30 2e 37 66 2c 20 30 2e 37 66 2c 20 30 2e 37 66 29 3b 0a 20 20 20 20 20 w.Color(0.7f,.0.7f,.0.7f);......
1420 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 53 74 79 6c 65 2e 70 61 64 64 69 6e 67 2e 72 69 ...........labelStyle.padding.ri
1440 67 68 74 20 2b 3d 20 32 30 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c ght.+=.20;.................label
1460 53 74 79 6c 65 2e 6e 6f 72 6d 61 6c 2e 74 65 78 74 43 6f 6c 6f 72 20 20 20 20 3d 20 66 6f 6e 74 Style.normal.textColor....=.font
1480 43 6f 6c 6f 72 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 53 74 79 6c Color;.................labelStyl
14a0 65 2e 61 63 74 69 76 65 2e 74 65 78 74 43 6f 6c 6f 72 20 20 20 20 3d 20 66 6f 6e 74 43 6f 6c 6f e.active.textColor....=.fontColo
14c0 72 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 53 74 79 6c 65 2e 66 6f r;.................labelStyle.fo
14e0 63 75 73 65 64 2e 74 65 78 74 43 6f 6c 6f 72 20 20 20 3d 20 66 6f 6e 74 43 6f 6c 6f 72 3b 0a 20 cused.textColor...=.fontColor;..
1500 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 53 74 79 6c 65 2e 68 6f 76 65 72 2e ...............labelStyle.hover.
1520 74 65 78 74 43 6f 6c 6f 72 20 20 20 20 20 3d 20 66 6f 6e 74 43 6f 6c 6f 72 3b 0a 20 20 20 20 20 textColor.....=.fontColor;......
1540 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 53 74 79 6c 65 2e 6f 6e 4e 6f 72 6d 61 6c 2e 74 ...........labelStyle.onNormal.t
1560 65 78 74 43 6f 6c 6f 72 20 20 3d 20 66 6f 6e 74 43 6f 6c 6f 72 3b 0a 20 20 20 20 20 20 20 20 20 extColor..=.fontColor;..........
1580 20 20 20 20 20 20 20 6c 61 62 65 6c 53 74 79 6c 65 2e 6f 6e 41 63 74 69 76 65 2e 74 65 78 74 43 .......labelStyle.onActive.textC
15a0 6f 6c 6f 72 20 20 3d 20 66 6f 6e 74 43 6f 6c 6f 72 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 olor..=.fontColor;..............
15c0 20 20 20 6c 61 62 65 6c 53 74 79 6c 65 2e 6f 6e 46 6f 63 75 73 65 64 2e 74 65 78 74 43 6f 6c 6f ...labelStyle.onFocused.textColo
15e0 72 20 3d 20 66 6f 6e 74 43 6f 6c 6f 72 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c r.=.fontColor;.................l
1600 61 62 65 6c 53 74 79 6c 65 2e 6f 6e 48 6f 76 65 72 2e 74 65 78 74 43 6f 6c 6f 72 20 20 20 3d 20 abelStyle.onHover.textColor...=.
1620 66 6f 6e 74 43 6f 6c 6f 72 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 70 fontColor;..................comp
1640 6f 6e 65 6e 74 4e 61 6d 65 2e 6e 6f 72 6d 61 6c 2e 74 65 78 74 43 6f 6c 6f 72 20 3d 20 66 6f 6e onentName.normal.textColor.=.fon
1660 74 43 6f 6c 6f 72 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 70 6f 6e 65 6e tColor;.................componen
1680 74 4e 61 6d 65 2e 61 63 74 69 76 65 2e 74 65 78 74 43 6f 6c 6f 72 20 3d 20 66 6f 6e 74 43 6f 6c tName.active.textColor.=.fontCol
16a0 6f 72 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 70 6f 6e 65 6e 74 4e 61 6d or;.................componentNam
16c0 65 2e 66 6f 63 75 73 65 64 2e 74 65 78 74 43 6f 6c 6f 72 20 3d 20 66 6f 6e 74 43 6f 6c 6f 72 3b e.focused.textColor.=.fontColor;
16e0 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 70 6f 6e 65 6e 74 4e 61 6d 65 2e 68 .................componentName.h
1700 6f 76 65 72 2e 74 65 78 74 43 6f 6c 6f 72 20 3d 20 66 6f 6e 74 43 6f 6c 6f 72 3b 0a 20 20 20 20 over.textColor.=.fontColor;.....
1720 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 70 6f 6e 65 6e 74 4e 61 6d 65 2e 6f 6e 4e 6f 72 6d ............componentName.onNorm
1740 61 6c 2e 74 65 78 74 43 6f 6c 6f 72 20 3d 20 66 6f 6e 74 43 6f 6c 6f 72 3b 0a 20 20 20 20 20 20 al.textColor.=.fontColor;.......
1760 20 20 20 20 20 20 20 20 20 20 63 6f 6d 70 6f 6e 65 6e 74 4e 61 6d 65 2e 6f 6e 41 63 74 69 76 65 ..........componentName.onActive
1780 2e 74 65 78 74 43 6f 6c 6f 72 20 3d 20 66 6f 6e 74 43 6f 6c 6f 72 3b 0a 20 20 20 20 20 20 20 20 .textColor.=.fontColor;.........
17a0 20 20 20 20 20 20 20 20 63 6f 6d 70 6f 6e 65 6e 74 4e 61 6d 65 2e 6f 6e 46 6f 63 75 73 65 64 2e ........componentName.onFocused.
17c0 74 65 78 74 43 6f 6c 6f 72 20 3d 20 66 6f 6e 74 43 6f 6c 6f 72 3b 0a 20 20 20 20 20 20 20 20 20 textColor.=.fontColor;..........
17e0 20 20 20 20 20 20 20 63 6f 6d 70 6f 6e 65 6e 74 4e 61 6d 65 2e 6f 6e 48 6f 76 65 72 2e 74 65 78 .......componentName.onHover.tex
1800 74 43 6f 6c 6f 72 20 3d 20 66 6f 6e 74 43 6f 6c 6f 72 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 tColor.=.fontColor;.............
1820 7d 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 44 69 63 }.........}..........private.Dic
1840 74 69 6f 6e 61 72 79 3c 47 61 6d 65 4f 62 6a 65 63 74 2c 20 4c 69 73 74 3c 43 6f 6d 70 6f 6e 65 tionary<GameObject,.List<Compone
1860 6e 74 49 6e 74 65 72 63 65 70 74 65 64 45 76 65 6e 74 73 3e 3e 20 6d 5f 54 61 72 67 65 74 45 76 ntInterceptedEvents>>.m_TargetEv
1880 65 6e 74 73 3b 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 62 6f 6f 6c 20 6d 5f 49 6e 74 ents;.........private.bool.m_Int
18a0 65 72 63 65 70 74 73 41 6e 79 45 76 65 6e 74 20 3d 20 66 61 6c 73 65 3b 0a 20 20 20 20 20 20 20 erceptsAnyEvent.=.false;........
18c0 20 70 72 69 76 61 74 65 20 47 55 49 43 6f 6e 74 65 6e 74 20 6d 5f 54 69 74 6c 65 3b 0a 20 20 20 .private.GUIContent.m_Title;....
18e0 20 20 20 20 20 70 72 69 76 61 74 65 20 53 74 79 6c 65 73 20 6d 5f 53 74 79 6c 65 73 20 3d 20 6e .....private.Styles.m_Styles.=.n
1900 65 77 20 53 74 79 6c 65 73 28 29 3b 0a 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 6f 76 65 ew.Styles();..........public.ove
1920 72 72 69 64 65 20 76 6f 69 64 20 49 6e 69 74 69 61 6c 69 7a 65 28 55 6e 69 74 79 45 6e 67 69 6e rride.void.Initialize(UnityEngin
1940 65 2e 4f 62 6a 65 63 74 5b 5d 20 74 61 72 67 65 74 73 29 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 e.Object[].targets).........{...
1960 20 20 20 20 20 20 20 20 20 20 50 72 6f 66 69 6c 65 72 2e 42 65 67 69 6e 53 61 6d 70 6c 65 28 22 ..........Profiler.BeginSample("
1980 43 6f 6d 70 6f 6e 65 6e 74 49 6e 74 65 72 63 65 70 74 65 64 45 76 65 6e 74 73 2e 49 6e 69 74 69 ComponentInterceptedEvents.Initi
19a0 61 6c 69 7a 65 22 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 61 73 65 2e 49 6e 69 74 69 alize");..............base.Initi
19c0 61 6c 69 7a 65 28 74 61 72 67 65 74 73 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 54 61 alize(targets);.............m_Ta
19e0 72 67 65 74 45 76 65 6e 74 73 20 3d 20 6e 65 77 20 44 69 63 74 69 6f 6e 61 72 79 3c 47 61 6d 65 rgetEvents.=.new.Dictionary<Game
1a00 4f 62 6a 65 63 74 2c 20 4c 69 73 74 3c 43 6f 6d 70 6f 6e 65 6e 74 49 6e 74 65 72 63 65 70 74 65 Object,.List<ComponentIntercepte
1a20 64 45 76 65 6e 74 73 3e 3e 28 74 61 72 67 65 74 73 2e 43 6f 75 6e 74 28 29 29 3b 0a 20 20 20 20 dEvents>>(targets.Count());.....
1a40 20 20 20 20 20 20 20 20 6d 5f 49 6e 74 65 72 63 65 70 74 73 41 6e 79 45 76 65 6e 74 20 3d 20 66 ........m_InterceptsAnyEvent.=.f
1a60 61 6c 73 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 69 6e 74 20 69 20 3d 20 30 alse;.............for.(int.i.=.0
1a80 3b 20 69 20 3c 20 74 61 72 67 65 74 73 2e 4c 65 6e 67 74 68 3b 20 2b 2b 69 29 0a 20 20 20 20 20 ;.i.<.targets.Length;.++i)......
1aa0 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 61 6d 65 4f 62 6a .......{.................GameObj
1ac0 65 63 74 20 67 6f 20 3d 20 74 61 72 67 65 74 73 5b 69 5d 20 61 73 20 47 61 6d 65 4f 62 6a 65 63 ect.go.=.targets[i].as.GameObjec
1ae0 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4c 69 73 74 3c 43 6f 6d 70 6f 6e 65 6e t;.................List<Componen
1b00 74 49 6e 74 65 72 63 65 70 74 65 64 45 76 65 6e 74 73 3e 20 69 6e 74 65 72 63 65 70 74 65 64 45 tInterceptedEvents>.interceptedE
1b20 76 65 6e 74 73 20 3d 20 47 65 74 45 76 65 6e 74 73 49 6e 66 6f 28 67 6f 29 3b 0a 20 20 20 20 20 vents.=.GetEventsInfo(go);......
1b40 20 20 20 20 20 20 20 20 20 20 20 6d 5f 54 61 72 67 65 74 45 76 65 6e 74 73 2e 41 64 64 28 67 6f ...........m_TargetEvents.Add(go
1b60 2c 20 69 6e 74 65 72 63 65 70 74 65 64 45 76 65 6e 74 73 29 3b 0a 20 20 20 20 20 20 20 20 20 20 ,.interceptedEvents);...........
1b80 20 20 20 20 20 20 69 66 20 28 69 6e 74 65 72 63 65 70 74 65 64 45 76 65 6e 74 73 2e 41 6e 79 28 ......if.(interceptedEvents.Any(
1ba0 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 49 6e 74 65 72 63 65 )).....................m_Interce
1bc0 70 74 73 41 6e 79 45 76 65 6e 74 20 3d 20 74 72 75 65 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 ptsAnyEvent.=.true;.............
1be0 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 50 72 6f 66 69 6c 65 72 2e 45 6e 64 53 61 6d 70 6c 65 }.............Profiler.EndSample
1c00 28 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 6f 76 ();.........}..........public.ov
1c20 65 72 72 69 64 65 20 47 55 49 43 6f 6e 74 65 6e 74 20 47 65 74 50 72 65 76 69 65 77 54 69 74 6c erride.GUIContent.GetPreviewTitl
1c40 65 28 29 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6d 5f e().........{.............if.(m_
1c60 54 69 74 6c 65 20 3d 3d 20 6e 75 6c 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 Title.==.null).............{....
1c80 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 54 69 74 6c 65 20 3d 20 45 64 69 74 6f 72 47 55 49 .............m_Title.=.EditorGUI
1ca0 55 74 69 6c 69 74 79 2e 54 72 54 65 78 74 43 6f 6e 74 65 6e 74 28 22 49 6e 74 65 72 63 65 70 74 Utility.TrTextContent("Intercept
1cc0 65 64 20 45 76 65 6e 74 73 22 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 ed.Events");.............}......
1ce0 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 6d 5f 54 69 74 6c 65 3b 0a 20 20 20 20 20 20 20 20 7d .......return.m_Title;.........}
1d00 0a 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 6f 76 65 72 72 69 64 65 20 62 6f 6f 6c 20 48 ..........public.override.bool.H
1d20 61 73 50 72 65 76 69 65 77 47 55 49 28 29 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 asPreviewGUI().........{........
1d40 20 20 20 20 20 72 65 74 75 72 6e 20 6d 5f 54 61 72 67 65 74 45 76 65 6e 74 73 20 21 3d 20 6e 75 .....return.m_TargetEvents.!=.nu
1d60 6c 6c 20 26 26 20 6d 5f 49 6e 74 65 72 63 65 70 74 73 41 6e 79 45 76 65 6e 74 3b 0a 20 20 20 20 ll.&&.m_InterceptsAnyEvent;.....
1d80 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 6f 76 65 72 72 69 64 65 20 76 ....}..........public.override.v
1da0 6f 69 64 20 4f 6e 50 72 65 76 69 65 77 47 55 49 28 52 65 63 74 20 72 2c 20 47 55 49 53 74 79 6c oid.OnPreviewGUI(Rect.r,.GUIStyl
1dc0 65 20 62 61 63 6b 67 72 6f 75 6e 64 29 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 e.background).........{.........
1de0 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 76 ....if.(Event.current.type.!=.Ev
1e00 65 6e 74 54 79 70 65 2e 52 65 70 61 69 6e 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 entType.Repaint)................
1e20 20 72 65 74 75 72 6e 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 50 72 6f 66 69 6c 65 72 2e 42 65 .return;.............Profiler.Be
1e40 67 69 6e 53 61 6d 70 6c 65 28 22 49 6e 74 65 72 63 65 70 74 65 64 45 76 65 6e 74 73 50 72 65 76 ginSample("InterceptedEventsPrev
1e60 69 65 77 2e 4f 6e 50 72 65 76 69 65 77 47 55 49 22 29 3b 0a 0a 0a 20 20 20 20 20 20 20 20 20 20 iew.OnPreviewGUI");.............
1e80 20 20 69 66 20 28 6d 5f 53 74 79 6c 65 73 20 3d 3d 20 6e 75 6c 6c 29 0a 20 20 20 20 20 20 20 20 ..if.(m_Styles.==.null).........
1ea0 20 20 20 20 20 20 20 20 6d 5f 53 74 79 6c 65 73 20 3d 20 6e 65 77 20 53 74 79 6c 65 73 28 29 3b ........m_Styles.=.new.Styles();
1ec0 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 56 65 63 74 6f 72 32 20 6d 61 78 45 76 65 6e 74 4c 61 ..............Vector2.maxEventLa
1ee0 62 65 6c 53 69 7a 65 20 3d 20 56 65 63 74 6f 72 32 2e 7a 65 72 6f 3b 0a 20 20 20 20 20 20 20 20 belSize.=.Vector2.zero;.........
1f00 20 20 20 20 69 6e 74 20 74 6f 74 61 6c 49 6e 74 65 72 63 65 70 74 65 64 45 76 65 6e 74 73 20 3d ....int.totalInterceptedEvents.=
1f20 20 30 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 4c 69 73 74 3c 43 6f 6d 70 6f 6e 65 6e 74 49 .0;..............List<ComponentI
1f40 6e 74 65 72 63 65 70 74 65 64 45 76 65 6e 74 73 3e 20 63 6f 6d 70 6f 6e 65 6e 74 49 6e 63 65 72 nterceptedEvents>.componentIncer
1f60 63 65 70 74 65 64 45 76 65 6e 74 73 20 3d 20 6d 5f 54 61 72 67 65 74 45 76 65 6e 74 73 5b 74 61 ceptedEvents.=.m_TargetEvents[ta
1f80 72 67 65 74 20 61 73 20 47 61 6d 65 4f 62 6a 65 63 74 5d 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 rget.as.GameObject];............
1fa0 20 20 2f 2f 20 46 69 6e 64 20 6f 75 74 20 74 68 65 20 6d 61 78 69 6d 75 6d 20 73 69 7a 65 20 6e ..//.Find.out.the.maximum.size.n
1fc0 65 65 64 65 64 20 66 6f 72 20 61 6e 79 20 67 69 76 65 6e 20 6c 61 62 65 6c 2e 0a 20 20 20 20 20 eeded.for.any.given.label.......
1fe0 20 20 20 20 20 20 20 66 6f 72 65 61 63 68 20 28 43 6f 6d 70 6f 6e 65 6e 74 49 6e 74 65 72 63 65 .......foreach.(ComponentInterce
2000 70 74 65 64 45 76 65 6e 74 73 20 63 6f 6d 70 6f 6e 65 6e 74 49 6e 74 65 72 63 65 70 74 65 64 45 ptedEvents.componentInterceptedE
2020 76 65 6e 74 73 20 69 6e 20 63 6f 6d 70 6f 6e 65 6e 74 49 6e 63 65 72 63 65 70 74 65 64 45 76 65 vents.in.componentIncerceptedEve
2040 6e 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 20 20 20 20 20 nts).............{..............
2060 20 20 20 66 6f 72 65 61 63 68 20 28 69 6e 74 20 65 76 65 6e 74 49 6e 64 65 78 20 69 6e 20 63 6f ...foreach.(int.eventIndex.in.co
2080 6d 70 6f 6e 65 6e 74 49 6e 74 65 72 63 65 70 74 65 64 45 76 65 6e 74 73 2e 69 6e 74 65 72 63 65 mponentInterceptedEvents.interce
20a0 70 74 65 64 45 76 65 6e 74 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 ptedEvents).................{...
20c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 47 55 49 43 6f 6e 74 65 6e 74 20 65 76 65 ..................GUIContent.eve
20e0 6e 74 43 6f 6e 74 65 6e 74 20 3d 20 73 5f 50 6f 73 73 69 62 6c 65 45 76 65 6e 74 73 5b 65 76 65 ntContent.=.s_PossibleEvents[eve
2100 6e 74 49 6e 64 65 78 5d 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2b 2b ntIndex];.....................++
2120 74 6f 74 61 6c 49 6e 74 65 72 63 65 70 74 65 64 45 76 65 6e 74 73 3b 0a 20 20 20 20 20 20 20 20 totalInterceptedEvents;.........
2140 20 20 20 20 20 20 20 20 20 20 20 20 56 65 63 74 6f 72 32 20 6c 61 62 65 6c 53 69 7a 65 20 3d 20 ............Vector2.labelSize.=.
2160 6d 5f 53 74 79 6c 65 73 2e 6c 61 62 65 6c 53 74 79 6c 65 2e 43 61 6c 63 53 69 7a 65 28 65 76 65 m_Styles.labelStyle.CalcSize(eve
2180 6e 74 43 6f 6e 74 65 6e 74 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ntContent);.....................
21a0 69 66 20 28 6d 61 78 45 76 65 6e 74 4c 61 62 65 6c 53 69 7a 65 2e 78 20 3c 20 6c 61 62 65 6c 53 if.(maxEventLabelSize.x.<.labelS
21c0 69 7a 65 2e 78 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 20 20 ize.x).....................{....
21e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 61 78 45 76 65 6e 74 4c 61 62 .....................maxEventLab
2200 65 6c 53 69 7a 65 2e 78 20 3d 20 6c 61 62 65 6c 53 69 7a 65 2e 78 3b 0a 20 20 20 20 20 20 20 20 elSize.x.=.labelSize.x;.........
2220 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 20 20 20 20 20 ............}...................
2240 20 20 69 66 20 28 6d 61 78 45 76 65 6e 74 4c 61 62 65 6c 53 69 7a 65 2e 79 20 3c 20 6c 61 62 65 ..if.(maxEventLabelSize.y.<.labe
2260 6c 53 69 7a 65 2e 79 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0a 20 lSize.y).....................{..
2280 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 61 78 45 76 65 6e 74 4c .......................maxEventL
22a0 61 62 65 6c 53 69 7a 65 2e 79 20 3d 20 6c 61 62 65 6c 53 69 7a 65 2e 79 3b 0a 20 20 20 20 20 20 abelSize.y.=.labelSize.y;.......
22c0 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 20 20 20 ..............}.................
22e0 7d 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 2f 2f 20 }.............}..............//.
2300 41 70 70 6c 79 20 70 61 64 64 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 52 65 63 74 4f 66 Apply.padding.............RectOf
2320 66 73 65 74 20 70 72 65 76 69 65 77 50 61 64 64 69 6e 67 20 3d 20 6e 65 77 20 52 65 63 74 4f 66 fset.previewPadding.=.new.RectOf
2340 66 73 65 74 28 2d 35 2c 20 2d 35 2c 20 2d 35 2c 20 2d 35 29 3b 0a 20 20 20 20 20 20 20 20 20 20 fset(-5,.-5,.-5,.-5);...........
2360 20 20 72 20 3d 20 70 72 65 76 69 65 77 50 61 64 64 69 6e 67 2e 41 64 64 28 72 29 3b 0a 0a 20 20 ..r.=.previewPadding.Add(r);....
2380 20 20 20 20 20 20 20 20 20 20 2f 2f 20 46 69 67 75 72 65 20 6f 75 74 20 68 6f 77 20 6d 61 6e 79 ..........//.Figure.out.how.many
23a0 20 72 6f 77 73 20 61 6e 64 20 63 6f 6c 75 6d 6e 73 20 77 65 20 63 61 6e 2f 73 68 6f 75 6c 64 20 .rows.and.columns.we.can/should.
23c0 68 61 76 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 74 20 63 6f 6c 75 6d 6e 73 20 3d 20 4d have.............int.columns.=.M
23e0 61 74 68 66 2e 4d 61 78 28 4d 61 74 68 66 2e 46 6c 6f 6f 72 54 6f 49 6e 74 28 72 2e 77 69 64 74 athf.Max(Mathf.FloorToInt(r.widt
2400 68 20 2f 20 6d 61 78 45 76 65 6e 74 4c 61 62 65 6c 53 69 7a 65 2e 78 29 2c 20 31 29 3b 0a 20 20 h./.maxEventLabelSize.x),.1);...
2420 20 20 20 20 20 20 20 20 20 20 69 6e 74 20 72 6f 77 73 20 3d 20 4d 61 74 68 66 2e 4d 61 78 28 74 ..........int.rows.=.Mathf.Max(t
2440 6f 74 61 6c 49 6e 74 65 72 63 65 70 74 65 64 45 76 65 6e 74 73 20 2f 20 63 6f 6c 75 6d 6e 73 2c otalInterceptedEvents./.columns,
2460 20 31 29 20 2b 20 63 6f 6d 70 6f 6e 65 6e 74 49 6e 63 65 72 63 65 70 74 65 64 45 76 65 6e 74 73 .1).+.componentIncerceptedEvents
2480 2e 43 6f 75 6e 74 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 43 65 6e 74 65 72 69 6e .Count;..............//.Centerin
24a0 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 66 6c 6f 61 74 20 69 6e 69 74 69 61 6c 58 20 3d 20 72 g.............float.initialX.=.r
24c0 2e 78 20 2b 20 4d 61 74 68 66 2e 4d 61 78 28 30 2c 20 28 72 2e 77 69 64 74 68 20 2d 20 28 6d 61 .x.+.Mathf.Max(0,.(r.width.-.(ma
24e0 78 45 76 65 6e 74 4c 61 62 65 6c 53 69 7a 65 2e 78 20 2a 20 63 6f 6c 75 6d 6e 73 29 29 20 2f 20 xEventLabelSize.x.*.columns))./.
2500 32 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 66 6c 6f 61 74 20 69 6e 69 74 69 61 6c 59 20 3d 2);.............float.initialY.=
2520 20 72 2e 79 20 2b 20 4d 61 74 68 66 2e 4d 61 78 28 30 2c 20 28 72 2e 68 65 69 67 68 74 20 2d 20 .r.y.+.Mathf.Max(0,.(r.height.-.
2540 28 6d 61 78 45 76 65 6e 74 4c 61 62 65 6c 53 69 7a 65 2e 79 20 2a 20 72 6f 77 73 29 29 20 2f 20 (maxEventLabelSize.y.*.rows))./.
2560 32 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 52 65 63 74 20 6c 61 62 65 6c 52 65 63 74 20 2);..............Rect.labelRect.
2580 3d 20 6e 65 77 20 52 65 63 74 28 69 6e 69 74 69 61 6c 58 2c 20 69 6e 69 74 69 61 6c 59 2c 20 6d =.new.Rect(initialX,.initialY,.m
25a0 61 78 45 76 65 6e 74 4c 61 62 65 6c 53 69 7a 65 2e 78 2c 20 6d 61 78 45 76 65 6e 74 4c 61 62 65 axEventLabelSize.x,.maxEventLabe
25c0 6c 53 69 7a 65 2e 79 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 74 20 63 75 72 72 65 6e lSize.y);.............int.curren
25e0 74 43 6f 6c 75 6d 6e 20 3d 20 30 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 65 61 63 68 tColumn.=.0;.............foreach
2600 20 28 43 6f 6d 70 6f 6e 65 6e 74 49 6e 74 65 72 63 65 70 74 65 64 45 76 65 6e 74 73 20 63 6f 6d .(ComponentInterceptedEvents.com
2620 70 6f 6e 65 6e 74 49 6e 74 65 72 63 65 70 74 65 64 45 76 65 6e 74 73 20 69 6e 20 63 6f 6d 70 6f ponentInterceptedEvents.in.compo
2640 6e 65 6e 74 49 6e 63 65 72 63 65 70 74 65 64 45 76 65 6e 74 73 29 0a 20 20 20 20 20 20 20 20 20 nentIncerceptedEvents)..........
2660 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 47 55 49 2e 4c 61 62 65 6c 28 6c ...{.................GUI.Label(l
2680 61 62 65 6c 52 65 63 74 2c 20 63 6f 6d 70 6f 6e 65 6e 74 49 6e 74 65 72 63 65 70 74 65 64 45 76 abelRect,.componentInterceptedEv
26a0 65 6e 74 73 2e 63 6f 6d 70 6f 6e 65 6e 74 4e 61 6d 65 2c 20 6d 5f 53 74 79 6c 65 73 2e 63 6f 6d ents.componentName,.m_Styles.com
26c0 70 6f 6e 65 6e 74 4e 61 6d 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 ponentName);.................lab
26e0 65 6c 52 65 63 74 2e 79 20 2b 3d 20 6c 61 62 65 6c 52 65 63 74 2e 68 65 69 67 68 74 3b 0a 20 20 elRect.y.+=.labelRect.height;...
2700 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 52 65 63 74 2e 78 20 3d 20 69 6e 69 74 ..............labelRect.x.=.init
2720 69 61 6c 58 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 65 61 63 68 20 28 69 ialX;.................foreach.(i
2740 6e 74 20 65 76 65 6e 74 49 6e 64 65 78 20 69 6e 20 63 6f 6d 70 6f 6e 65 6e 74 49 6e 74 65 72 63 nt.eventIndex.in.componentInterc
2760 65 70 74 65 64 45 76 65 6e 74 73 2e 69 6e 74 65 72 63 65 70 74 65 64 45 76 65 6e 74 73 29 0a 20 eptedEvents.interceptedEvents)..
2780 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 ...............{................
27a0 20 20 20 20 20 47 55 49 43 6f 6e 74 65 6e 74 20 65 76 65 6e 74 43 6f 6e 74 65 6e 74 20 3d 20 73 .....GUIContent.eventContent.=.s
27c0 5f 50 6f 73 73 69 62 6c 65 45 76 65 6e 74 73 5b 65 76 65 6e 74 49 6e 64 65 78 5d 3b 0a 20 20 20 _PossibleEvents[eventIndex];....
27e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 47 55 49 2e 4c 61 62 65 6c 28 6c 61 62 65 6c .................GUI.Label(label
2800 52 65 63 74 2c 20 65 76 65 6e 74 43 6f 6e 74 65 6e 74 2c 20 6d 5f 53 74 79 6c 65 73 2e 6c 61 62 Rect,.eventContent,.m_Styles.lab
2820 65 6c 53 74 79 6c 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 elStyle);.....................if
2840 20 28 63 75 72 72 65 6e 74 43 6f 6c 75 6d 6e 20 3c 20 63 6f 6c 75 6d 6e 73 20 2d 20 31 29 0a 20 .(currentColumn.<.columns.-.1)..
2860 20 20 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 ...................{............
2880 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 52 65 63 74 2e 78 20 2b 3d 20 6c 61 62 65 .............labelRect.x.+=.labe
28a0 6c 52 65 63 74 2e 77 69 64 74 68 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 lRect.width;....................
28c0 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 .}.....................else.....
28e0 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 20 ................{...............
2900 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 52 65 63 74 2e 79 20 2b 3d 20 6c 61 62 65 6c 52 65 ..........labelRect.y.+=.labelRe
2920 63 74 2e 68 65 69 67 68 74 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ct.height;......................
2940 20 20 20 6c 61 62 65 6c 52 65 63 74 2e 78 20 3d 20 69 6e 69 74 69 61 6c 58 3b 0a 20 20 20 20 20 ...labelRect.x.=.initialX;......
2960 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 20 20 20 20 20 ...............}................
2980 20 20 20 20 20 20 63 75 72 72 65 6e 74 43 6f 6c 75 6d 6e 20 3d 20 28 63 75 72 72 65 6e 74 43 6f ......currentColumn.=.(currentCo
29a0 6c 75 6d 6e 20 2b 20 31 29 20 25 20 63 6f 6c 75 6d 6e 73 3b 0a 20 20 20 20 20 20 20 20 20 20 20 lumn.+.1).%.columns;............
29c0 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6c 61 62 65 .....}..................if.(labe
29e0 6c 52 65 63 74 2e 78 20 21 3d 20 69 6e 69 74 69 61 6c 58 29 0a 20 20 20 20 20 20 20 20 20 20 20 lRect.x.!=.initialX)............
2a00 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 6c 61 62 65 6c .....{.....................label
2a20 52 65 63 74 2e 79 20 2b 3d 20 6c 61 62 65 6c 52 65 63 74 2e 68 65 69 67 68 74 3b 0a 20 20 20 20 Rect.y.+=.labelRect.height;.....
2a40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 61 62 65 6c 52 65 63 74 2e 78 20 3d 20 69 6e ................labelRect.x.=.in
2a60 69 74 69 61 6c 58 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 itialX;.................}.......
2a80 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 50 72 6f 66 69 6c 65 72 2e 45 6e 64 ......}.............Profiler.End
2aa0 53 61 6d 70 6c 65 28 29 3b 0a 20 20 20 20 20 20 20 20 7d 0a 0a 20 20 20 20 20 20 20 20 2f 2f 4c Sample();.........}..........//L
2ac0 6f 6f 6b 75 70 20 63 61 63 68 65 20 74 6f 20 61 76 6f 69 64 20 72 65 63 61 6c 63 75 6c 61 74 69 ookup.cache.to.avoid.recalculati
2ae0 6e 67 20 77 68 69 63 68 20 74 79 70 65 73 20 75 73 65 73 20 77 68 69 63 68 20 65 76 65 6e 74 73 ng.which.types.uses.which.events
2b00 3a 0a 20 20 20 20 20 20 20 20 2f 2f 43 61 63 68 65 73 20 61 6c 6c 20 69 6e 74 65 72 66 61 63 65 :.........//Caches.all.interface
2b20 73 20 74 68 61 74 20 69 6e 68 65 72 69 74 20 66 72 6f 6d 20 49 45 76 65 6e 74 53 79 73 74 65 6d s.that.inherit.from.IEventSystem
2b40 48 61 6e 64 6c 65 72 0a 20 20 20 20 20 20 20 20 73 74 61 74 69 63 20 4c 69 73 74 3c 54 79 70 65 Handler.........static.List<Type
2b60 3e 20 73 5f 45 76 65 6e 74 53 79 73 74 65 6d 49 6e 74 65 72 66 61 63 65 73 20 3d 20 6e 75 6c 6c >.s_EventSystemInterfaces.=.null
2b80 3b 0a 20 20 20 20 20 20 20 20 2f 2f 43 61 63 68 65 73 20 61 6c 6c 20 47 55 49 43 6f 6e 74 65 6e ;.........//Caches.all.GUIConten
2ba0 74 73 20 69 6e 20 61 20 73 69 6e 67 6c 65 20 6c 69 73 74 20 74 6f 20 61 76 6f 69 64 20 63 72 65 ts.in.a.single.list.to.avoid.cre
2bc0 61 74 69 6e 67 20 74 6f 6f 20 6d 75 63 68 20 47 55 49 43 6f 6e 74 65 6e 74 20 61 6e 64 20 73 74 ating.too.much.GUIContent.and.st
2be0 72 69 6e 67 73 2e 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 73 74 61 74 69 63 20 4c 69 rings..........private.static.Li
2c00 73 74 3c 47 55 49 43 6f 6e 74 65 6e 74 3e 20 73 5f 50 6f 73 73 69 62 6c 65 45 76 65 6e 74 73 20 st<GUIContent>.s_PossibleEvents.
2c20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 20 20 2f 2f 43 61 63 68 65 73 20 61 6c 6c 20 65 76 65 =.null;.........//Caches.all.eve
2c40 6e 74 73 20 75 73 65 64 20 62 79 20 65 61 63 68 20 69 6e 74 65 72 66 61 63 65 0a 20 20 20 20 20 nts.used.by.each.interface......
2c60 20 20 20 73 74 61 74 69 63 20 44 69 63 74 69 6f 6e 61 72 79 3c 54 79 70 65 2c 20 4c 69 73 74 3c ...static.Dictionary<Type,.List<
2c80 69 6e 74 3e 3e 20 73 5f 49 6e 74 65 72 66 61 63 65 45 76 65 6e 74 53 79 73 74 65 6d 45 76 65 6e int>>.s_InterfaceEventSystemEven
2ca0 74 73 20 3d 20 6e 75 6c 6c 3b 0a 20 20 20 20 20 20 20 20 2f 2f 43 61 63 68 65 73 20 65 61 63 68 ts.=.null;.........//Caches.each
2cc0 20 63 6f 6e 63 72 65 74 65 20 74 79 70 65 20 61 6e 64 20 69 74 27 73 20 65 76 65 6e 74 73 0a 20 .concrete.type.and.it's.events..
2ce0 20 20 20 20 20 20 20 73 74 61 74 69 63 20 72 65 61 64 6f 6e 6c 79 20 44 69 63 74 69 6f 6e 61 72 .......static.readonly.Dictionar
2d00 79 3c 54 79 70 65 2c 20 43 6f 6d 70 6f 6e 65 6e 74 49 6e 74 65 72 63 65 70 74 65 64 45 76 65 6e y<Type,.ComponentInterceptedEven
2d20 74 73 3e 20 73 5f 43 6f 6d 70 6f 6e 65 6e 74 45 76 65 6e 74 73 32 20 3d 20 6e 65 77 20 44 69 63 ts>.s_ComponentEvents2.=.new.Dic
2d40 74 69 6f 6e 61 72 79 3c 54 79 70 65 2c 20 43 6f 6d 70 6f 6e 65 6e 74 49 6e 74 65 72 63 65 70 74 tionary<Type,.ComponentIntercept
2d60 65 64 45 76 65 6e 74 73 3e 28 29 3b 0a 0a 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 edEvents>();...........protected
2d80 20 73 74 61 74 69 63 20 4c 69 73 74 3c 43 6f 6d 70 6f 6e 65 6e 74 49 6e 74 65 72 63 65 70 74 65 .static.List<ComponentIntercepte
2da0 64 45 76 65 6e 74 73 3e 20 47 65 74 45 76 65 6e 74 73 49 6e 66 6f 28 47 61 6d 65 4f 62 6a 65 63 dEvents>.GetEventsInfo(GameObjec
2dc0 74 20 67 61 6d 65 4f 62 6a 65 63 74 29 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 t.gameObject).........{.........
2de0 20 20 20 20 49 6e 69 74 69 61 6c 69 7a 65 45 76 65 74 6e 73 49 6e 74 65 72 66 61 63 65 43 61 63 ....InitializeEvetnsInterfaceCac
2e00 68 65 49 66 4e 65 65 64 65 64 28 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 4c 69 73 74 3c heIfNeeded();..............List<
2e20 43 6f 6d 70 6f 6e 65 6e 74 49 6e 74 65 72 63 65 70 74 65 64 45 76 65 6e 74 73 3e 20 63 6f 6d 70 ComponentInterceptedEvents>.comp
2e40 6f 6e 65 6e 74 45 76 65 6e 74 73 20 3d 20 6e 65 77 20 4c 69 73 74 3c 43 6f 6d 70 6f 6e 65 6e 74 onentEvents.=.new.List<Component
2e60 49 6e 74 65 72 63 65 70 74 65 64 45 76 65 6e 74 73 3e 28 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 InterceptedEvents>();...........
2e80 20 20 20 4d 6f 6e 6f 42 65 68 61 76 69 6f 75 72 5b 5d 20 6d 62 73 20 3d 20 67 61 6d 65 4f 62 6a ...MonoBehaviour[].mbs.=.gameObj
2ea0 65 63 74 2e 47 65 74 43 6f 6d 70 6f 6e 65 6e 74 73 3c 4d 6f 6e 6f 42 65 68 61 76 69 6f 75 72 3e ect.GetComponents<MonoBehaviour>
2ec0 28 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 69 6e 74 20 69 20 3d 20 30 2c ();..............for.(int.i.=.0,
2ee0 20 69 6d 61 78 20 3d 20 6d 62 73 2e 4c 65 6e 67 74 68 3b 20 69 20 3c 20 69 6d 61 78 3b 20 2b 2b .imax.=.mbs.Length;.i.<.imax;.++
2f00 69 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 i).............{................
2f20 20 43 6f 6d 70 6f 6e 65 6e 74 49 6e 74 65 72 63 65 70 74 65 64 45 76 65 6e 74 73 20 63 6f 6d 70 .ComponentInterceptedEvents.comp
2f40 6f 6e 65 6e 74 45 76 65 6e 74 20 3d 20 6e 75 6c 6c 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 onentEvent.=.null;..............
2f60 20 20 20 20 4d 6f 6e 6f 42 65 68 61 76 69 6f 75 72 20 6d 62 20 3d 20 6d 62 73 5b 69 5d 3b 0a 20 ....MonoBehaviour.mb.=.mbs[i];..
2f80 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6d 62 20 3d 3d 20 6e 75 6c 6c 29 0a 20 ...............if.(mb.==.null)..
2fa0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 69 6e 75 65 3b 0a 0a 20 20 ...................continue;....
2fc0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 54 79 70 65 20 74 79 70 65 20 3d 20 6d 62 2e 47 65 74 ..............Type.type.=.mb.Get
2fe0 54 79 70 65 28 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 73 5f Type();..................if.(!s_
3000 43 6f 6d 70 6f 6e 65 6e 74 45 76 65 6e 74 73 32 2e 43 6f 6e 74 61 69 6e 73 4b 65 79 28 74 79 70 ComponentEvents2.ContainsKey(typ
3020 65 29 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 e)).................{...........
3040 20 20 20 20 20 20 20 20 20 20 4c 69 73 74 3c 69 6e 74 3e 20 65 76 65 6e 74 73 20 3d 20 6e 75 6c ..........List<int>.events.=.nul
3060 6c 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 50 72 6f 66 69 6c 65 72 2e l;.....................Profiler.
3080 42 65 67 69 6e 53 61 6d 70 6c 65 28 22 43 6f 6d 70 6f 6e 65 6e 74 49 6e 74 65 72 63 65 70 74 65 BeginSample("ComponentIntercepte
30a0 64 45 76 65 6e 74 73 2e 47 65 74 45 76 65 6e 74 73 49 6e 66 6f 2e 4e 65 77 54 79 70 65 22 29 3b dEvents.GetEventsInfo.NewType");
30c0 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 79 70 65 6f 66 28 .....................if.(typeof(
30e0 49 45 76 65 6e 74 53 79 73 74 65 6d 48 61 6e 64 6c 65 72 29 2e 49 73 41 73 73 69 67 6e 61 62 6c IEventSystemHandler).IsAssignabl
3100 65 46 72 6f 6d 28 74 79 70 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 eFrom(type))....................
3120 20 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 66 6f 72 20 28 .{.........................for.(
3140 69 6e 74 20 69 6e 64 65 78 20 3d 20 30 3b 20 69 6e 64 65 78 20 3c 20 73 5f 45 76 65 6e 74 53 79 int.index.=.0;.index.<.s_EventSy
3160 73 74 65 6d 49 6e 74 65 72 66 61 63 65 73 2e 43 6f 75 6e 74 3b 20 69 6e 64 65 78 2b 2b 29 0a 20 stemInterfaces.Count;.index++)..
3180 20 20 20 20 20 20 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 .......................{........
31a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 65 76 65 6e 74 49 6e .....................var.eventIn
31c0 74 65 72 66 61 63 65 20 3d 20 73 5f 45 76 65 6e 74 53 79 73 74 65 6d 49 6e 74 65 72 66 61 63 65 terface.=.s_EventSystemInterface
31e0 73 5b 69 6e 64 65 78 5d 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 s[index];.......................
3200 20 20 20 20 20 20 69 66 20 28 21 65 76 65 6e 74 49 6e 74 65 72 66 61 63 65 2e 49 73 41 73 73 69 ......if.(!eventInterface.IsAssi
3220 67 6e 61 62 6c 65 46 72 6f 6d 28 74 79 70 65 29 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 gnableFrom(type))...............
3240 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 69 6e 75 65 3b 0a 0a 20 20 20 ..................continue;.....
3260 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 69 66 20 28 65 76 65 .........................if.(eve
3280 6e 74 73 20 3d 3d 20 6e 75 6c 6c 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 nts.==.null)....................
32a0 20 20 20 20 20 20 20 20 20 20 20 20 20 65 76 65 6e 74 73 20 3d 20 6e 65 77 20 4c 69 73 74 3c 69 .............events.=.new.List<i
32c0 6e 74 3e 28 29 3b 0a 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 nt>();..........................
32e0 20 20 20 20 65 76 65 6e 74 73 2e 41 64 64 52 61 6e 67 65 28 73 5f 49 6e 74 65 72 66 61 63 65 45 ....events.AddRange(s_InterfaceE
3300 76 65 6e 74 53 79 73 74 65 6d 45 76 65 6e 74 73 5b 65 76 65 6e 74 49 6e 74 65 72 66 61 63 65 5d ventSystemEvents[eventInterface]
3320 29 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 7d 0a 20 20 20 );.........................}....
3340 20 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 20 20 20 .................}..............
3360 20 20 20 20 20 20 20 20 69 66 20 28 65 76 65 6e 74 73 20 21 3d 20 6e 75 6c 6c 29 0a 20 20 20 20 ........if.(events.!=.null).....
3380 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 20 ................{...............
33a0 20 20 20 20 20 20 20 20 20 20 63 6f 6d 70 6f 6e 65 6e 74 45 76 65 6e 74 20 3d 20 6e 65 77 20 43 ..........componentEvent.=.new.C
33c0 6f 6d 70 6f 6e 65 6e 74 49 6e 74 65 72 63 65 70 74 65 64 45 76 65 6e 74 73 28 29 3b 0a 20 20 20 omponentInterceptedEvents();....
33e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 70 6f 6e 65 6e 74 45 76 .....................componentEv
3400 65 6e 74 2e 63 6f 6d 70 6f 6e 65 6e 74 4e 61 6d 65 20 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 ent.componentName.=.new.GUIConte
3420 6e 74 28 74 79 70 65 2e 4e 61 6d 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 nt(type.Name);..................
3440 20 20 20 20 20 20 20 63 6f 6d 70 6f 6e 65 6e 74 45 76 65 6e 74 2e 69 6e 74 65 72 63 65 70 74 65 .......componentEvent.intercepte
3460 64 45 76 65 6e 74 73 20 3d 20 65 76 65 6e 74 73 2e 4f 72 64 65 72 42 79 28 69 6e 64 65 78 20 3d dEvents.=.events.OrderBy(index.=
3480 3e 20 73 5f 50 6f 73 73 69 62 6c 65 45 76 65 6e 74 73 5b 69 6e 64 65 78 5d 2e 74 65 78 74 29 2e >.s_PossibleEvents[index].text).
34a0 54 6f 41 72 72 61 79 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d ToArray();.....................}
34c0 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 5f 43 6f 6d 70 6f 6e 65 6e 74 .....................s_Component
34e0 45 76 65 6e 74 73 32 2e 41 64 64 28 74 79 70 65 2c 20 63 6f 6d 70 6f 6e 65 6e 74 45 76 65 6e 74 Events2.Add(type,.componentEvent
3500 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 50 72 6f 66 69 6c 65 72 );......................Profiler
3520 2e 45 6e 64 53 61 6d 70 6c 65 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a .EndSample();.................}.
3540 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 0a 20 20 20 20 20 20 20 20 20 20 20 ................else............
3560 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 63 6f 6d 70 6f .....{.....................compo
3580 6e 65 6e 74 45 76 65 6e 74 20 3d 20 73 5f 43 6f 6d 70 6f 6e 65 6e 74 45 76 65 6e 74 73 32 5b 74 nentEvent.=.s_ComponentEvents2[t
35a0 79 70 65 5d 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0a 0a 0a 20 20 20 20 20 20 ype];.................}.........
35c0 20 20 20 20 20 20 20 20 20 20 69 66 20 28 63 6f 6d 70 6f 6e 65 6e 74 45 76 65 6e 74 20 21 3d 20 ..........if.(componentEvent.!=.
35e0 6e 75 6c 6c 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 null).................{.........
3600 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 70 6f 6e 65 6e 74 45 76 65 6e 74 73 2e 41 64 64 28 ............componentEvents.Add(
3620 63 6f 6d 70 6f 6e 65 6e 74 45 76 65 6e 74 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 componentEvent);................
3640 20 7d 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 72 65 .}.............}..............re
3660 74 75 72 6e 20 63 6f 6d 70 6f 6e 65 6e 74 45 76 65 6e 74 73 3b 0a 20 20 20 20 20 20 20 20 7d 0a turn.componentEvents;.........}.
3680 0a 20 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 49 6e 69 .........private.static.void.Ini
36a0 74 69 61 6c 69 7a 65 45 76 65 74 6e 73 49 6e 74 65 72 66 61 63 65 43 61 63 68 65 49 66 4e 65 65 tializeEvetnsInterfaceCacheIfNee
36c0 64 65 64 28 29 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 ded().........{.............if.(
36e0 73 5f 45 76 65 6e 74 53 79 73 74 65 6d 49 6e 74 65 72 66 61 63 65 73 20 21 3d 20 6e 75 6c 6c 29 s_EventSystemInterfaces.!=.null)
3700 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0a 0a 20 20 20 20 20 20 .................return;........
3720 20 20 20 20 20 20 73 5f 45 76 65 6e 74 53 79 73 74 65 6d 49 6e 74 65 72 66 61 63 65 73 20 3d 20 ......s_EventSystemInterfaces.=.
3740 6e 65 77 20 4c 69 73 74 3c 54 79 70 65 3e 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 5f new.List<Type>();.............s_
3760 50 6f 73 73 69 62 6c 65 45 76 65 6e 74 73 20 3d 20 6e 65 77 20 4c 69 73 74 3c 47 55 49 43 6f 6e PossibleEvents.=.new.List<GUICon
3780 74 65 6e 74 3e 28 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 5f 49 6e 74 65 72 66 61 63 65 tent>();.............s_Interface
37a0 45 76 65 6e 74 53 79 73 74 65 6d 45 76 65 6e 74 73 20 3d 20 6e 65 77 20 44 69 63 74 69 6f 6e 61 EventSystemEvents.=.new.Dictiona
37c0 72 79 3c 54 79 70 65 2c 20 4c 69 73 74 3c 69 6e 74 3e 3e 28 29 3b 0a 0a 20 20 20 20 20 20 20 20 ry<Type,.List<int>>();..........
37e0 20 20 20 20 54 79 70 65 43 61 63 68 65 2e 54 79 70 65 43 6f 6c 6c 65 63 74 69 6f 6e 20 74 79 70 ....TypeCache.TypeCollection.typ
3800 65 73 20 3d 20 54 79 70 65 43 61 63 68 65 2e 47 65 74 54 79 70 65 73 44 65 72 69 76 65 64 46 72 es.=.TypeCache.GetTypesDerivedFr
3820 6f 6d 3c 49 45 76 65 6e 74 53 79 73 74 65 6d 48 61 6e 64 6c 65 72 3e 28 29 3b 0a 20 20 20 20 20 om<IEventSystemHandler>();......
3840 20 20 20 20 20 20 20 66 6f 72 65 61 63 68 20 28 76 61 72 20 74 79 70 65 20 69 6e 20 74 79 70 65 .......foreach.(var.type.in.type
3860 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).............{................
3880 20 69 66 20 28 21 74 79 70 65 2e 49 73 49 6e 74 65 72 66 61 63 65 29 0a 20 20 20 20 20 20 20 20 .if.(!type.IsInterface).........
38a0 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 69 6e 75 65 3b 0a 0a 20 20 20 20 20 20 20 20 20 ............continue;...........
38c0 20 20 20 20 20 20 20 73 5f 45 76 65 6e 74 53 79 73 74 65 6d 49 6e 74 65 72 66 61 63 65 73 2e 41 .......s_EventSystemInterfaces.A
38e0 64 64 28 74 79 70 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4c 69 73 74 3c 69 dd(type);.................List<i
3900 6e 74 3e 20 65 76 65 6e 74 49 6e 64 65 78 4c 69 73 74 20 3d 20 6e 65 77 20 4c 69 73 74 3c 69 6e nt>.eventIndexList.=.new.List<in
3920 74 3e 28 29 3b 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4d 65 74 68 6f 64 49 6e 66 t>();..................MethodInf
3940 6f 5b 5d 20 6d 65 74 68 6f 64 49 6e 66 6f 73 20 3d 20 74 79 70 65 2e 47 65 74 4d 65 74 68 6f 64 o[].methodInfos.=.type.GetMethod
3960 73 28 42 69 6e 64 69 6e 67 46 6c 61 67 73 2e 50 75 62 6c 69 63 20 7c 20 42 69 6e 64 69 6e 67 46 s(BindingFlags.Public.|.BindingF
3980 6c 61 67 73 2e 4e 6f 6e 50 75 62 6c 69 63 20 7c 20 42 69 6e 64 69 6e 67 46 6c 61 67 73 2e 49 6e lags.NonPublic.|.BindingFlags.In
39a0 73 74 61 6e 63 65 29 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 69 6e stance);.................for.(in
39c0 74 20 6d 69 20 3d 20 30 3b 20 6d 69 20 3c 20 6d 65 74 68 6f 64 49 6e 66 6f 73 2e 4c 65 6e 67 74 t.mi.=.0;.mi.<.methodInfos.Lengt
39e0 68 3b 20 6d 69 2b 2b 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 h;.mi++).................{......
3a00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4d 65 74 68 6f 64 49 6e 66 6f 20 6d 65 74 68 6f 64 ...............MethodInfo.method
3a20 49 6e 66 6f 20 3d 20 6d 65 74 68 6f 64 49 6e 66 6f 73 5b 6d 69 5d 3b 0a 20 20 20 20 20 20 20 20 Info.=.methodInfos[mi];.........
3a40 20 20 20 20 20 20 20 20 20 20 20 20 65 76 65 6e 74 49 6e 64 65 78 4c 69 73 74 2e 41 64 64 28 73 ............eventIndexList.Add(s
3a60 5f 50 6f 73 73 69 62 6c 65 45 76 65 6e 74 73 2e 43 6f 75 6e 74 29 3b 0a 20 20 20 20 20 20 20 20 _PossibleEvents.Count);.........
3a80 20 20 20 20 20 20 20 20 20 20 20 20 73 5f 50 6f 73 73 69 62 6c 65 45 76 65 6e 74 73 2e 41 64 64 ............s_PossibleEvents.Add
3aa0 28 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 6d 65 74 68 6f 64 49 6e 66 6f 2e 4e 61 6d 65 29 (new.GUIContent(methodInfo.Name)
3ac0 29 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 );.................}............
3ae0 20 20 20 20 20 73 5f 49 6e 74 65 72 66 61 63 65 45 76 65 6e 74 53 79 73 74 65 6d 45 76 65 6e 74 .....s_InterfaceEventSystemEvent
3b00 73 2e 41 64 64 28 74 79 70 65 2c 20 65 76 65 6e 74 49 6e 64 65 78 4c 69 73 74 29 3b 0a 20 20 20 s.Add(type,.eventIndexList);....
3b20 20 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 20 20 7d 0a 7d 0a 00 00 00 .........}.........}.....}.}....
3b40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 18 00 00 00 49 6e 74 65 72 63 65 70 ........................Intercep
3b60 74 65 64 45 76 65 6e 74 73 50 72 65 76 69 65 77 12 00 00 00 55 6e 69 74 79 45 64 69 74 6f 72 2e tedEventsPreview....UnityEditor.
3b80 45 76 65 6e 74 73 00 00 Events..