summaryrefslogtreecommitdiff
path: root/Library/Artifacts/3f/3f6c1139f637f5216d949c0116c416de
blob: 990918985e592a4f9c66e7b54fb7167b077f2e7e (plain)
ofshex dumpascii
0000 00 00 0f 81 00 00 39 ac 00 00 00 15 00 00 10 00 00 00 00 00 32 30 31 39 2e 33 2e 36 66 31 00 fe ......9.............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 4c 29 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 L)..............................
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 12 00 00 00 49 6e 70 75 74 45 76 65 6e 74 54 72 65 65 56 69 65 77 00 00 ............InputEventTreeView..
10a0 b5 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 .(..#if.UNITY_EDITOR..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 0d 0a 75 73 69 6e 67 20 53 em.Collections.Generic;..using.S
10e0 79 73 74 65 6d 2e 4c 69 6e 71 3b 0d 0a 75 73 69 6e 67 20 55 6e 69 74 79 45 64 69 74 6f 72 2e 49 ystem.Linq;..using.UnityEditor.I
1100 4d 47 55 49 2e 43 6f 6e 74 72 6f 6c 73 3b 0d 0a 75 73 69 6e 67 20 55 6e 69 74 79 45 6e 67 69 6e MGUI.Controls;..using.UnityEngin
1120 65 2e 49 6e 70 75 74 53 79 73 74 65 6d 2e 4c 6f 77 4c 65 76 65 6c 3b 0d 0a 75 73 69 6e 67 20 55 e.InputSystem.LowLevel;..using.U
1140 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 6e 67 69 6e 65 2e 50 nityEditor;..using.UnityEngine.P
1160 72 6f 66 69 6c 69 6e 67 3b 0d 0a 0d 0a 2f 2f 2f 2f 46 49 58 4d 45 3a 20 74 68 69 73 20 70 65 72 rofiling;....////FIXME:.this.per
1180 66 6f 72 6d 73 20 68 6f 72 72 69 62 6c 79 3b 20 74 68 65 20 63 6f 6e 73 74 61 6e 74 20 72 65 62 forms.horribly;.the.constant.reb
11a0 75 69 6c 64 69 6e 67 20 6f 6e 20 65 76 65 72 79 20 73 69 6e 67 6c 65 20 65 76 65 6e 74 20 6d 61 uilding.on.every.single.event.ma
11c0 6b 65 73 20 74 68 65 20 64 65 62 75 67 20 76 69 65 77 20 73 75 70 65 72 20 73 6c 6f 77 20 77 68 kes.the.debug.view.super.slow.wh
11e0 65 6e 20 64 65 76 69 63 65 20 69 73 20 6e 6f 69 73 79 0d 0a 0d 0a 2f 2f 2f 2f 54 4f 44 4f 3a 20 en.device.is.noisy....////TODO:.
1200 61 64 64 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 61 62 6f 75 74 20 77 68 69 63 68 20 75 70 64 61 add.information.about.which.upda
1220 74 65 20 74 79 70 65 20 2b 20 75 70 64 61 74 65 20 63 6f 75 6e 74 20 61 6e 20 65 76 65 6e 74 20 te.type.+.update.count.an.event.
1240 63 61 6d 65 20 74 68 72 6f 75 67 68 20 69 6e 0d 0a 0d 0a 2f 2f 2f 2f 54 4f 44 4f 3a 20 61 64 64 came.through.in....////TODO:.add
1260 20 6d 6f 72 65 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 66 6f 72 20 65 61 63 68 20 65 76 65 6e 74 .more.information.for.each.event
1280 20 28 69 64 65 61 6c 6c 79 2c 20 64 75 6d 70 20 64 65 6c 74 61 73 20 74 68 61 74 20 68 69 67 68 .(ideally,.dump.deltas.that.high
12a0 6c 69 67 68 74 20 63 6f 6e 74 72 6f 6c 20 76 61 6c 75 65 73 20 74 68 61 74 20 68 61 76 65 20 63 light.control.values.that.have.c
12c0 68 61 6e 67 65 64 29 0d 0a 0d 0a 2f 2f 2f 2f 54 4f 44 4f 3a 20 61 64 64 20 64 69 61 67 6e 6f 73 hanged)....////TODO:.add.diagnos
12e0 74 69 63 73 20 74 6f 20 69 6d 6d 65 64 69 61 74 65 6c 79 20 68 69 67 68 6c 69 67 68 74 20 70 72 tics.to.immediately.highlight.pr
1300 6f 62 6c 65 6d 73 20 77 69 74 68 20 65 76 65 6e 74 73 20 28 65 2e 67 2e 20 65 76 65 6e 74 73 20 oblems.with.events.(e.g..events.
1320 67 65 74 74 69 6e 67 20 69 67 6e 6f 72 65 64 20 62 65 63 61 75 73 65 20 6f 66 20 69 6e 63 6f 72 getting.ignored.because.of.incor
1340 72 65 63 74 20 74 79 70 65 20 63 6f 64 65 73 29 0d 0a 0d 0a 2f 2f 2f 2f 54 4f 44 4f 3a 20 69 6d rect.type.codes)....////TODO:.im
1360 70 6c 65 6d 65 6e 74 20 73 75 70 70 6f 72 74 20 66 6f 72 20 73 6f 72 74 69 6e 67 20 64 61 74 61 plement.support.for.sorting.data
1380 20 62 79 20 64 69 66 66 65 72 65 6e 74 20 70 72 6f 70 65 72 74 79 20 63 6f 6c 75 6d 6e 73 20 28 .by.different.property.columns.(
13a0 77 65 20 63 75 72 72 65 6e 74 6c 79 20 61 6c 77 61 79 73 20 73 6f 72 74 20 65 76 65 6e 74 73 20 we.currently.always.sort.events.
13c0 62 79 20 49 44 29 0d 0a 0d 0a 6e 61 6d 65 73 70 61 63 65 20 55 6e 69 74 79 45 6e 67 69 6e 65 2e by.ID)....namespace.UnityEngine.
13e0 49 6e 70 75 74 53 79 73 74 65 6d 2e 45 64 69 74 6f 72 0d 0a 7b 0d 0a 20 20 20 20 2f 2f 20 4d 75 InputSystem.Editor..{......//.Mu
1400 6c 74 69 2d 63 6f 6c 75 6d 6e 20 54 72 65 65 56 69 65 77 20 74 68 61 74 20 73 68 6f 77 73 20 74 lti-column.TreeView.that.shows.t
1420 68 65 20 65 76 65 6e 74 73 20 69 6e 20 61 20 74 72 61 63 65 2e 0d 0a 20 20 20 20 69 6e 74 65 72 he.events.in.a.trace.......inter
1440 6e 61 6c 20 63 6c 61 73 73 20 49 6e 70 75 74 45 76 65 6e 74 54 72 65 65 56 69 65 77 20 3a 20 54 nal.class.InputEventTreeView.:.T
1460 72 65 65 56 69 65 77 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 reeView......{..........private.
1480 72 65 61 64 6f 6e 6c 79 20 49 6e 70 75 74 45 76 65 6e 74 54 72 61 63 65 20 6d 5f 45 76 65 6e 74 readonly.InputEventTrace.m_Event
14a0 54 72 61 63 65 3b 0d 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 72 65 61 64 6f 6e 6c 79 Trace;..........private.readonly
14c0 20 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 20 6d 5f 52 6f 6f 74 43 6f 6e 74 72 6f 6c 3b 0d 0a 0d 0a .InputControl.m_RootControl;....
14e0 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 65 6e 75 6d 20 43 6f 6c 75 6d 6e 49 64 0d 0a 20 ........private.enum.ColumnId...
1500 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 49 64 2c 0d 0a 20 20 20 20 20 .......{..............Id,.......
1520 20 20 20 20 20 20 20 54 79 70 65 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 44 65 76 69 63 65 .......Type,..............Device
1540 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 53 69 7a 65 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 ,..............Size,............
1560 20 20 54 69 6d 65 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 44 65 74 61 69 6c 73 2c 0d 0a 20 ..Time,..............Details,...
1580 20 20 20 20 20 20 20 20 20 20 20 43 4f 55 4e 54 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 ...........COUNT..........}.....
15a0 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 73 74 61 74 69 63 20 49 6e 70 75 74 45 76 65 6e 74 54 .......public.static.InputEventT
15c0 72 65 65 56 69 65 77 20 43 72 65 61 74 65 28 49 6e 70 75 74 44 65 76 69 63 65 20 64 65 76 69 63 reeView.Create(InputDevice.devic
15e0 65 2c 20 49 6e 70 75 74 45 76 65 6e 74 54 72 61 63 65 20 65 76 65 6e 74 54 72 61 63 65 2c 20 72 e,.InputEventTrace.eventTrace,.r
1600 65 66 20 54 72 65 65 56 69 65 77 53 74 61 74 65 20 74 72 65 65 53 74 61 74 65 2c 20 72 65 66 20 ef.TreeViewState.treeState,.ref.
1620 4d 75 6c 74 69 43 6f 6c 75 6d 6e 48 65 61 64 65 72 53 74 61 74 65 20 68 65 61 64 65 72 53 74 61 MultiColumnHeaderState.headerSta
1640 74 65 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 te)..........{..............if.(
1660 74 72 65 65 53 74 61 74 65 20 3d 3d 20 6e 75 6c 6c 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 treeState.==.null)..............
1680 20 20 20 20 74 72 65 65 53 74 61 74 65 20 3d 20 6e 65 77 20 54 72 65 65 56 69 65 77 53 74 61 74 ....treeState.=.new.TreeViewStat
16a0 65 28 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6e 65 77 48 65 61 64 65 e();................var.newHeade
16c0 72 53 74 61 74 65 20 3d 20 43 72 65 61 74 65 48 65 61 64 65 72 53 74 61 74 65 28 29 3b 0d 0a 20 rState.=.CreateHeaderState();...
16e0 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 68 65 61 64 65 72 53 74 61 74 65 20 21 3d 20 6e 75 ...........if.(headerState.!=.nu
1700 6c 6c 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4d 75 6c 74 69 43 6f 6c 75 6d 6e ll)..................MultiColumn
1720 48 65 61 64 65 72 53 74 61 74 65 2e 4f 76 65 72 77 72 69 74 65 53 65 72 69 61 6c 69 7a 65 64 46 HeaderState.OverwriteSerializedF
1740 69 65 6c 64 73 28 68 65 61 64 65 72 53 74 61 74 65 2c 20 6e 65 77 48 65 61 64 65 72 53 74 61 74 ields(headerState,.newHeaderStat
1760 65 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 68 65 61 64 65 72 53 74 61 74 65 20 3d 20 6e e);..............headerState.=.n
1780 65 77 48 65 61 64 65 72 53 74 61 74 65 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 ewHeaderState;................va
17a0 72 20 68 65 61 64 65 72 20 3d 20 6e 65 77 20 4d 75 6c 74 69 43 6f 6c 75 6d 6e 48 65 61 64 65 72 r.header.=.new.MultiColumnHeader
17c0 28 68 65 61 64 65 72 53 74 61 74 65 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 (headerState);..............retu
17e0 72 6e 20 6e 65 77 20 49 6e 70 75 74 45 76 65 6e 74 54 72 65 65 56 69 65 77 28 74 72 65 65 53 74 rn.new.InputEventTreeView(treeSt
1800 61 74 65 2c 20 68 65 61 64 65 72 2c 20 65 76 65 6e 74 54 72 61 63 65 2c 20 64 65 76 69 63 65 29 ate,.header,.eventTrace,.device)
1820 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 ;..........}............private.
1840 73 74 61 74 69 63 20 4d 75 6c 74 69 43 6f 6c 75 6d 6e 48 65 61 64 65 72 53 74 61 74 65 20 43 72 static.MultiColumnHeaderState.Cr
1860 65 61 74 65 48 65 61 64 65 72 53 74 61 74 65 28 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 eateHeaderState()..........{....
1880 20 20 20 20 20 20 20 20 20 20 76 61 72 20 63 6f 6c 75 6d 6e 73 20 3d 20 6e 65 77 20 4d 75 6c 74 ..........var.columns.=.new.Mult
18a0 69 43 6f 6c 75 6d 6e 48 65 61 64 65 72 53 74 61 74 65 2e 43 6f 6c 75 6d 6e 5b 28 69 6e 74 29 43 iColumnHeaderState.Column[(int)C
18c0 6f 6c 75 6d 6e 49 64 2e 43 4f 55 4e 54 5d 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 olumnId.COUNT];................c
18e0 6f 6c 75 6d 6e 73 5b 28 69 6e 74 29 43 6f 6c 75 6d 6e 49 64 2e 49 64 5d 20 3d 0d 0a 20 20 20 20 olumns[(int)ColumnId.Id].=......
1900 20 20 20 20 20 20 20 20 20 20 20 20 6e 65 77 20 4d 75 6c 74 69 43 6f 6c 75 6d 6e 48 65 61 64 65 ............new.MultiColumnHeade
1920 72 53 74 61 74 65 2e 43 6f 6c 75 6d 6e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 rState.Column..............{....
1940 20 20 20 20 20 20 20 20 20 20 20 20 20 20 77 69 64 74 68 20 3d 20 38 30 2c 0d 0a 20 20 20 20 20 ..............width.=.80,.......
1960 20 20 20 20 20 20 20 20 20 20 20 6d 69 6e 57 69 64 74 68 20 3d 20 36 30 2c 0d 0a 20 20 20 20 20 ...........minWidth.=.60,.......
1980 20 20 20 20 20 20 20 20 20 20 20 68 65 61 64 65 72 43 6f 6e 74 65 6e 74 20 3d 20 6e 65 77 20 47 ...........headerContent.=.new.G
19a0 55 49 43 6f 6e 74 65 6e 74 28 22 49 64 22 29 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 UIContent("Id"),................
19c0 20 20 63 61 6e 53 6f 72 74 20 3d 20 66 61 6c 73 65 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d ..canSort.=.false..............}
19e0 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6c 75 6d 6e 73 5b 28 69 6e 74 29 43 6f 6c 75 ;..............columns[(int)Colu
1a00 6d 6e 49 64 2e 54 79 70 65 5d 20 3d 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 65 mnId.Type].=..................ne
1a20 77 20 4d 75 6c 74 69 43 6f 6c 75 6d 6e 48 65 61 64 65 72 53 74 61 74 65 2e 43 6f 6c 75 6d 6e 0d w.MultiColumnHeaderState.Column.
1a40 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .............{..................
1a60 77 69 64 74 68 20 3d 20 36 30 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 69 6e width.=.60,..................min
1a80 57 69 64 74 68 20 3d 20 36 30 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 68 65 61 Width.=.60,..................hea
1aa0 64 65 72 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 54 79 70 derContent.=.new.GUIContent("Typ
1ac0 65 22 29 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 6e 53 6f 72 74 20 3d 20 e"),..................canSort.=.
1ae0 66 61 6c 73 65 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 3b 0d 0a 20 20 20 20 20 20 20 20 20 false..............};...........
1b00 20 20 20 63 6f 6c 75 6d 6e 73 5b 28 69 6e 74 29 43 6f 6c 75 6d 6e 49 64 2e 44 65 76 69 63 65 5d ...columns[(int)ColumnId.Device]
1b20 20 3d 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 65 77 20 4d 75 6c 74 69 43 6f 6c .=..................new.MultiCol
1b40 75 6d 6e 48 65 61 64 65 72 53 74 61 74 65 2e 43 6f 6c 75 6d 6e 0d 0a 20 20 20 20 20 20 20 20 20 umnHeaderState.Column...........
1b60 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 77 69 64 74 68 20 3d 20 38 30 ...{..................width.=.80
1b80 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 69 6e 57 69 64 74 68 20 3d 20 36 30 ,..................minWidth.=.60
1ba0 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 68 65 61 64 65 72 43 6f 6e 74 65 6e 74 ,..................headerContent
1bc0 20 3d 20 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 44 65 76 69 63 65 22 29 2c 0d 0a 20 20 .=.new.GUIContent("Device"),....
1be0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 6e 53 6f 72 74 20 3d 20 66 61 6c 73 65 0d 0a 20 ..............canSort.=.false...
1c00 20 20 20 20 20 20 20 20 20 20 20 7d 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6c 75 6d ...........};..............colum
1c20 6e 73 5b 28 69 6e 74 29 43 6f 6c 75 6d 6e 49 64 2e 53 69 7a 65 5d 20 3d 0d 0a 20 20 20 20 20 20 ns[(int)ColumnId.Size].=........
1c40 20 20 20 20 20 20 20 20 20 20 6e 65 77 20 4d 75 6c 74 69 43 6f 6c 75 6d 6e 48 65 61 64 65 72 53 ..........new.MultiColumnHeaderS
1c60 74 61 74 65 2e 43 6f 6c 75 6d 6e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 tate.Column..............{......
1c80 20 20 20 20 20 20 20 20 20 20 20 20 77 69 64 74 68 20 3d 20 35 30 2c 0d 0a 20 20 20 20 20 20 20 ............width.=.50,.........
1ca0 20 20 20 20 20 20 20 20 20 6d 69 6e 57 69 64 74 68 20 3d 20 35 30 2c 0d 0a 20 20 20 20 20 20 20 .........minWidth.=.50,.........
1cc0 20 20 20 20 20 20 20 20 20 68 65 61 64 65 72 43 6f 6e 74 65 6e 74 20 3d 20 6e 65 77 20 47 55 49 .........headerContent.=.new.GUI
1ce0 43 6f 6e 74 65 6e 74 28 22 53 69 7a 65 22 29 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 Content("Size"),................
1d00 20 20 63 61 6e 53 6f 72 74 20 3d 20 66 61 6c 73 65 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d ..canSort.=.false..............}
1d20 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6c 75 6d 6e 73 5b 28 69 6e 74 29 43 6f 6c 75 ;..............columns[(int)Colu
1d40 6d 6e 49 64 2e 54 69 6d 65 5d 20 3d 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 65 mnId.Time].=..................ne
1d60 77 20 4d 75 6c 74 69 43 6f 6c 75 6d 6e 48 65 61 64 65 72 53 74 61 74 65 2e 43 6f 6c 75 6d 6e 0d w.MultiColumnHeaderState.Column.
1d80 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .............{..................
1da0 77 69 64 74 68 20 3d 20 31 30 30 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 69 width.=.100,..................mi
1dc0 6e 57 69 64 74 68 20 3d 20 38 30 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 68 65 nWidth.=.80,..................he
1de0 61 64 65 72 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 54 69 aderContent.=.new.GUIContent("Ti
1e00 6d 65 22 29 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 6e 53 6f 72 74 20 3d me"),..................canSort.=
1e20 20 66 61 6c 73 65 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 3b 0d 0a 0d 0a 20 20 20 20 20 20 .false..............};..........
1e40 20 20 20 20 20 20 63 6f 6c 75 6d 6e 73 5b 28 69 6e 74 29 43 6f 6c 75 6d 6e 49 64 2e 44 65 74 61 ......columns[(int)ColumnId.Deta
1e60 69 6c 73 5d 20 3d 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 65 77 20 4d 75 6c 74 ils].=..................new.Mult
1e80 69 43 6f 6c 75 6d 6e 48 65 61 64 65 72 53 74 61 74 65 2e 43 6f 6c 75 6d 6e 0d 0a 20 20 20 20 20 iColumnHeaderState.Column.......
1ea0 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 77 69 64 74 68 20 .......{..................width.
1ec0 3d 20 32 35 30 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 69 6e 57 69 64 74 68 =.250,..................minWidth
1ee0 20 3d 20 31 30 30 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 68 65 61 64 65 72 43 .=.100,..................headerC
1f00 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 44 65 74 61 69 6c 73 ontent.=.new.GUIContent("Details
1f20 22 29 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 6e 53 6f 72 74 20 3d 20 66 "),..................canSort.=.f
1f40 61 6c 73 65 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 alse..............};............
1f60 20 20 20 20 72 65 74 75 72 6e 20 6e 65 77 20 4d 75 6c 74 69 43 6f 6c 75 6d 6e 48 65 61 64 65 72 ....return.new.MultiColumnHeader
1f80 53 74 61 74 65 28 63 6f 6c 75 6d 6e 73 29 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 State(columns);..........}......
1fa0 20 20 20 20 20 20 70 72 69 76 61 74 65 20 49 6e 70 75 74 45 76 65 6e 74 54 72 65 65 56 69 65 77 ......private.InputEventTreeView
1fc0 28 54 72 65 65 56 69 65 77 53 74 61 74 65 20 73 74 61 74 65 2c 20 4d 75 6c 74 69 43 6f 6c 75 6d (TreeViewState.state,.MultiColum
1fe0 6e 48 65 61 64 65 72 20 6d 75 6c 74 69 43 6f 6c 75 6d 6e 48 65 61 64 65 72 2c 20 49 6e 70 75 74 nHeader.multiColumnHeader,.Input
2000 45 76 65 6e 74 54 72 61 63 65 20 65 76 65 6e 74 54 72 61 63 65 2c 20 49 6e 70 75 74 43 6f 6e 74 EventTrace.eventTrace,.InputCont
2020 72 6f 6c 20 72 6f 6f 74 43 6f 6e 74 72 6f 6c 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 3a 20 rol.rootControl)..............:.
2040 62 61 73 65 28 73 74 61 74 65 2c 20 6d 75 6c 74 69 43 6f 6c 75 6d 6e 48 65 61 64 65 72 29 0d 0a base(state,.multiColumnHeader)..
2060 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 45 76 65 6e 74 54 72 ........{..............m_EventTr
2080 61 63 65 20 3d 20 65 76 65 6e 74 54 72 61 63 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d ace.=.eventTrace;..............m
20a0 5f 52 6f 6f 74 43 6f 6e 74 72 6f 6c 20 3d 20 72 6f 6f 74 43 6f 6e 74 72 6f 6c 3b 0d 0a 20 20 20 _RootControl.=.rootControl;.....
20c0 20 20 20 20 20 20 20 20 20 52 65 6c 6f 61 64 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d .........Reload();..........}...
20e0 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 6f 76 65 72 72 69 64 65 20 76 6f 69 64 .........protected.override.void
2100 20 44 6f 75 62 6c 65 43 6c 69 63 6b 65 64 49 74 65 6d 28 69 6e 74 20 69 64 29 0d 0a 20 20 20 20 .DoubleClickedItem(int.id)......
2120 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 69 74 65 6d 20 3d 20 46 69 ....{..............var.item.=.Fi
2140 6e 64 49 74 65 6d 28 69 64 2c 20 72 6f 6f 74 49 74 65 6d 29 20 61 73 20 45 76 65 6e 74 49 74 65 ndItem(id,.rootItem).as.EventIte
2160 6d 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 69 74 65 6d 20 3d 3d 20 6e 75 6c 6c m;..............if.(item.==.null
2180 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0d 0a 0d 0a 20 20 )..................return;......
21a0 20 20 20 20 20 20 20 20 20 20 2f 2f 20 57 65 20 63 61 6e 20 6f 6e 6c 79 20 69 6e 73 70 65 63 74 ..........//.We.can.only.inspect
21c0 20 73 74 61 74 65 20 65 76 65 6e 74 73 20 73 6f 20 69 67 6e 6f 72 65 20 64 6f 75 62 6c 65 2d 63 .state.events.so.ignore.double-c
21e0 6c 69 63 6b 73 20 6f 6e 20 6f 74 68 65 72 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 74 licks.on.other..............//.t
2200 79 70 65 73 20 6f 66 20 65 76 65 6e 74 73 2e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 ypes.of.events...............var
2220 20 65 76 65 6e 74 50 74 72 20 3d 20 69 74 65 6d 2e 65 76 65 6e 74 50 74 72 3b 0d 0a 20 20 20 20 .eventPtr.=.item.eventPtr;......
2240 20 20 20 20 20 20 20 20 69 66 20 28 21 65 76 65 6e 74 50 74 72 2e 49 73 41 3c 53 74 61 74 65 45 ........if.(!eventPtr.IsA<StateE
2260 76 65 6e 74 3e 28 29 20 26 26 20 21 65 76 65 6e 74 50 74 72 2e 49 73 41 3c 44 65 6c 74 61 53 74 vent>().&&.!eventPtr.IsA<DeltaSt
2280 61 74 65 45 76 65 6e 74 3e 28 29 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 ateEvent>())..................re
22a0 74 75 72 6e 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 50 6f 70 55 70 53 74 61 74 65 57 turn;................PopUpStateW
22c0 69 6e 64 6f 77 28 65 76 65 6e 74 50 74 72 29 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 indow(eventPtr);..........}.....
22e0 20 20 20 20 20 20 20 2f 2f 2f 2f 54 4f 44 4f 3a 20 6d 6f 76 65 20 69 6e 73 70 65 63 74 20 61 6e .......////TODO:.move.inspect.an
2300 64 20 63 6f 6d 70 61 72 65 20 66 72 6f 6d 20 61 20 63 6f 6e 74 65 78 74 20 6d 65 6e 75 20 74 6f d.compare.from.a.context.menu.to
2320 20 74 68 65 20 74 6f 6f 6c 62 61 72 20 6f 66 20 74 68 65 20 65 76 65 6e 74 20 76 69 65 77 0d 0a .the.toolbar.of.the.event.view..
2340 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 6f 76 65 72 72 69 64 65 20 76 6f 69 64 20 ........protected.override.void.
2360 43 6f 6e 74 65 78 74 43 6c 69 63 6b 65 64 49 74 65 6d 28 69 6e 74 20 69 64 29 0d 0a 20 20 20 20 ContextClickedItem(int.id)......
2380 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 69 74 65 6d 20 3d 20 46 69 ....{..............var.item.=.Fi
23a0 6e 64 49 74 65 6d 28 69 64 2c 20 72 6f 6f 74 49 74 65 6d 29 20 61 73 20 45 76 65 6e 74 49 74 65 ndItem(id,.rootItem).as.EventIte
23c0 6d 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 69 74 65 6d 20 3d 3d 20 6e 75 6c 6c m;..............if.(item.==.null
23e0 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0d 0a 0d 0a 20 20 )..................return;......
2400 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6d 65 6e 75 20 3d 20 6e 65 77 20 47 65 6e 65 72 69 63 ..........var.menu.=.new.Generic
2420 4d 65 6e 75 28 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 73 65 6c 65 63 Menu();................var.selec
2440 74 69 6f 6e 20 3d 20 47 65 74 53 65 6c 65 63 74 69 6f 6e 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 tion.=.GetSelection();..........
2460 20 20 20 20 69 66 20 28 73 65 6c 65 63 74 69 6f 6e 2e 43 6f 75 6e 74 20 3d 3d 20 31 29 0d 0a 20 ....if.(selection.Count.==.1)...
2480 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 65 ...........{..................me
24a0 6e 75 2e 41 64 64 49 74 65 6d 28 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 49 6e 73 70 65 nu.AddItem(new.GUIContent("Inspe
24c0 63 74 22 29 2c 20 66 61 6c 73 65 2c 20 4f 6e 49 6e 73 70 65 63 74 4d 65 6e 75 49 74 65 6d 2c 20 ct"),.false,.OnInspectMenuItem,.
24e0 69 64 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 20 20 20 id);..............}.............
2500 20 65 6c 73 65 20 69 66 20 28 73 65 6c 65 63 74 69 6f 6e 2e 43 6f 75 6e 74 20 3e 20 31 29 0d 0a .else.if.(selection.Count.>.1)..
2520 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d ............{..................m
2540 65 6e 75 2e 41 64 64 49 74 65 6d 28 6e 65 77 20 47 55 49 43 6f 6e 74 65 6e 74 28 22 43 6f 6d 70 enu.AddItem(new.GUIContent("Comp
2560 61 72 65 22 29 2c 20 66 61 6c 73 65 2c 20 4f 6e 43 6f 6d 70 61 72 65 4d 65 6e 75 49 74 65 6d 2c are"),.false,.OnCompareMenuItem,
2580 20 73 65 6c 65 63 74 69 6f 6e 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 .selection);..............}.....
25a0 20 20 20 20 20 20 20 20 20 20 20 6d 65 6e 75 2e 53 68 6f 77 41 73 43 6f 6e 74 65 78 74 28 29 3b ...........menu.ShowAsContext();
25c0 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 76 ..........}............private.v
25e0 6f 69 64 20 4f 6e 43 6f 6d 70 61 72 65 4d 65 6e 75 49 74 65 6d 28 6f 62 6a 65 63 74 20 75 73 65 oid.OnCompareMenuItem(object.use
2600 72 44 61 74 61 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 rData)..........{..............v
2620 61 72 20 73 65 6c 65 63 74 69 6f 6e 20 3d 20 28 49 4c 69 73 74 3c 69 6e 74 3e 29 75 73 65 72 44 ar.selection.=.(IList<int>)userD
2640 61 74 61 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 77 69 6e 64 6f 77 20 3d 20 53 ata;..............var.window.=.S
2660 63 72 69 70 74 61 62 6c 65 4f 62 6a 65 63 74 2e 43 72 65 61 74 65 49 6e 73 74 61 6e 63 65 3c 49 criptableObject.CreateInstance<I
2680 6e 70 75 74 53 74 61 74 65 57 69 6e 64 6f 77 3e 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 nputStateWindow>();.............
26a0 20 77 69 6e 64 6f 77 2e 49 6e 69 74 69 61 6c 69 7a 65 57 69 74 68 45 76 65 6e 74 73 28 73 65 6c .window.InitializeWithEvents(sel
26c0 65 63 74 69 6f 6e 2e 53 65 6c 65 63 74 28 69 64 20 3d 3e 20 28 28 45 76 65 6e 74 49 74 65 6d 29 ection.Select(id.=>.((EventItem)
26e0 46 69 6e 64 49 74 65 6d 28 69 64 2c 20 72 6f 6f 74 49 74 65 6d 29 29 2e 65 76 65 6e 74 50 74 72 FindItem(id,.rootItem)).eventPtr
2700 29 2e 54 6f 41 72 72 61 79 28 29 2c 20 6d 5f 52 6f 6f 74 43 6f 6e 74 72 6f 6c 29 3b 0d 0a 20 20 ).ToArray(),.m_RootControl);....
2720 20 20 20 20 20 20 20 20 20 20 77 69 6e 64 6f 77 2e 53 68 6f 77 28 29 3b 0d 0a 20 20 20 20 20 20 ..........window.Show();........
2740 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 76 6f 69 64 20 4f 6e 49 6e ..}............private.void.OnIn
2760 73 70 65 63 74 4d 65 6e 75 49 74 65 6d 28 6f 62 6a 65 63 74 20 75 73 65 72 44 61 74 61 29 0d 0a spectMenuItem(object.userData)..
2780 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 69 74 65 6d 49 ........{..............var.itemI
27a0 64 20 3d 20 28 69 6e 74 29 75 73 65 72 44 61 74 61 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 d.=.(int)userData;..............
27c0 76 61 72 20 69 74 65 6d 20 3d 20 46 69 6e 64 49 74 65 6d 28 69 74 65 6d 49 64 2c 20 72 6f 6f 74 var.item.=.FindItem(itemId,.root
27e0 49 74 65 6d 29 20 61 73 20 45 76 65 6e 74 49 74 65 6d 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 Item).as.EventItem;.............
2800 20 69 66 20 28 69 74 65 6d 20 3d 3d 20 6e 75 6c 6c 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 .if.(item.==.null)..............
2820 20 20 20 20 72 65 74 75 72 6e 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 50 6f 70 55 70 53 74 ....return;..............PopUpSt
2840 61 74 65 57 69 6e 64 6f 77 28 69 74 65 6d 2e 65 76 65 6e 74 50 74 72 29 3b 0d 0a 20 20 20 20 20 ateWindow(item.eventPtr);.......
2860 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 76 6f 69 64 20 50 6f 70 ...}............private.void.Pop
2880 55 70 53 74 61 74 65 57 69 6e 64 6f 77 28 49 6e 70 75 74 45 76 65 6e 74 50 74 72 20 65 76 65 6e UpStateWindow(InputEventPtr.even
28a0 74 50 74 72 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 tPtr)..........{..............va
28c0 72 20 77 69 6e 64 6f 77 20 3d 20 53 63 72 69 70 74 61 62 6c 65 4f 62 6a 65 63 74 2e 43 72 65 61 r.window.=.ScriptableObject.Crea
28e0 74 65 49 6e 73 74 61 6e 63 65 3c 49 6e 70 75 74 53 74 61 74 65 57 69 6e 64 6f 77 3e 28 29 3b 0d teInstance<InputStateWindow>();.
2900 0a 20 20 20 20 20 20 20 20 20 20 20 20 77 69 6e 64 6f 77 2e 49 6e 69 74 69 61 6c 69 7a 65 57 69 .............window.InitializeWi
2920 74 68 45 76 65 6e 74 28 65 76 65 6e 74 50 74 72 2c 20 6d 5f 52 6f 6f 74 43 6f 6e 74 72 6f 6c 29 thEvent(eventPtr,.m_RootControl)
2940 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 77 69 6e 64 6f 77 2e 53 68 6f 77 28 29 3b 0d 0a 20 ;..............window.Show();...
2960 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 6f 76 .......}............protected.ov
2980 65 72 72 69 64 65 20 54 72 65 65 56 69 65 77 49 74 65 6d 20 42 75 69 6c 64 52 6f 6f 74 28 29 0d erride.TreeViewItem.BuildRoot().
29a0 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 50 72 6f 66 69 6c 65 72 .........{..............Profiler
29c0 2e 42 65 67 69 6e 53 61 6d 70 6c 65 28 22 49 6e 70 75 74 45 76 65 6e 74 54 72 65 65 56 69 65 77 .BeginSample("InputEventTreeView
29e0 2e 42 75 69 6c 64 52 6f 6f 74 22 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 .BuildRoot");................var
2a00 20 72 6f 6f 74 20 3d 20 6e 65 77 20 54 72 65 65 56 69 65 77 49 74 65 6d 0d 0a 20 20 20 20 20 20 .root.=.new.TreeViewItem........
2a20 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 69 64 20 3d 20 30 2c ......{..................id.=.0,
2a40 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 65 70 74 68 20 3d 20 2d 31 2c 0d 0a 20 ..................depth.=.-1,...
2a60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 69 73 70 6c 61 79 4e 61 6d 65 20 3d 20 22 52 6f ...............displayName.=."Ro
2a80 6f 74 22 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 ot"..............};.............
2aa0 20 20 20 76 61 72 20 65 76 65 6e 74 43 6f 75 6e 74 20 3d 20 6d 5f 45 76 65 6e 74 54 72 61 63 65 ...var.eventCount.=.m_EventTrace
2ac0 2e 65 76 65 6e 74 43 6f 75 6e 74 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 65 76 .eventCount;..............if.(ev
2ae0 65 6e 74 43 6f 75 6e 74 20 3d 3d 20 30 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 entCount.==.0)..............{...
2b00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 54 72 65 65 56 69 65 77 20 64 6f 65 73 6e ...............//.TreeView.doesn
2b20 27 74 20 61 6c 6c 6f 77 20 68 61 76 69 6e 67 20 65 6d 70 74 79 20 74 72 65 65 73 2e 20 50 75 74 't.allow.having.empty.trees..Put
2b40 20 61 20 64 75 6d 6d 79 20 69 74 65 6d 20 69 6e 20 68 65 72 65 20 74 68 61 74 20 77 65 0d 0a 20 .a.dummy.item.in.here.that.we...
2b60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 72 65 6e 64 65 72 20 77 69 74 68 6f 75 74 ...............//.render.without
2b80 20 63 6f 6e 74 65 6e 74 73 2e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 6f 6f 74 .contents...................root
2ba0 2e 41 64 64 43 68 69 6c 64 28 6e 65 77 20 54 72 65 65 56 69 65 77 49 74 65 6d 28 31 29 29 3b 0d .AddChild(new.TreeViewItem(1));.
2bc0 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 .............}..............else
2be0 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 ..............{.................
2c00 20 76 61 72 20 63 75 72 72 65 6e 74 20 3d 20 6e 65 77 20 49 6e 70 75 74 45 76 65 6e 74 50 74 72 .var.current.=.new.InputEventPtr
2c20 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 43 61 6e 27 74 20 73 65 ();..................//.Can't.se
2c40 74 20 4c 69 73 74 20 74 6f 20 61 20 66 69 78 65 64 20 73 69 7a 65 20 61 6e 64 20 74 68 65 6e 20 t.List.to.a.fixed.size.and.then.
2c60 66 69 6c 6c 20 69 74 20 66 72 6f 6d 20 74 68 65 20 62 61 63 6b 2e 20 53 6f 20 77 65 20 64 6f 20 fill.it.from.the.back..So.we.do.
2c80 69 74 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 74 68 65 20 77 6f 72 73 65 it..................//.the.worse
2ca0 20 77 61 79 2e 2e 2e 20 66 69 6c 6c 20 69 74 20 69 6e 20 69 6e 76 65 72 73 65 20 6f 72 64 65 72 .way....fill.it.in.inverse.order
2cc0 20 66 69 72 73 74 2c 20 74 68 65 6e 20 72 65 76 65 72 73 65 20 69 74 20 3a 28 0d 0a 20 20 20 20 .first,.then.reverse.it.:(......
2ce0 20 20 20 20 20 20 20 20 20 20 20 20 72 6f 6f 74 2e 63 68 69 6c 64 72 65 6e 20 3d 20 6e 65 77 20 ............root.children.=.new.
2d00 4c 69 73 74 3c 54 72 65 65 56 69 65 77 49 74 65 6d 3e 28 28 69 6e 74 29 65 76 65 6e 74 43 6f 75 List<TreeViewItem>((int)eventCou
2d20 6e 74 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 nt);..................for.(var.i
2d40 20 3d 20 30 3b 20 69 20 3c 20 65 76 65 6e 74 43 6f 75 6e 74 3b 20 2b 2b 69 29 0d 0a 20 20 20 20 .=.0;.i.<.eventCount;.++i)......
2d60 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ............{...................
2d80 20 20 20 69 66 20 28 21 6d 5f 45 76 65 6e 74 54 72 61 63 65 2e 47 65 74 4e 65 78 74 45 76 65 6e ...if.(!m_EventTrace.GetNextEven
2da0 74 28 72 65 66 20 63 75 72 72 65 6e 74 29 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 t(ref.current)).................
2dc0 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 .........break;.................
2de0 20 20 20 20 20 20 20 76 61 72 20 69 74 65 6d 20 3d 20 6e 65 77 20 45 76 65 6e 74 49 74 65 6d 0d .......var.item.=.new.EventItem.
2e00 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 .....................{..........
2e20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 64 20 3d 20 69 20 2b 20 31 2c 0d 0a 20 20 20 ................id.=.i.+.1,.....
2e40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 65 70 74 68 20 3d 20 31 2c 0d .....................depth.=.1,.
2e60 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 64 69 73 70 6c 61 79 .........................display
2e80 4e 61 6d 65 20 3d 20 63 75 72 72 65 6e 74 2e 69 64 2e 54 6f 53 74 72 69 6e 67 28 29 2c 0d 0a 20 Name.=.current.id.ToString(),...
2ea0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 76 65 6e 74 50 74 72 20 .......................eventPtr.
2ec0 3d 20 63 75 72 72 65 6e 74 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d =.current......................}
2ee0 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 6f 6f 74 2e 41 64 ;........................root.Ad
2f00 64 43 68 69 6c 64 28 69 74 65 6d 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d dChild(item);..................}
2f20 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 6f 6f 74 2e 63 68 69 6c 64 72 65 6e 2e ..................root.children.
2f40 52 65 76 65 72 73 65 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 Reverse();..............}.......
2f60 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 28 29 3b 0d 0a .........Profiler.EndSample();..
2f80 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 72 6f 6f 74 3b 0d 0a 20 20 20 20 20 20 ............return.root;........
2fa0 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 6f 76 65 72 72 69 64 ..}............protected.overrid
2fc0 65 20 76 6f 69 64 20 52 6f 77 47 55 49 28 52 6f 77 47 55 49 41 72 67 73 20 61 72 67 73 29 0d 0a e.void.RowGUI(RowGUIArgs.args)..
2fe0 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 52 65 6e 64 65 72 ........{..............//.Render
3000 20 6e 6f 74 68 69 6e 67 20 69 66 20 65 76 65 6e 74 20 6c 69 73 74 20 69 73 20 65 6d 70 74 79 2e .nothing.if.event.list.is.empty.
3020 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6d 5f 45 76 65 6e 74 54 72 61 63 65 2e 65 ..............if.(m_EventTrace.e
3040 76 65 6e 74 43 6f 75 6e 74 20 3d 3d 20 30 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ventCount.==.0).................
3060 20 72 65 74 75 72 6e 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 63 6f 6c 75 .return;................var.colu
3080 6d 6e 43 6f 75 6e 74 20 3d 20 61 72 67 73 2e 47 65 74 4e 75 6d 56 69 73 69 62 6c 65 43 6f 6c 75 mnCount.=.args.GetNumVisibleColu
30a0 6d 6e 73 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 28 76 61 72 20 69 20 3d mns();..............for.(var.i.=
30c0 20 30 3b 20 69 20 3c 20 63 6f 6c 75 6d 6e 43 6f 75 6e 74 3b 20 2b 2b 69 29 0d 0a 20 20 20 20 20 .0;.i.<.columnCount;.++i).......
30e0 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 76 61 72 20 69 74 .......{..................var.it
3100 65 6d 20 3d 20 28 45 76 65 6e 74 49 74 65 6d 29 61 72 67 73 2e 69 74 65 6d 3b 0d 0a 20 20 20 20 em.=.(EventItem)args.item;......
3120 20 20 20 20 20 20 20 20 20 20 20 20 43 6f 6c 75 6d 6e 47 55 49 28 61 72 67 73 2e 47 65 74 43 65 ............ColumnGUI(args.GetCe
3140 6c 6c 52 65 63 74 28 69 29 2c 20 69 74 65 6d 2e 65 76 65 6e 74 50 74 72 2c 20 61 72 67 73 2e 47 llRect(i),.item.eventPtr,.args.G
3160 65 74 43 6f 6c 75 6d 6e 28 69 29 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 etColumn(i));..............}....
3180 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 75 6e 73 61 66 ......}............private.unsaf
31a0 65 20 76 6f 69 64 20 43 6f 6c 75 6d 6e 47 55 49 28 52 65 63 74 20 63 65 6c 6c 52 65 63 74 2c 20 e.void.ColumnGUI(Rect.cellRect,.
31c0 49 6e 70 75 74 45 76 65 6e 74 50 74 72 20 65 76 65 6e 74 50 74 72 2c 20 69 6e 74 20 63 6f 6c 75 InputEventPtr.eventPtr,.int.colu
31e0 6d 6e 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 43 65 6e 74 mn)..........{..............Cent
3200 65 72 52 65 63 74 55 73 69 6e 67 53 69 6e 67 6c 65 4c 69 6e 65 48 65 69 67 68 74 28 72 65 66 20 erRectUsingSingleLineHeight(ref.
3220 63 65 6c 6c 52 65 63 74 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 77 69 74 63 68 cellRect);................switch
3240 20 28 63 6f 6c 75 6d 6e 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 .(column)..............{........
3260 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 28 69 6e 74 29 43 6f 6c 75 6d 6e 49 64 2e 49 64 3a ..........case.(int)ColumnId.Id:
3280 0d 0a 20 20 20 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 ......................GUI.Label(
32a0 63 65 6c 6c 52 65 63 74 2c 20 65 76 65 6e 74 50 74 72 2e 69 64 2e 54 6f 53 74 72 69 6e 67 28 29 cellRect,.eventPtr.id.ToString()
32c0 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0d 0a );......................break;..
32e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 28 69 6e 74 29 43 6f 6c 75 6d 6e ................case.(int)Column
3300 49 64 2e 54 79 70 65 3a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 47 55 Id.Type:......................GU
3320 49 2e 4c 61 62 65 6c 28 63 65 6c 6c 52 65 63 74 2c 20 65 76 65 6e 74 50 74 72 2e 74 79 70 65 2e I.Label(cellRect,.eventPtr.type.
3340 54 6f 53 74 72 69 6e 67 28 29 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ToString());....................
3360 20 20 62 72 65 61 6b 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 28 ..break;..................case.(
3380 69 6e 74 29 43 6f 6c 75 6d 6e 49 64 2e 44 65 76 69 63 65 3a 0d 0a 20 20 20 20 20 20 20 20 20 20 int)ColumnId.Device:............
33a0 20 20 20 20 20 20 20 20 20 20 47 55 49 2e 4c 61 62 65 6c 28 63 65 6c 6c 52 65 63 74 2c 20 65 76 ..........GUI.Label(cellRect,.ev
33c0 65 6e 74 50 74 72 2e 64 65 76 69 63 65 49 64 2e 54 6f 53 74 72 69 6e 67 28 29 29 3b 0d 0a 20 20 entPtr.deviceId.ToString());....
33e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0d 0a 20 20 20 20 20 20 ..................break;........
3400 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 28 69 6e 74 29 43 6f 6c 75 6d 6e 49 64 2e 53 69 7a ..........case.(int)ColumnId.Siz
3420 65 3a 0d 0a 20 20 20 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 e:......................GUI.Labe
3440 6c 28 63 65 6c 6c 52 65 63 74 2c 20 65 76 65 6e 74 50 74 72 2e 73 69 7a 65 49 6e 42 79 74 65 73 l(cellRect,.eventPtr.sizeInBytes
3460 2e 54 6f 53 74 72 69 6e 67 28 29 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .ToString());...................
3480 20 20 20 62 72 65 61 6b 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 ...break;..................case.
34a0 28 69 6e 74 29 43 6f 6c 75 6d 6e 49 64 2e 54 69 6d 65 3a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 (int)ColumnId.Time:.............
34c0 20 20 20 20 20 20 20 20 20 47 55 49 2e 4c 61 62 65 6c 28 63 65 6c 6c 52 65 63 74 2c 20 65 76 65 .........GUI.Label(cellRect,.eve
34e0 6e 74 50 74 72 2e 74 69 6d 65 2e 54 6f 53 74 72 69 6e 67 28 22 30 2e 30 30 30 30 73 22 29 29 3b ntPtr.time.ToString("0.0000s"));
3500 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0d 0a 20 20 ......................break;....
3520 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 28 69 6e 74 29 43 6f 6c 75 6d 6e 49 64 ..............case.(int)ColumnId
3540 2e 44 65 74 61 69 6c 73 3a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 .Details:......................i
3560 66 20 28 65 76 65 6e 74 50 74 72 2e 49 73 41 3c 44 65 6c 74 61 53 74 61 74 65 45 76 65 6e 74 3e f.(eventPtr.IsA<DeltaStateEvent>
3580 28 29 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 ())......................{......
35a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 64 65 6c 74 61 45 76 65 ....................var.deltaEve
35c0 6e 74 50 74 72 20 3d 20 44 65 6c 74 61 53 74 61 74 65 45 76 65 6e 74 2e 46 72 6f 6d 28 65 76 65 ntPtr.=.DeltaStateEvent.From(eve
35e0 6e 74 50 74 72 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ntPtr);.........................
3600 20 47 55 49 2e 4c 61 62 65 6c 28 63 65 6c 6c 52 65 63 74 2c 20 24 22 46 6f 72 6d 61 74 3d 7b 64 .GUI.Label(cellRect,.$"Format={d
3620 65 6c 74 61 45 76 65 6e 74 50 74 72 2d 3e 73 74 61 74 65 46 6f 72 6d 61 74 7d 2c 20 4f 66 66 73 eltaEventPtr->stateFormat},.Offs
3640 65 74 3d 7b 64 65 6c 74 61 45 76 65 6e 74 50 74 72 2d 3e 73 74 61 74 65 4f 66 66 73 65 74 7d 22 et={deltaEventPtr->stateOffset}"
3660 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 );......................}.......
3680 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 20 69 66 20 28 65 76 65 6e 74 50 74 72 ...............else.if.(eventPtr
36a0 2e 49 73 41 3c 53 74 61 74 65 45 76 65 6e 74 3e 28 29 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 .IsA<StateEvent>()).............
36c0 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 .........{......................
36e0 20 20 20 20 76 61 72 20 73 74 61 74 65 45 76 65 6e 74 50 74 72 20 3d 20 53 74 61 74 65 45 76 65 ....var.stateEventPtr.=.StateEve
3700 6e 74 2e 46 72 6f 6d 28 65 76 65 6e 74 50 74 72 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 nt.From(eventPtr);..............
3720 20 20 20 20 20 20 20 20 20 20 20 20 47 55 49 2e 4c 61 62 65 6c 28 63 65 6c 6c 52 65 63 74 2c 20 ............GUI.Label(cellRect,.
3740 24 22 46 6f 72 6d 61 74 3d 7b 73 74 61 74 65 45 76 65 6e 74 50 74 72 2d 3e 73 74 61 74 65 46 6f $"Format={stateEventPtr->stateFo
3760 72 6d 61 74 7d 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d rmat}");......................}.
3780 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 20 69 66 20 28 65 76 .....................else.if.(ev
37a0 65 6e 74 50 74 72 2e 49 73 41 3c 54 65 78 74 45 76 65 6e 74 3e 28 29 29 0d 0a 20 20 20 20 20 20 entPtr.IsA<TextEvent>())........
37c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ..............{.................
37e0 20 20 20 20 20 20 20 20 20 76 61 72 20 74 65 78 74 45 76 65 6e 74 50 74 72 20 3d 20 54 65 78 74 .........var.textEventPtr.=.Text
3800 45 76 65 6e 74 2e 46 72 6f 6d 28 65 76 65 6e 74 50 74 72 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 Event.From(eventPtr);...........
3820 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 63 65 6c 6c 52 65 63 ...............GUI.Label(cellRec
3840 74 2c 20 24 22 43 68 61 72 61 63 74 65 72 3d 27 7b 28 63 68 61 72 29 20 74 65 78 74 45 76 65 6e t,.$"Character='{(char).textEven
3860 74 50 74 72 2d 3e 63 68 61 72 61 63 74 65 72 7d 27 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 tPtr->character}'");............
3880 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 20 20 20 20 ..........}.....................
38a0 20 62 72 65 61 6b 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 .break;..............}..........
38c0 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 63 6c 61 73 73 20 45 76 65 6e 74 }............private.class.Event
38e0 49 74 65 6d 20 3a 20 54 72 65 65 56 69 65 77 49 74 65 6d 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a Item.:.TreeViewItem..........{..
3900 20 20 20 20 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 49 6e 70 75 74 45 76 65 6e 74 50 74 72 ............public.InputEventPtr
3920 20 65 76 65 6e 74 50 74 72 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 7d 0d 0a 7d 0d .eventPtr;..........}......}..}.
3940 0a 23 65 6e 64 69 66 20 2f 2f 20 55 4e 49 54 59 5f 45 44 49 54 4f 52 0d 0a 00 00 00 00 00 00 00 .#endif.//.UNITY_EDITOR.........
3960 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 12 00 00 00 49 6e 70 75 74 45 76 65 6e 74 54 72 ....................InputEventTr
3980 65 65 56 69 65 77 00 00 1e 00 00 00 55 6e 69 74 79 45 6e 67 69 6e 65 2e 49 6e 70 75 74 53 79 73 eeView......UnityEngine.InputSys
39a0 74 65 6d 2e 45 64 69 74 6f 72 00 00 tem.Editor..