summaryrefslogtreecommitdiff
path: root/Library/Artifacts/37/37d21ffa24fe220899f60d0804ca85cc
blob: 9a6f02819160fffba9693669c6e8d4aeca6b292f (plain)
ofshex dumpascii
0000 00 00 0f 81 00 00 3a 1c 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 bc 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 .)..............................
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 06 00 00 00 46 69 6e 67 65 72 00 00 37 29 00 00 75 73 69 6e 67 20 55 6e ............Finger..7)..using.Un
10a0 69 74 79 2e 43 6f 6c 6c 65 63 74 69 6f 6e 73 2e 4c 6f 77 4c 65 76 65 6c 2e 55 6e 73 61 66 65 3b ity.Collections.LowLevel.Unsafe;
10c0 0d 0a 75 73 69 6e 67 20 55 6e 69 74 79 45 6e 67 69 6e 65 2e 49 6e 70 75 74 53 79 73 74 65 6d 2e ..using.UnityEngine.InputSystem.
10e0 4c 6f 77 4c 65 76 65 6c 3b 0d 0a 75 73 69 6e 67 20 55 6e 69 74 79 45 6e 67 69 6e 65 2e 49 6e 70 LowLevel;..using.UnityEngine.Inp
1100 75 74 53 79 73 74 65 6d 2e 43 6f 6e 74 72 6f 6c 73 3b 0d 0a 75 73 69 6e 67 20 55 6e 69 74 79 45 utSystem.Controls;..using.UnityE
1120 6e 67 69 6e 65 2e 49 6e 70 75 74 53 79 73 74 65 6d 2e 55 74 69 6c 69 74 69 65 73 3b 0d 0a 0d 0a ngine.InputSystem.Utilities;....
1140 6e 61 6d 65 73 70 61 63 65 20 55 6e 69 74 79 45 6e 67 69 6e 65 2e 49 6e 70 75 74 53 79 73 74 65 namespace.UnityEngine.InputSyste
1160 6d 2e 45 6e 68 61 6e 63 65 64 54 6f 75 63 68 0d 0a 7b 0d 0a 20 20 20 20 2f 2f 2f 20 3c 73 75 6d m.EnhancedTouch..{......///.<sum
1180 6d 61 72 79 3e 0d 0a 20 20 20 20 2f 2f 2f 20 41 20 73 6f 75 72 63 65 20 6f 66 20 74 6f 75 63 68 mary>......///.A.source.of.touch
11a0 65 73 20 28 3c 73 65 65 20 63 72 65 66 3d 22 54 6f 75 63 68 22 2f 3e 29 2e 0d 0a 20 20 20 20 2f es.(<see.cref="Touch"/>)......./
11c0 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 2f 2f 2f 20 3c 72 65 6d 61 72 6b 73 3e //.</summary>......///.<remarks>
11e0 0d 0a 20 20 20 20 2f 2f 2f 20 45 61 63 68 20 3c 73 65 65 20 63 72 65 66 3d 22 54 6f 75 63 68 73 ......///.Each.<see.cref="Touchs
1200 63 72 65 65 6e 22 2f 3e 20 68 61 73 20 61 20 6c 69 6d 69 74 65 64 20 6e 75 6d 62 65 72 20 6f 66 creen"/>.has.a.limited.number.of
1220 20 66 69 6e 67 65 72 73 20 69 74 20 73 75 70 70 6f 72 74 73 20 63 6f 72 72 65 73 70 6f 6e 64 69 .fingers.it.supports.correspondi
1240 6e 67 20 74 6f 20 74 68 65 20 74 6f 74 61 6c 20 6e 75 6d 62 65 72 20 6f 66 20 63 6f 6e 63 75 72 ng.to.the.total.number.of.concur
1260 72 65 6e 74 0d 0a 20 20 20 20 2f 2f 2f 20 74 6f 75 63 68 65 73 20 73 75 70 70 6f 72 74 65 64 20 rent......///.touches.supported.
1280 62 79 20 74 68 65 20 73 63 72 65 65 6e 2e 20 55 6e 6c 69 6b 65 20 61 20 3c 73 65 65 20 63 72 65 by.the.screen..Unlike.a.<see.cre
12a0 66 3d 22 54 6f 75 63 68 22 2f 3e 2c 20 61 20 3c 73 65 65 20 63 72 65 66 3d 22 46 69 6e 67 65 72 f="Touch"/>,.a.<see.cref="Finger
12c0 22 2f 3e 20 77 69 6c 6c 20 73 74 61 79 20 74 68 65 20 73 61 6d 65 20 61 6e 64 20 76 61 6c 69 64 "/>.will.stay.the.same.and.valid
12e0 20 66 6f 72 20 74 68 65 0d 0a 20 20 20 20 2f 2f 2f 20 6c 69 66 65 74 69 6d 65 20 6f 66 20 69 74 .for.the......///.lifetime.of.it
1300 73 20 3c 73 65 65 20 63 72 65 66 3d 22 54 6f 75 63 68 73 63 72 65 65 6e 22 2f 3e 2e 0d 0a 20 20 s.<see.cref="Touchscreen"/>.....
1320 20 20 2f 2f 2f 0d 0a 20 20 20 20 2f 2f 2f 20 4e 6f 74 65 20 74 68 61 74 20 61 20 46 69 6e 67 65 ..///......///.Note.that.a.Finge
1340 72 20 64 6f 65 73 20 6e 6f 74 20 72 65 70 72 65 73 65 6e 74 20 61 6e 20 61 63 74 75 61 6c 20 70 r.does.not.represent.an.actual.p
1360 68 79 73 69 63 61 6c 20 66 69 6e 67 65 72 20 69 6e 20 74 68 65 20 77 6f 72 6c 64 2e 20 49 2e 65 hysical.finger.in.the.world..I.e
1380 2e 20 74 68 65 20 73 61 6d 65 20 46 69 6e 67 65 72 20 69 6e 73 74 61 6e 63 65 20 6d 69 67 68 74 ..the.same.Finger.instance.might
13a0 20 62 65 20 75 73 65 64 2c 0d 0a 20 20 20 20 2f 2f 2f 20 66 6f 72 20 65 78 61 6d 70 6c 65 2c 20 .be.used,......///.for.example,.
13c0 66 6f 72 20 61 20 74 6f 75 63 68 20 66 72 6f 6d 20 74 68 65 20 69 6e 64 65 78 20 66 69 6e 67 65 for.a.touch.from.the.index.finge
13e0 72 20 61 74 20 6f 6e 65 20 70 6f 69 6e 74 20 61 6e 64 20 74 68 65 6e 20 66 6f 72 20 61 20 74 6f r.at.one.point.and.then.for.a.to
1400 75 63 68 20 66 72 6f 6d 20 74 68 65 20 72 69 6e 67 20 66 69 6e 67 65 72 2e 20 45 61 63 68 20 46 uch.from.the.ring.finger..Each.F
1420 69 6e 67 65 72 20 73 69 6d 70 6c 79 0d 0a 20 20 20 20 2f 2f 2f 20 63 6f 72 72 65 73 70 6f 6e 64 inger.simply......///.correspond
1440 73 20 74 6f 20 74 68 65 20 4e 74 68 20 74 6f 75 63 68 20 6f 6e 20 74 68 65 20 67 69 76 65 6e 20 s.to.the.Nth.touch.on.the.given.
1460 73 63 72 65 65 6e 2e 0d 0a 20 20 20 20 2f 2f 2f 20 3c 2f 72 65 6d 61 72 6b 73 3e 0d 0a 20 20 20 screen.......///.</remarks>.....
1480 20 2f 2f 2f 20 3c 73 65 65 61 6c 73 6f 20 63 72 65 66 3d 22 54 6f 75 63 68 22 2f 3e 0d 0a 20 20 .///.<seealso.cref="Touch"/>....
14a0 20 20 5b 53 79 73 74 65 6d 2e 44 69 61 67 6e 6f 73 74 69 63 73 2e 43 6f 64 65 41 6e 61 6c 79 73 ..[System.Diagnostics.CodeAnalys
14c0 69 73 2e 53 75 70 70 72 65 73 73 4d 65 73 73 61 67 65 28 22 4d 69 63 72 6f 73 6f 66 74 2e 55 73 is.SuppressMessage("Microsoft.Us
14e0 61 67 65 22 2c 20 22 43 41 31 30 30 31 3a 54 79 70 65 73 54 68 61 74 4f 77 6e 44 69 73 70 6f 73 age",."CA1001:TypesThatOwnDispos
1500 61 62 6c 65 46 69 65 6c 64 73 53 68 6f 75 6c 64 42 65 44 69 73 70 6f 73 61 62 6c 65 22 2c 0d 0a ableFieldsShouldBeDisposable",..
1520 20 20 20 20 20 20 20 20 4a 75 73 74 69 66 69 63 61 74 69 6f 6e 20 3d 20 22 48 6f 6c 64 73 20 6f ........Justification.=."Holds.o
1540 6e 20 74 6f 20 69 6e 74 65 72 6e 61 6c 6c 79 20 6d 61 6e 61 67 65 64 20 6d 65 6d 6f 72 79 20 77 n.to.internally.managed.memory.w
1560 68 69 63 68 20 73 68 6f 75 6c 64 20 6e 6f 74 20 62 65 20 64 69 73 70 6f 73 65 64 20 62 79 20 74 hich.should.not.be.disposed.by.t
1580 68 65 20 75 73 65 72 2e 22 29 5d 0d 0a 20 20 20 20 70 75 62 6c 69 63 20 63 6c 61 73 73 20 46 69 he.user.")]......public.class.Fi
15a0 6e 67 65 72 0d 0a 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 2f 2f 20 54 68 69 73 20 63 6c 61 nger......{..........//.This.cla
15c0 73 73 20 73 74 6f 72 65 73 20 70 72 65 74 74 79 20 6d 75 63 68 20 61 6c 6c 20 74 68 65 20 64 61 ss.stores.pretty.much.all.the.da
15e0 74 61 20 74 68 61 74 20 69 73 20 6b 65 70 74 20 62 79 20 74 68 65 20 65 6e 68 61 6e 63 65 64 20 ta.that.is.kept.by.the.enhanced.
1600 74 6f 75 63 68 20 73 79 73 74 65 6d 2e 20 41 6c 6c 0d 0a 20 20 20 20 20 20 20 20 2f 2f 20 74 68 touch.system..All..........//.th
1620 65 20 66 69 6e 67 65 72 20 61 6e 64 20 68 69 73 74 6f 72 79 20 74 72 61 63 6b 69 6e 67 20 69 73 e.finger.and.history.tracking.is
1640 20 66 6f 75 6e 64 20 68 65 72 65 2e 0d 0a 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 6d .found.here.............///.<sum
1660 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 54 68 65 20 73 63 72 65 65 6e 20 74 68 mary>..........///.The.screen.th
1680 61 74 20 74 68 65 20 66 69 6e 67 65 72 20 69 73 20 61 73 73 6f 63 69 61 74 65 64 20 77 69 74 68 at.the.finger.is.associated.with
16a0 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 ...........///.</summary>.......
16c0 20 20 20 2f 2f 2f 20 3c 76 61 6c 75 65 3e 54 6f 75 63 68 73 63 72 65 65 6e 20 61 73 73 6f 63 69 ...///.<value>Touchscreen.associ
16e0 61 74 65 64 20 77 69 74 68 20 74 68 65 20 74 6f 75 63 68 2e 3c 2f 76 61 6c 75 65 3e 0d 0a 20 20 ated.with.the.touch.</value>....
1700 20 20 20 20 20 20 70 75 62 6c 69 63 20 54 6f 75 63 68 73 63 72 65 65 6e 20 73 63 72 65 65 6e 20 ......public.Touchscreen.screen.
1720 7b 20 67 65 74 3b 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 {.get;.}............///.<summary
1740 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 49 6e 64 65 78 20 6f 66 20 74 68 65 20 66 69 6e 67 >..........///.Index.of.the.fing
1760 65 72 20 6f 6e 20 3c 73 65 65 20 63 72 65 66 3d 22 73 63 72 65 65 6e 22 2f 3e 2e 20 45 61 63 68 er.on.<see.cref="screen"/>..Each
1780 20 66 69 6e 67 65 72 20 63 6f 72 72 65 73 70 6f 6e 64 73 20 74 6f 20 74 68 65 20 4e 74 68 20 74 .finger.corresponds.to.the.Nth.t
17a0 6f 75 63 68 20 6f 6e 20 61 20 73 63 72 65 65 6e 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c ouch.on.a.screen...........///.<
17c0 2f 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 69 6e 74 20 69 6e /summary>..........public.int.in
17e0 64 65 78 20 7b 20 67 65 74 3b 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 6d dex.{.get;.}............///.<sum
1800 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 57 68 65 74 68 65 72 20 74 68 65 20 66 mary>..........///.Whether.the.f
1820 69 6e 67 65 72 20 69 73 20 63 75 72 72 65 6e 74 6c 79 20 74 6f 75 63 68 69 6e 67 20 74 68 65 20 inger.is.currently.touching.the.
1840 73 63 72 65 65 6e 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0d screen...........///.</summary>.
1860 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 62 6f 6f 6c 20 69 73 41 63 74 69 76 65 20 3d 3e .........public.bool.isActive.=>
1880 20 63 75 72 72 65 6e 74 54 6f 75 63 68 2e 76 61 6c 69 64 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 .currentTouch.valid;............
18a0 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 54 68 65 20 63 ///.<summary>..........///.The.c
18c0 75 72 72 65 6e 74 20 70 6f 73 69 74 69 6f 6e 20 6f 66 20 74 68 65 20 66 69 6e 67 65 72 20 6f 6e urrent.position.of.the.finger.on
18e0 20 74 68 65 20 73 63 72 65 65 6e 20 6f 72 20 3c 63 3e 64 65 66 61 75 6c 74 28 56 65 63 74 6f 72 .the.screen.or.<c>default(Vector
1900 32 29 3c 2f 63 3e 20 69 66 20 74 68 65 72 65 20 69 73 20 6e 6f 0d 0a 20 20 20 20 20 20 20 20 2f 2)</c>.if.there.is.no........../
1920 2f 2f 20 6f 6e 67 6f 69 6e 67 20 74 6f 75 63 68 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c //.ongoing.touch...........///.<
1940 2f 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 56 65 63 74 6f 72 /summary>..........public.Vector
1960 32 20 73 63 72 65 65 6e 50 6f 73 69 74 69 6f 6e 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 2.screenPosition..........{.....
1980 20 20 20 20 20 20 20 20 20 67 65 74 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 .........get..............{.....
19a0 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 2f 2f 52 45 56 49 45 57 3a 20 73 68 6f 75 6c 64 20 .............////REVIEW:.should.
19c0 74 68 69 73 20 77 6f 72 6b 20 6f 66 66 20 6f 66 20 63 75 72 72 65 6e 74 54 6f 75 63 68 20 69 6e this.work.off.of.currentTouch.in
19e0 73 74 65 61 64 20 6f 66 20 6c 61 73 74 54 6f 75 63 68 3f 0d 0a 20 20 20 20 20 20 20 20 20 20 20 stead.of.lastTouch?.............
1a00 20 20 20 20 20 76 61 72 20 74 6f 75 63 68 20 3d 20 6c 61 73 74 54 6f 75 63 68 3b 0d 0a 20 20 20 .....var.touch.=.lastTouch;.....
1a20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 74 6f 75 63 68 2e 76 61 6c 69 64 29 0d 0a .............if.(!touch.valid)..
1a40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 64 65 66 61 75 ....................return.defau
1a60 6c 74 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 6f 75 63 lt;..................return.touc
1a80 68 2e 73 63 72 65 65 6e 50 6f 73 69 74 69 6f 6e 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d h.screenPosition;..............}
1aa0 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 2f 52 45 56 49 45 ..........}............////REVIE
1ac0 57 3a 20 73 68 6f 75 6c 64 20 6c 61 73 74 54 6f 75 63 68 20 61 6e 64 20 63 75 72 72 65 6e 74 54 W:.should.lastTouch.and.currentT
1ae0 6f 75 63 68 20 68 61 76 65 20 61 63 63 75 6d 75 6c 61 74 65 64 20 64 65 6c 74 61 73 3f 20 77 6f ouch.have.accumulated.deltas?.wo
1b00 75 6c 64 20 74 68 61 74 20 62 65 20 63 6f 6e 66 75 73 69 6e 67 3f 0d 0a 0d 0a 20 20 20 20 20 20 uld.that.be.confusing?..........
1b20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 54 68 65 ..///.<summary>..........///.The
1b40 20 6c 61 73 74 20 74 6f 75 63 68 20 74 68 61 74 20 68 61 70 70 65 6e 65 64 20 6f 6e 20 74 68 65 .last.touch.that.happened.on.the
1b60 20 66 69 6e 67 65 72 20 6f 72 20 3c 63 3e 64 65 66 61 75 6c 74 28 54 6f 75 63 68 29 3c 2f 63 3e .finger.or.<c>default(Touch)</c>
1b80 20 28 77 69 74 68 20 3c 73 65 65 20 63 72 65 66 3d 22 54 6f 75 63 68 2e 76 61 6c 69 64 22 2f 3e .(with.<see.cref="Touch.valid"/>
1ba0 20 62 65 69 6e 67 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 66 61 6c 73 65 29 20 69 66 20 6e 6f .being..........///.false).if.no
1bc0 20 74 6f 75 63 68 20 68 61 73 20 62 65 65 6e 20 72 65 67 69 73 74 65 72 65 64 20 6f 6e 20 74 68 .touch.has.been.registered.on.th
1be0 65 20 66 69 6e 67 65 72 20 79 65 74 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d e.finger.yet...........///.</sum
1c00 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 72 65 6d 61 72 6b 73 3e 0d 0a 20 20 mary>..........///.<remarks>....
1c20 20 20 20 20 20 20 2f 2f 2f 20 41 20 67 69 76 65 6e 20 74 6f 75 63 68 20 77 69 6c 6c 20 62 65 20 ......///.A.given.touch.will.be.
1c40 72 65 74 75 72 6e 65 64 20 66 72 6f 6d 20 74 68 69 73 20 70 72 6f 70 65 72 74 79 20 66 6f 72 20 returned.from.this.property.for.
1c60 61 73 20 6c 6f 6e 67 20 61 73 20 6e 6f 20 6e 65 77 20 74 6f 75 63 68 20 68 61 73 20 62 65 65 6e as.long.as.no.new.touch.has.been
1c80 20 73 74 61 72 74 65 64 2e 20 41 73 20 73 6f 6f 6e 20 61 73 20 61 0d 0a 20 20 20 20 20 20 20 20 .started..As.soon.as.a..........
1ca0 2f 2f 2f 20 6e 65 77 20 74 6f 75 63 68 20 69 73 20 72 65 67 69 73 74 65 72 65 64 20 6f 6e 20 74 ///.new.touch.is.registered.on.t
1cc0 68 65 20 66 69 6e 67 65 72 2c 20 74 68 65 20 70 72 6f 70 65 72 74 79 20 73 77 69 74 63 68 65 73 he.finger,.the.property.switches
1ce0 20 74 6f 20 74 68 65 20 6e 65 77 20 74 6f 75 63 68 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 .to.the.new.touch...........///.
1d00 3c 2f 72 65 6d 61 72 6b 73 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 54 6f 75 63 68 </remarks>..........public.Touch
1d20 20 6c 61 73 74 54 6f 75 63 68 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 .lastTouch..........{...........
1d40 20 20 20 67 65 74 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 ...get..............{...........
1d60 20 20 20 20 20 20 20 76 61 72 20 63 6f 75 6e 74 20 3d 20 6d 5f 53 74 61 74 65 48 69 73 74 6f 72 .......var.count.=.m_StateHistor
1d80 79 2e 43 6f 75 6e 74 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 63 6f y.Count;..................if.(co
1da0 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 20 20 20 20 20 72 unt.==.0)......................r
1dc0 65 74 75 72 6e 20 64 65 66 61 75 6c 74 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 eturn.default;..................
1de0 72 65 74 75 72 6e 20 6e 65 77 20 54 6f 75 63 68 28 74 68 69 73 2c 20 6d 5f 53 74 61 74 65 48 69 return.new.Touch(this,.m_StateHi
1e00 73 74 6f 72 79 5b 63 6f 75 6e 74 20 2d 20 31 5d 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 story[count.-.1]);..............
1e20 7d 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 6d }..........}............///.<sum
1e40 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 54 68 65 20 63 75 72 72 65 6e 74 6c 79 mary>..........///.The.currently
1e60 20 6f 6e 67 6f 69 6e 67 20 66 6f 72 20 74 68 65 20 66 69 6e 67 65 72 20 6f 72 20 3c 63 3e 64 65 .ongoing.for.the.finger.or.<c>de
1e80 66 61 75 6c 74 28 54 6f 75 63 68 29 3c 2f 63 3e 20 28 77 69 74 68 20 3c 73 65 65 20 63 72 65 66 fault(Touch)</c>.(with.<see.cref
1ea0 3d 22 54 6f 75 63 68 2e 76 61 6c 69 64 22 2f 3e 20 61 62 65 69 6e 67 20 66 61 6c 73 65 29 0d 0a ="Touch.valid"/>.abeing.false)..
1ec0 20 20 20 20 20 20 20 20 2f 2f 2f 20 69 66 20 6e 6f 20 74 6f 75 63 68 20 69 73 20 63 75 72 72 65 ........///.if.no.touch.is.curre
1ee0 6e 74 6c 79 20 69 6e 20 70 72 6f 67 72 65 73 73 20 6f 6e 20 74 68 65 20 66 69 6e 67 65 72 2e 0d ntly.in.progress.on.the.finger..
1f00 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 .........///.</summary>.........
1f20 20 70 75 62 6c 69 63 20 54 6f 75 63 68 20 63 75 72 72 65 6e 74 54 6f 75 63 68 0d 0a 20 20 20 20 .public.Touch.currentTouch......
1f40 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 0d 0a 20 20 20 20 20 20 20 20 ....{..............get..........
1f60 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 74 6f 75 63 68 ....{..................var.touch
1f80 20 3d 20 6c 61 73 74 54 6f 75 63 68 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 .=.lastTouch;..................i
1fa0 66 20 28 21 74 6f 75 63 68 2e 76 61 6c 69 64 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 f.(!touch.valid)................
1fc0 20 20 20 20 20 20 72 65 74 75 72 6e 20 64 65 66 61 75 6c 74 3b 0d 0a 20 20 20 20 20 20 20 20 20 ......return.default;...........
1fe0 20 20 20 20 20 20 20 69 66 20 28 74 6f 75 63 68 2e 69 73 49 6e 50 72 6f 67 72 65 73 73 29 0d 0a .......if.(touch.isInProgress)..
2000 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 6f 75 63 68 ....................return.touch
2020 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 45 6e 64 65 64 20 74 6f 75 63 ;..................//.Ended.touc
2040 68 65 73 20 73 74 61 79 20 63 75 72 72 65 6e 74 20 69 6e 20 74 68 65 20 66 72 61 6d 65 20 74 68 hes.stay.current.in.the.frame.th
2060 65 79 20 65 6e 64 65 64 20 69 6e 2e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 ey.ended.in...................if
2080 20 28 74 6f 75 63 68 2e 75 70 64 61 74 65 53 74 65 70 43 6f 75 6e 74 20 3d 3d 20 54 6f 75 63 68 .(touch.updateStepCount.==.Touch
20a0 2e 73 5f 50 6c 61 79 65 72 53 74 61 74 65 2e 75 70 64 61 74 65 53 74 65 70 43 6f 75 6e 74 29 0d .s_PlayerState.updateStepCount).
20c0 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 6f 75 63 .....................return.touc
20e0 68 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 64 65 66 61 75 h;..................return.defau
2100 6c 74 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d lt;..............}..........}...
2120 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 .........///.<summary>..........
2140 2f 2f 2f 20 54 68 65 20 66 75 6c 6c 20 74 6f 75 63 68 20 68 69 73 74 6f 72 79 20 6f 66 20 74 68 ///.The.full.touch.history.of.th
2160 65 20 66 69 6e 67 65 72 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 e.finger...........///.</summary
2180 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 72 65 6d 61 72 6b 73 3e 0d 0a 20 20 20 20 20 20 >..........///.<remarks>........
21a0 20 20 2f 2f 2f 20 54 68 65 20 68 69 73 74 6f 72 79 20 69 73 20 63 61 70 70 65 64 20 61 74 20 3c ..///.The.history.is.capped.at.<
21c0 73 65 65 20 63 72 65 66 3d 22 54 6f 75 63 68 2e 6d 61 78 48 69 73 74 6f 72 79 4c 65 6e 67 74 68 see.cref="Touch.maxHistoryLength
21e0 50 65 72 46 69 6e 67 65 72 22 2f 3e 2e 20 4f 6e 63 65 20 66 75 6c 6c 2c 20 6e 65 77 65 72 20 74 PerFinger"/>..Once.full,.newer.t
2200 6f 75 63 68 20 72 65 63 6f 72 64 73 20 77 69 6c 6c 20 73 74 61 72 74 0d 0a 20 20 20 20 20 20 20 ouch.records.will.start.........
2220 20 2f 2f 2f 20 6f 76 65 72 77 72 69 74 69 6e 67 20 6f 6c 64 65 72 20 65 6e 74 72 69 65 73 2e 20 .///.overwriting.older.entries..
2240 4e 6f 74 65 20 74 68 61 74 20 74 68 69 73 20 6d 65 61 6e 73 20 74 68 61 74 20 61 20 67 69 76 65 Note.that.this.means.that.a.give
2260 6e 20 74 6f 75 63 68 20 77 69 6c 6c 20 6e 6f 74 20 74 72 61 63 65 20 61 6c 6c 20 74 68 65 20 77 n.touch.will.not.trace.all.the.w
2280 61 79 20 62 61 63 6b 20 74 6f 20 69 74 73 20 62 65 67 69 6e 6e 69 6e 67 0d 0a 20 20 20 20 20 20 ay.back.to.its.beginning........
22a0 20 20 2f 2f 2f 20 69 66 20 69 74 20 72 75 6e 73 20 70 61 73 74 20 74 68 65 20 6d 61 78 20 68 69 ..///.if.it.runs.past.the.max.hi
22c0 73 74 6f 72 79 20 73 69 7a 65 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 72 65 6d 61 72 story.size...........///.</remar
22e0 6b 73 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 54 6f 75 63 68 48 69 73 74 6f 72 79 ks>..........public.TouchHistory
2300 20 74 6f 75 63 68 48 69 73 74 6f 72 79 20 3d 3e 20 6e 65 77 20 54 6f 75 63 68 48 69 73 74 6f 72 .touchHistory.=>.new.TouchHistor
2320 79 28 74 68 69 73 2c 20 6d 5f 53 74 61 74 65 48 69 73 74 6f 72 79 29 3b 0d 0a 0d 0a 20 20 20 20 y(this,.m_StateHistory);........
2340 20 20 20 20 69 6e 74 65 72 6e 61 6c 20 72 65 61 64 6f 6e 6c 79 20 49 6e 70 75 74 53 74 61 74 65 ....internal.readonly.InputState
2360 48 69 73 74 6f 72 79 3c 54 6f 75 63 68 53 74 61 74 65 3e 20 6d 5f 53 74 61 74 65 48 69 73 74 6f History<TouchState>.m_StateHisto
2380 72 79 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 69 6e 74 65 72 6e 61 6c 20 46 69 6e 67 65 72 28 54 ry;............internal.Finger(T
23a0 6f 75 63 68 73 63 72 65 65 6e 20 73 63 72 65 65 6e 2c 20 69 6e 74 20 69 6e 64 65 78 2c 20 49 6e ouchscreen.screen,.int.index,.In
23c0 70 75 74 55 70 64 61 74 65 54 79 70 65 20 75 70 64 61 74 65 4d 61 73 6b 29 0d 0a 20 20 20 20 20 putUpdateType.updateMask).......
23e0 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 73 63 72 65 65 6e 20 3d 20 ...{..............this.screen.=.
2400 73 63 72 65 65 6e 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 69 73 2e 69 6e 64 65 78 20 screen;..............this.index.
2420 3d 20 69 6e 64 65 78 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 53 65 74 20 75 =.index;................//.Set.u
2440 70 20 68 69 73 74 6f 72 79 20 72 65 63 6f 72 64 69 6e 67 2e 0d 0a 20 20 20 20 20 20 20 20 20 20 p.history.recording.............
2460 20 20 6d 5f 53 74 61 74 65 48 69 73 74 6f 72 79 20 3d 20 6e 65 77 20 49 6e 70 75 74 53 74 61 74 ..m_StateHistory.=.new.InputStat
2480 65 48 69 73 74 6f 72 79 3c 54 6f 75 63 68 53 74 61 74 65 3e 28 73 63 72 65 65 6e 2e 74 6f 75 63 eHistory<TouchState>(screen.touc
24a0 68 65 73 5b 69 6e 64 65 78 5d 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 hes[index])..............{......
24c0 20 20 20 20 20 20 20 20 20 20 20 20 68 69 73 74 6f 72 79 44 65 70 74 68 20 3d 20 54 6f 75 63 68 ............historyDepth.=.Touch
24e0 2e 6d 61 78 48 69 73 74 6f 72 79 4c 65 6e 67 74 68 50 65 72 46 69 6e 67 65 72 2c 0d 0a 20 20 20 .maxHistoryLengthPerFinger,.....
2500 20 20 20 20 20 20 20 20 20 20 20 20 20 65 78 74 72 61 4d 65 6d 6f 72 79 50 65 72 52 65 63 6f 72 .............extraMemoryPerRecor
2520 64 20 3d 20 55 6e 73 61 66 65 55 74 69 6c 69 74 79 2e 53 69 7a 65 4f 66 3c 54 6f 75 63 68 2e 45 d.=.UnsafeUtility.SizeOf<Touch.E
2540 78 74 72 61 44 61 74 61 50 65 72 54 6f 75 63 68 53 74 61 74 65 3e 28 29 2c 0d 0a 20 20 20 20 20 xtraDataPerTouchState>(),.......
2560 20 20 20 20 20 20 20 20 20 20 20 6f 6e 52 65 63 6f 72 64 41 64 64 65 64 20 3d 20 4f 6e 54 6f 75 ...........onRecordAdded.=.OnTou
2580 63 68 52 65 63 6f 72 64 65 64 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 53 chRecorded,..................onS
25a0 68 6f 75 6c 64 52 65 63 6f 72 64 53 74 61 74 65 43 68 61 6e 67 65 20 3d 20 53 68 6f 75 6c 64 52 houldRecordStateChange.=.ShouldR
25c0 65 63 6f 72 64 54 6f 75 63 68 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 75 70 64 ecordTouch,..................upd
25e0 61 74 65 4d 61 73 6b 20 3d 20 75 70 64 61 74 65 4d 61 73 6b 2c 0d 0a 20 20 20 20 20 20 20 20 20 ateMask.=.updateMask,...........
2600 20 20 20 7d 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 53 74 61 74 65 48 69 73 74 6f 72 ...};..............m_StateHistor
2620 79 2e 53 74 61 72 74 52 65 63 6f 72 64 69 6e 67 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a y.StartRecording();..........}..
2640 0d 0a 20 20 20 20 20 20 20 20 70 72 69 76 61 74 65 20 73 74 61 74 69 63 20 62 6f 6f 6c 20 53 68 ..........private.static.bool.Sh
2660 6f 75 6c 64 52 65 63 6f 72 64 54 6f 75 63 68 28 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 20 63 6f 6e ouldRecordTouch(InputControl.con
2680 74 72 6f 6c 2c 20 64 6f 75 62 6c 65 20 74 69 6d 65 2c 20 49 6e 70 75 74 45 76 65 6e 74 50 74 72 trol,.double.time,.InputEventPtr
26a0 20 65 76 65 6e 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 .eventPtr)..........{...........
26c0 20 20 20 2f 2f 20 57 65 20 6f 6e 6c 79 20 77 61 6e 74 20 74 6f 20 72 65 63 6f 72 64 20 63 68 61 ...//.We.only.want.to.record.cha
26e0 6e 67 65 73 20 74 68 61 74 20 63 6f 6d 65 20 66 72 6f 6d 20 65 76 65 6e 74 73 2e 20 57 65 20 69 nges.that.come.from.events..We.i
2700 67 6e 6f 72 65 20 69 6e 74 65 72 6e 61 6c 20 73 74 61 74 65 0d 0a 20 20 20 20 20 20 20 20 20 20 gnore.internal.state............
2720 20 20 2f 2f 20 63 68 61 6e 67 65 73 20 74 68 61 74 20 54 6f 75 63 68 73 63 72 65 65 6e 20 69 74 ..//.changes.that.Touchscreen.it
2740 73 65 6c 66 20 67 65 6e 65 72 61 74 65 73 2e 20 54 68 69 73 20 69 6e 63 6c 75 64 65 73 20 74 68 self.generates..This.includes.th
2760 65 20 72 65 73 65 74 74 69 6e 67 20 6f 66 20 64 65 6c 74 61 73 2e 0d 0a 20 20 20 20 20 20 20 20 e.resetting.of.deltas...........
2780 20 20 20 20 2f 2f 20 4e 4f 54 45 3a 20 54 68 69 73 20 6d 65 61 6e 73 20 77 65 20 61 72 65 20 69 ....//.NOTE:.This.means.we.are.i
27a0 67 6e 6f 72 69 6e 67 20 64 65 6c 74 61 20 72 65 73 65 74 73 20 68 61 70 70 65 6e 69 6e 67 20 69 gnoring.delta.resets.happening.i
27c0 6e 20 54 6f 75 63 68 73 63 72 65 65 6e 2e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 n.Touchscreen...............if.(
27e0 21 65 76 65 6e 74 50 74 72 2e 76 61 6c 69 64 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 !eventPtr.valid)................
2800 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 ..return.false;................v
2820 61 72 20 74 6f 75 63 68 43 6f 6e 74 72 6f 6c 20 3d 20 28 54 6f 75 63 68 43 6f 6e 74 72 6f 6c 29 ar.touchControl.=.(TouchControl)
2840 63 6f 6e 74 72 6f 6c 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 74 6f 75 63 68 20 control;..............var.touch.
2860 3d 20 74 6f 75 63 68 43 6f 6e 74 72 6f 6c 2e 52 65 61 64 56 61 6c 75 65 28 29 3b 0d 0a 0d 0a 20 =.touchControl.ReadValue();.....
2880 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 54 6f 75 63 68 73 63 72 65 65 6e 20 77 69 6c 6c 20 72 ...........//.Touchscreen.will.r
28a0 65 63 6f 72 64 20 61 20 62 75 74 74 6f 6e 20 64 6f 77 6e 20 61 6e 64 20 62 75 74 74 6f 6e 20 75 ecord.a.button.down.and.button.u
28c0 70 20 61 20 54 6f 75 63 68 43 6f 6e 74 72 6f 6c 20 77 68 65 6e 20 61 20 74 61 70 20 6f 63 63 75 p.a.TouchControl.when.a.tap.occu
28e0 72 73 2e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 57 65 20 6f 6e 6c 79 20 77 61 6e 74 rs...............//.We.only.want
2900 20 74 6f 20 72 65 63 6f 72 64 20 74 68 65 20 62 75 74 74 6f 6e 20 64 6f 77 6e 2c 20 6e 6f 74 20 .to.record.the.button.down,.not.
2920 74 68 65 20 62 75 74 74 6f 6e 20 75 70 2e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 the.button.up...............if.(
2940 74 6f 75 63 68 2e 70 68 61 73 65 20 3d 3d 20 54 6f 75 63 68 50 68 61 73 65 2e 45 6e 64 65 64 20 touch.phase.==.TouchPhase.Ended.
2960 26 26 20 21 74 6f 75 63 68 2e 69 73 54 61 70 20 26 26 20 74 6f 75 63 68 2e 74 61 70 43 6f 75 6e &&.!touch.isTap.&&.touch.tapCoun
2980 74 20 3e 20 30 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 20 66 t.>.0)..................return.f
29a0 61 6c 73 65 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 72 75 65 alse;................return.true
29c0 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.
29e0 75 6e 73 61 66 65 20 76 6f 69 64 20 4f 6e 54 6f 75 63 68 52 65 63 6f 72 64 65 64 28 49 6e 70 75 unsafe.void.OnTouchRecorded(Inpu
2a00 74 53 74 61 74 65 48 69 73 74 6f 72 79 2e 52 65 63 6f 72 64 20 72 65 63 6f 72 64 29 0d 0a 20 20 tStateHistory.Record.record)....
2a20 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 74 6f 75 63 68 53 74 ......{..............var.touchSt
2a40 61 74 65 20 3d 20 28 54 6f 75 63 68 53 74 61 74 65 2a 29 72 65 63 6f 72 64 2e 47 65 74 55 6e 73 ate.=.(TouchState*)record.GetUns
2a60 61 66 65 4d 65 6d 6f 72 79 50 74 72 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 54 6f 75 afeMemoryPtr();..............Tou
2a80 63 68 2e 73 5f 50 6c 61 79 65 72 53 74 61 74 65 2e 68 61 76 65 42 75 69 6c 74 41 63 74 69 76 65 ch.s_PlayerState.haveBuiltActive
2aa0 54 6f 75 63 68 65 73 20 3d 20 66 61 6c 73 65 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 Touches.=.false;................
2ac0 2f 2f 20 52 65 63 6f 72 64 20 74 68 65 20 65 78 74 72 61 20 64 61 74 61 20 77 65 20 6d 61 69 6e //.Record.the.extra.data.we.main
2ae0 74 61 69 6e 20 66 6f 72 20 65 61 63 68 20 74 6f 75 63 68 2e 0d 0a 20 20 20 20 20 20 20 20 20 20 tain.for.each.touch.............
2b00 20 20 76 61 72 20 65 78 74 72 61 44 61 74 61 20 3d 20 28 54 6f 75 63 68 2e 45 78 74 72 61 44 61 ..var.extraData.=.(Touch.ExtraDa
2b20 74 61 50 65 72 54 6f 75 63 68 53 74 61 74 65 2a 29 72 65 63 6f 72 64 2e 47 65 74 55 6e 73 61 66 taPerTouchState*)record.GetUnsaf
2b40 65 45 78 74 72 61 4d 65 6d 6f 72 79 50 74 72 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 eExtraMemoryPtr();..............
2b60 65 78 74 72 61 44 61 74 61 2d 3e 75 70 64 61 74 65 53 74 65 70 43 6f 75 6e 74 20 3d 20 54 6f 75 extraData->updateStepCount.=.Tou
2b80 63 68 2e 73 5f 50 6c 61 79 65 72 53 74 61 74 65 2e 75 70 64 61 74 65 53 74 65 70 43 6f 75 6e 74 ch.s_PlayerState.updateStepCount
2ba0 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 78 74 72 61 44 61 74 61 2d 3e 75 6e 69 71 75 65 ;..............extraData->unique
2bc0 49 64 20 3d 20 2b 2b 54 6f 75 63 68 2e 73 5f 50 6c 61 79 65 72 53 74 61 74 65 2e 6c 61 73 74 49 Id.=.++Touch.s_PlayerState.lastI
2be0 64 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 57 65 20 67 65 74 20 61 63 63 75 d;................//.We.get.accu
2c00 6d 75 6c 61 74 65 64 20 64 65 6c 74 61 73 20 66 72 6f 6d 20 54 6f 75 63 68 73 63 72 65 65 6e 2e mulated.deltas.from.Touchscreen.
2c20 20 53 74 6f 72 65 20 74 68 65 20 61 63 63 75 6d 75 6c 61 74 65 64 0d 0a 20 20 20 20 20 20 20 20 .Store.the.accumulated..........
2c40 20 20 20 20 2f 2f 20 76 61 6c 75 65 20 61 6e 64 20 22 75 6e 61 63 63 75 6d 75 6c 61 74 65 22 20 ....//.value.and."unaccumulate".
2c60 74 68 65 20 76 61 6c 75 65 20 77 65 20 73 74 6f 72 65 20 6f 6e 20 64 65 6c 74 61 2e 0d 0a 20 20 the.value.we.store.on.delta.....
2c80 20 20 20 20 20 20 20 20 20 20 65 78 74 72 61 44 61 74 61 2d 3e 61 63 63 75 6d 75 6c 61 74 65 64 ..........extraData->accumulated
2ca0 44 65 6c 74 61 20 3d 20 74 6f 75 63 68 53 74 61 74 65 2d 3e 64 65 6c 74 61 3b 0d 0a 20 20 20 20 Delta.=.touchState->delta;......
2cc0 20 20 20 20 20 20 20 20 69 66 20 28 74 6f 75 63 68 53 74 61 74 65 2d 3e 70 68 61 73 65 20 21 3d ........if.(touchState->phase.!=
2ce0 20 54 6f 75 63 68 50 68 61 73 65 2e 42 65 67 61 6e 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 .TouchPhase.Began)..............
2d00 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 70 72 65 76 69 6f 75 73 20 {..................var.previous.
2d20 3d 20 72 65 63 6f 72 64 2e 70 72 65 76 69 6f 75 73 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 =.record.previous;..............
2d40 20 20 20 20 69 66 20 28 70 72 65 76 69 6f 75 73 2e 76 61 6c 69 64 29 0d 0a 20 20 20 20 20 20 20 ....if.(previous.valid).........
2d60 20 20 20 20 20 20 20 20 20 20 20 20 20 74 6f 75 63 68 53 74 61 74 65 2d 3e 64 65 6c 74 61 20 2d .............touchState->delta.-
2d80 3d 20 28 28 54 6f 75 63 68 53 74 61 74 65 2a 29 70 72 65 76 69 6f 75 73 2e 47 65 74 55 6e 73 61 =.((TouchState*)previous.GetUnsa
2da0 66 65 4d 65 6d 6f 72 79 50 74 72 28 29 29 2d 3e 64 65 6c 74 61 3b 0d 0a 20 20 20 20 20 20 20 20 feMemoryPtr())->delta;..........
2dc0 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 54 72 69 67 67 65 72 20 ....}................//.Trigger.
2de0 63 61 6c 6c 62 61 63 6b 2e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 73 74 61 74 65 callback...............var.state
2e00 50 74 72 20 3d 20 28 54 6f 75 63 68 53 74 61 74 65 2a 29 72 65 63 6f 72 64 2e 47 65 74 55 6e 73 Ptr.=.(TouchState*)record.GetUns
2e20 61 66 65 4d 65 6d 6f 72 79 50 74 72 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 77 69 afeMemoryPtr();..............swi
2e40 74 63 68 20 28 73 74 61 74 65 50 74 72 2d 3e 70 68 61 73 65 29 0d 0a 20 20 20 20 20 20 20 20 20 tch.(statePtr->phase)...........
2e60 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 54 6f 75 63 68 ...{..................case.Touch
2e80 50 68 61 73 65 2e 42 65 67 61 6e 3a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 Phase.Began:....................
2ea0 20 20 44 65 6c 65 67 61 74 65 48 65 6c 70 65 72 73 2e 49 6e 76 6f 6b 65 43 61 6c 6c 62 61 63 6b ..DelegateHelpers.InvokeCallback
2ec0 73 53 61 66 65 28 72 65 66 20 54 6f 75 63 68 2e 73 5f 4f 6e 46 69 6e 67 65 72 44 6f 77 6e 2c 20 sSafe(ref.Touch.s_OnFingerDown,.
2ee0 74 68 69 73 2c 20 22 54 6f 75 63 68 2e 6f 6e 46 69 6e 67 65 72 44 6f 77 6e 22 29 3b 0d 0a 20 20 this,."Touch.onFingerDown");....
2f00 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;........
2f20 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 54 6f 75 63 68 50 68 61 73 65 2e 4d 6f 76 65 64 3a ..........case.TouchPhase.Moved:
2f40 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 44 65 6c 65 67 61 74 65 48 65 ......................DelegateHe
2f60 6c 70 65 72 73 2e 49 6e 76 6f 6b 65 43 61 6c 6c 62 61 63 6b 73 53 61 66 65 28 72 65 66 20 54 6f lpers.InvokeCallbacksSafe(ref.To
2f80 75 63 68 2e 73 5f 4f 6e 46 69 6e 67 65 72 4d 6f 76 65 2c 20 74 68 69 73 2c 20 22 54 6f 75 63 68 uch.s_OnFingerMove,.this,."Touch
2fa0 2e 6f 6e 46 69 6e 67 65 72 4d 6f 76 65 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .onFingerMove");................
2fc0 20 20 20 20 20 20 62 72 65 61 6b 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 ......break;..................ca
2fe0 73 65 20 54 6f 75 63 68 50 68 61 73 65 2e 45 6e 64 65 64 3a 0d 0a 20 20 20 20 20 20 20 20 20 20 se.TouchPhase.Ended:............
3000 20 20 20 20 20 20 63 61 73 65 20 54 6f 75 63 68 50 68 61 73 65 2e 43 61 6e 63 65 6c 65 64 3a 0d ......case.TouchPhase.Canceled:.
3020 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 44 65 6c 65 67 61 74 65 48 65 6c .....................DelegateHel
3040 70 65 72 73 2e 49 6e 76 6f 6b 65 43 61 6c 6c 62 61 63 6b 73 53 61 66 65 28 72 65 66 20 54 6f 75 pers.InvokeCallbacksSafe(ref.Tou
3060 63 68 2e 73 5f 4f 6e 46 69 6e 67 65 72 55 70 2c 20 74 68 69 73 2c 20 22 54 6f 75 63 68 2e 6f 6e ch.s_OnFingerUp,.this,."Touch.on
3080 46 69 6e 67 65 72 55 70 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 FingerUp");.....................
30a0 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;..............}..........
30c0 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 65 20 54 6f 75 63 }............private.unsafe.Touc
30e0 68 20 46 69 6e 64 54 6f 75 63 68 28 75 69 6e 74 20 75 6e 69 71 75 65 49 64 29 0d 0a 20 20 20 20 h.FindTouch(uint.uniqueId)......
3100 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 44 65 62 75 67 2e 41 73 73 65 72 74 28 ....{..............Debug.Assert(
3120 75 6e 69 71 75 65 49 64 20 21 3d 20 64 65 66 61 75 6c 74 2c 20 22 30 20 69 73 20 6e 6f 74 20 61 uniqueId.!=.default,."0.is.not.a
3140 20 76 61 6c 69 64 20 49 44 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 65 61 63 .valid.ID");..............foreac
3160 68 20 28 76 61 72 20 72 65 63 6f 72 64 20 69 6e 20 6d 5f 53 74 61 74 65 48 69 73 74 6f 72 79 29 h.(var.record.in.m_StateHistory)
3180 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 ..............{.................
31a0 20 69 66 20 28 28 28 54 6f 75 63 68 2e 45 78 74 72 61 44 61 74 61 50 65 72 54 6f 75 63 68 53 74 .if.(((Touch.ExtraDataPerTouchSt
31c0 61 74 65 2a 29 72 65 63 6f 72 64 2e 47 65 74 55 6e 73 61 66 65 45 78 74 72 61 4d 65 6d 6f 72 79 ate*)record.GetUnsafeExtraMemory
31e0 50 74 72 28 29 29 2d 3e 75 6e 69 71 75 65 49 64 20 3d 3d 20 75 6e 69 71 75 65 49 64 29 0d 0a 20 Ptr())->uniqueId.==.uniqueId)...
3200 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 6e 65 77 20 54 6f ...................return.new.To
3220 75 63 68 28 74 68 69 73 2c 20 72 65 63 6f 72 64 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 uch(this,.record);..............
3240 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 64 65 66 61 75 6c 74 3b }................return.default;
3260 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 69 6e 74 65 72 6e 61 6c 20 ..........}............internal.
3280 75 6e 73 61 66 65 20 54 6f 75 63 68 48 69 73 74 6f 72 79 20 47 65 74 54 6f 75 63 68 48 69 73 74 unsafe.TouchHistory.GetTouchHist
32a0 6f 72 79 28 54 6f 75 63 68 20 74 6f 75 63 68 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 ory(Touch.touch)..........{.....
32c0 20 20 20 20 20 20 20 20 20 44 65 62 75 67 2e 41 73 73 65 72 74 28 74 6f 75 63 68 2e 66 69 6e 67 .........Debug.Assert(touch.fing
32e0 65 72 20 3d 3d 20 74 68 69 73 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 49 er.==.this);................//.I
3300 66 20 74 68 65 20 74 6f 75 63 68 20 69 73 20 6e 6f 74 20 70 6f 69 6e 74 69 6e 67 20 74 6f 20 6f f.the.touch.is.not.pointing.to.o
3320 75 72 20 68 69 73 74 6f 72 79 2c 20 69 74 27 73 20 70 72 6f 62 61 62 6c 79 20 61 20 74 6f 75 63 ur.history,.it's.probably.a.touc
3340 68 20 77 65 20 63 6f 70 69 65 64 20 66 6f 72 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 h.we.copied.for..............//.
3360 61 63 74 69 76 65 54 6f 75 63 68 65 73 2e 20 57 65 20 6b 6e 6f 77 20 74 68 65 20 75 6e 69 71 75 activeTouches..We.know.the.uniqu
3380 65 20 49 44 20 6f 66 20 74 68 65 20 74 6f 75 63 68 20 73 6f 20 67 6f 20 61 6e 64 20 74 72 79 20 e.ID.of.the.touch.so.go.and.try.
33a0 74 6f 20 66 69 6e 64 20 74 68 65 20 74 6f 75 63 68 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f to.find.the.touch............../
33c0 2f 20 69 6e 20 6f 75 72 20 68 69 73 74 6f 72 79 2e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 /.in.our.history...............v
33e0 61 72 20 74 6f 75 63 68 52 65 63 6f 72 64 20 3d 20 74 6f 75 63 68 2e 6d 5f 54 6f 75 63 68 52 65 ar.touchRecord.=.touch.m_TouchRe
3400 63 6f 72 64 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 6f 75 63 68 52 65 63 6f cord;..............if.(touchReco
3420 72 64 2e 6f 77 6e 65 72 20 21 3d 20 6d 5f 53 74 61 74 65 48 69 73 74 6f 72 79 29 0d 0a 20 20 20 rd.owner.!=.m_StateHistory).....
3440 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 74 6f 75 63 .........{..................touc
3460 68 20 3d 20 46 69 6e 64 54 6f 75 63 68 28 74 6f 75 63 68 2e 75 6e 69 71 75 65 49 64 29 3b 0d 0a h.=.FindTouch(touch.uniqueId);..
3480 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 74 6f 75 63 68 2e 76 61 6c 69 64 ................if.(!touch.valid
34a0 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 64 65 )......................return.de
34c0 66 61 75 6c 74 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 fault;..............}...........
34e0 20 20 20 20 20 76 61 72 20 74 6f 75 63 68 49 64 20 3d 20 74 6f 75 63 68 2e 74 6f 75 63 68 49 64 .....var.touchId.=.touch.touchId
3500 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 73 74 61 72 74 49 6e 64 65 78 20 3d 20 ;..............var.startIndex.=.
3520 74 6f 75 63 68 2e 6d 5f 54 6f 75 63 68 52 65 63 6f 72 64 2e 69 6e 64 65 78 3b 0d 0a 0d 0a 20 20 touch.m_TouchRecord.index;......
3540 20 20 20 20 20 20 20 20 20 20 2f 2f 20 49 66 20 74 68 65 20 63 75 72 72 65 6e 74 20 74 6f 75 63 ..........//.If.the.current.touc
3560 68 20 69 73 6e 27 74 20 74 68 65 20 62 65 67 69 6e 6e 69 6e 67 20 6f 66 20 74 68 65 20 74 6f 75 h.isn't.the.beginning.of.the.tou
3580 63 68 2c 20 73 65 61 72 63 68 20 62 61 63 6b 20 74 68 72 6f 75 67 68 20 74 68 65 0d 0a 20 20 20 ch,.search.back.through.the.....
35a0 20 20 20 20 20 20 20 20 20 2f 2f 20 68 69 73 74 6f 72 79 20 66 6f 72 20 61 6c 6c 20 74 6f 75 63 .........//.history.for.all.touc
35c0 68 65 73 20 62 65 6c 6f 6e 67 69 6e 67 20 74 6f 20 74 68 65 20 73 61 6d 65 20 63 6f 6e 74 61 63 hes.belonging.to.the.same.contac
35e0 74 2e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 63 6f 75 6e 74 20 3d 20 30 3b 0d 0a t...............var.count.=.0;..
3600 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 6f 75 63 68 2e 70 68 61 73 65 20 21 3d 20 54 ............if.(touch.phase.!=.T
3620 6f 75 63 68 50 68 61 73 65 2e 42 65 67 61 6e 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d ouchPhase.Began)..............{.
3640 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 70 72 65 76 69 6f .................for.(var.previo
3660 75 73 52 65 63 6f 72 64 20 3d 20 74 6f 75 63 68 2e 6d 5f 54 6f 75 63 68 52 65 63 6f 72 64 2e 70 usRecord.=.touch.m_TouchRecord.p
3680 72 65 76 69 6f 75 73 3b 20 70 72 65 76 69 6f 75 73 52 65 63 6f 72 64 2e 76 61 6c 69 64 3b 20 70 revious;.previousRecord.valid;.p
36a0 72 65 76 69 6f 75 73 52 65 63 6f 72 64 20 3d 20 70 72 65 76 69 6f 75 73 52 65 63 6f 72 64 2e 70 reviousRecord.=.previousRecord.p
36c0 72 65 76 69 6f 75 73 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 revious)..................{.....
36e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 74 6f 75 63 68 53 74 61 74 65 20 .................var.touchState.
3700 3d 20 28 54 6f 75 63 68 53 74 61 74 65 2a 29 70 72 65 76 69 6f 75 73 52 65 63 6f 72 64 2e 47 65 =.(TouchState*)previousRecord.Ge
3720 74 55 6e 73 61 66 65 4d 65 6d 6f 72 79 50 74 72 28 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 tUnsafeMemoryPtr();.............
3740 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 53 74 6f 70 20 69 66 20 74 68 65 20 74 6f 75 63 68 20 ...........//.Stop.if.the.touch.
3760 64 6f 65 73 6e 27 74 20 62 65 6c 6f 6e 67 20 74 6f 20 74 68 65 20 73 61 6d 65 20 63 6f 6e 74 61 doesn't.belong.to.the.same.conta
3780 63 74 2e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 6f 75 ct.......................if.(tou
37a0 63 68 53 74 61 74 65 2d 3e 74 6f 75 63 68 49 64 20 21 3d 20 74 6f 75 63 68 49 64 29 0d 0a 20 20 chState->touchId.!=.touchId)....
37c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 3b 0d 0a 20 20 ......................break;....
37e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2b 2b 63 6f 75 6e 74 3b 0d 0a 0d 0a 20 20 ..................++count;......
3800 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 53 74 6f 70 20 69 66 20 77 65 27 ..................//.Stop.if.we'
3820 76 65 20 66 6f 75 6e 64 20 74 68 65 20 62 65 67 69 6e 6e 69 6e 67 20 6f 66 20 74 68 65 20 74 6f ve.found.the.beginning.of.the.to
3840 75 63 68 2e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 74 6f uch.......................if.(to
3860 75 63 68 53 74 61 74 65 2d 3e 70 68 61 73 65 20 3d 3d 20 54 6f 75 63 68 50 68 61 73 65 2e 42 65 uchState->phase.==.TouchPhase.Be
3880 67 61 6e 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 72 gan)..........................br
38a0 65 61 6b 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 eak;..................}.........
38c0 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 63 6f 75 6e 74 20 .....}................if.(count.
38e0 3d 3d 20 30 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 20 64 65 ==.0)..................return.de
3900 66 61 75 6c 74 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 57 65 20 64 6f 6e 27 fault;................//.We.don'
3920 74 20 77 61 6e 74 20 74 6f 20 69 6e 63 6c 75 64 65 20 74 68 65 20 74 6f 75 63 68 20 77 65 20 73 t.want.to.include.the.touch.we.s
3940 74 61 72 74 65 64 20 77 69 74 68 2e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2d 2d 73 74 61 72 tarted.with...............--star
3960 74 49 6e 64 65 78 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 6e 65 tIndex;................return.ne
3980 77 20 54 6f 75 63 68 48 69 73 74 6f 72 79 28 74 68 69 73 2c 20 6d 5f 53 74 61 74 65 48 69 73 74 w.TouchHistory(this,.m_StateHist
39a0 6f 72 79 2c 20 73 74 61 72 74 49 6e 64 65 78 2c 20 63 6f 75 6e 74 29 3b 0d 0a 20 20 20 20 20 20 ory,.startIndex,.count);........
39c0 20 20 7d 0d 0a 20 20 20 20 7d 0d 0a 7d 0d 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ..}......}..}...................
39e0 00 00 00 00 06 00 00 00 46 69 6e 67 65 72 00 00 25 00 00 00 55 6e 69 74 79 45 6e 67 69 6e 65 2e ........Finger..%...UnityEngine.
3a00 49 6e 70 75 74 53 79 73 74 65 6d 2e 45 6e 68 61 6e 63 65 64 54 6f 75 63 68 00 00 00 InputSystem.EnhancedTouch...