summaryrefslogtreecommitdiff
path: root/Library/Artifacts/db/dbe0c9f4bfec1bae2bd65741da21f49e
blob: 9ca2f14e25f5abbdbe041896a82d0b0656ca0b14 (plain)
ofshex dumpascii
0000 00 00 0f 81 00 00 45 60 00 00 00 15 00 00 10 00 00 00 00 00 32 30 31 39 2e 33 2e 36 66 31 00 fe ......E`............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 00 35 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 .5..............................
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 05 00 00 00 4d 6f 75 73 65 00 00 00 8b 34 00 00 75 73 69 6e 67 20 53 79 ............Mouse....4..using.Sy
10a0 73 74 65 6d 2e 52 75 6e 74 69 6d 65 2e 49 6e 74 65 72 6f 70 53 65 72 76 69 63 65 73 3b 0d 0a 75 stem.Runtime.InteropServices;..u
10c0 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 43 6f 6e sing.UnityEngine.InputSystem.Con
10e0 74 72 6f 6c 73 3b 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 trols;..using.UnityEngine.InputS
1100 79 73 74 65 6d 2e 4c 61 79 6f 75 74 73 3b 0d 0a 75 73 69 6e 67 20 55 6e 69 74 79 45 6e 67 69 6e ystem.Layouts;..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 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 nityEngine.InputSystem.Utilities
1160 3b 0d 0a 0d 0a 2f 2f 2f 2f 54 4f 44 4f 3a 20 6f 70 74 69 6f 6e 20 74 6f 20 61 6c 6c 6f 77 20 74 ;....////TODO:.option.to.allow.t
1180 6f 20 63 6f 6e 73 74 72 61 69 6e 20 6d 6f 75 73 65 20 69 6e 70 75 74 20 74 6f 20 74 68 65 20 73 o.constrain.mouse.input.to.the.s
11a0 63 72 65 65 6e 20 61 72 65 61 20 28 69 2e 65 2e 20 6e 6f 20 69 6e 70 75 74 20 6f 6e 63 65 20 6d creen.area.(i.e..no.input.once.m
11c0 6f 75 73 65 20 6c 65 61 76 65 73 20 70 6c 61 79 65 72 20 77 69 6e 64 6f 77 29 0d 0a 0d 0a 6e 61 ouse.leaves.player.window)....na
11e0 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 6d 2e mespace.UnityEngine.InputSystem.
1200 4c 6f 77 4c 65 76 65 6c 0d 0a 7b 0d 0a 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0d 0a LowLevel..{......///.<summary>..
1220 20 20 20 20 2f 2f 2f 20 43 6f 6d 62 69 6e 65 20 61 20 73 69 6e 67 6c 65 20 70 6f 69 6e 74 65 72 ....///.Combine.a.single.pointer
1240 20 77 69 74 68 20 62 75 74 74 6f 6e 73 20 61 6e 64 20 61 20 73 63 72 6f 6c 6c 20 77 68 65 65 6c .with.buttons.and.a.scroll.wheel
1260 2e 0d 0a 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 2f 2f 20 49 4d .......///.</summary>......//.IM
1280 50 4f 52 54 41 4e 54 3a 20 53 74 61 74 65 20 6c 61 79 6f 75 74 20 6d 75 73 74 20 6d 61 74 63 68 PORTANT:.State.layout.must.match
12a0 20 77 69 74 68 20 4d 6f 75 73 65 49 6e 70 75 74 53 74 61 74 65 20 69 6e 20 6e 61 74 69 76 65 2e .with.MouseInputState.in.native.
12c0 0d 0a 20 20 20 20 5b 53 74 72 75 63 74 4c 61 79 6f 75 74 28 4c 61 79 6f 75 74 4b 69 6e 64 2e 45 ......[StructLayout(LayoutKind.E
12e0 78 70 6c 69 63 69 74 2c 20 53 69 7a 65 20 3d 20 33 30 29 5d 0d 0a 20 20 20 20 70 75 62 6c 69 63 xplicit,.Size.=.30)]......public
1300 20 73 74 72 75 63 74 20 4d 6f 75 73 65 53 74 61 74 65 20 3a 20 49 49 6e 70 75 74 53 74 61 74 65 .struct.MouseState.:.IInputState
1320 54 79 70 65 49 6e 66 6f 0d 0a 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 TypeInfo......{..........///.<su
1340 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 4d 65 6d 6f 72 79 20 66 6f 72 6d 61 mmary>..........///.Memory.forma
1360 74 20 69 64 65 6e 74 69 66 69 65 72 20 66 6f 72 20 4d 6f 75 73 65 53 74 61 74 65 2e 0d 0a 20 20 t.identifier.for.MouseState.....
1380 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 20 2f 2f ......///.</summary>..........//
13a0 2f 20 3c 76 61 6c 75 65 3e 52 65 74 75 72 6e 73 20 22 4d 4f 55 53 22 2e 3c 2f 76 61 6c 75 65 3e /.<value>Returns."MOUS".</value>
13c0 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 65 65 61 6c 73 6f 20 63 72 65 66 3d 22 49 6e 70 ..........///.<seealso.cref="Inp
13e0 75 74 53 74 61 74 65 42 6c 6f 63 6b 2e 66 6f 72 6d 61 74 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 utStateBlock.format"/>..........
1400 70 75 62 6c 69 63 20 73 74 61 74 69 63 20 46 6f 75 72 43 43 20 46 6f 72 6d 61 74 20 3d 3e 20 6e public.static.FourCC.Format.=>.n
1420 65 77 20 46 6f 75 72 43 43 28 27 4d 27 2c 20 27 4f 27 2c 20 27 55 27 2c 20 27 53 27 29 3b 0d 0a ew.FourCC('M',.'O',.'U',.'S');..
1440 0d 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 ..........///.<summary>.........
1460 20 2f 2f 2f 20 53 63 72 65 65 6e 2d 73 70 61 63 65 20 70 6f 73 69 74 69 6f 6e 20 6f 66 20 74 68 .///.Screen-space.position.of.th
1480 65 20 6d 6f 75 73 65 20 69 6e 20 70 69 78 65 6c 73 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 e.mouse.in.pixels...........///.
14a0 3c 2f 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 76 61 6c 75 65 3e 50 </summary>..........///.<value>P
14c0 6f 73 69 74 69 6f 6e 20 6f 66 20 6d 6f 75 73 65 20 6f 6e 20 73 63 72 65 65 6e 2e 3c 2f 76 61 6c osition.of.mouse.on.screen.</val
14e0 75 65 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 65 65 61 6c 73 6f 20 63 72 65 66 3d 22 ue>..........///.<seealso.cref="
1500 4d 6f 75 73 65 2e 70 6f 73 69 74 69 6f 6e 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 75 Mouse.position"/>..........[Inpu
1520 74 43 6f 6e 74 72 6f 6c 28 75 73 61 67 65 20 3d 20 22 50 6f 69 6e 74 22 29 5d 0d 0a 20 20 20 20 tControl(usage.=."Point")]......
1540 20 20 20 20 5b 46 69 65 6c 64 4f 66 66 73 65 74 28 30 29 5d 0d 0a 20 20 20 20 20 20 20 20 70 75 ....[FieldOffset(0)]..........pu
1560 62 6c 69 63 20 56 65 63 74 6f 72 32 20 70 6f 73 69 74 69 6f 6e 3b 0d 0a 0d 0a 20 20 20 20 20 20 blic.Vector2.position;..........
1580 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 53 63 72 ..///.<summary>..........///.Scr
15a0 65 65 6e 2d 73 70 61 63 65 20 6d 6f 74 69 6f 6e 20 64 65 6c 74 61 20 6f 66 20 74 68 65 20 6d 6f een-space.motion.delta.of.the.mo
15c0 75 73 65 20 69 6e 20 70 69 78 65 6c 73 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 use.in.pixels...........///.</su
15e0 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 76 61 6c 75 65 3e 4d 6f 75 73 65 mmary>..........///.<value>Mouse
1600 20 6d 6f 76 65 6d 65 6e 74 2e 3c 2f 76 61 6c 75 65 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 .movement.</value>..........///.
1620 3c 73 65 65 61 6c 73 6f 20 63 72 65 66 3d 22 4d 6f 75 73 65 2e 64 65 6c 74 61 22 2f 3e 0d 0a 20 <seealso.cref="Mouse.delta"/>...
1640 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 28 75 73 61 67 65 20 3d 20 22 53 65 .......[InputControl(usage.=."Se
1660 63 6f 6e 64 61 72 79 32 44 4d 6f 74 69 6f 6e 22 29 5d 0d 0a 20 20 20 20 20 20 20 20 5b 46 69 65 condary2DMotion")]..........[Fie
1680 6c 64 4f 66 66 73 65 74 28 38 29 5d 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 56 65 63 ldOffset(8)]..........public.Vec
16a0 74 6f 72 32 20 64 65 6c 74 61 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 2f 52 45 56 49 45 tor2.delta;............////REVIE
16c0 57 3a 20 68 61 76 65 20 68 61 6c 66 2d 61 78 69 73 20 62 75 74 74 6f 6e 73 20 6f 6e 20 74 68 65 W:.have.half-axis.buttons.on.the
16e0 20 73 63 72 6f 6c 6c 20 61 78 65 73 3f 20 28 75 70 2c 20 64 6f 77 6e 2c 20 6c 65 66 74 2c 20 72 .scroll.axes?.(up,.down,.left,.r
1700 69 67 68 74 29 0d 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 ight)..........///.<summary>....
1720 20 20 20 20 20 20 2f 2f 2f 20 53 63 72 6f 6c 6c 2d 77 68 65 65 6c 20 64 65 6c 74 61 20 6f 66 20 ......///.Scroll-wheel.delta.of.
1740 74 68 65 20 6d 6f 75 73 65 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 the.mouse...........///.</summar
1760 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 76 61 6c 75 65 3e 53 63 72 6f 6c 6c 20 77 68 y>..........///.<value>Scroll.wh
1780 65 65 6c 20 64 65 6c 74 61 2e 3c 2f 76 61 6c 75 65 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 eel.delta.</value>..........///.
17a0 3c 73 65 65 61 6c 73 6f 20 63 72 65 66 3d 22 4d 6f 75 73 65 2e 73 63 72 6f 6c 6c 22 2f 3e 0d 0a <seealso.cref="Mouse.scroll"/>..
17c0 20 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 28 64 69 73 70 6c 61 79 4e 61 6d ........[InputControl(displayNam
17e0 65 20 3d 20 22 53 63 72 6f 6c 6c 22 29 5d 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f e.=."Scroll")]..........[InputCo
1800 6e 74 72 6f 6c 28 6e 61 6d 65 20 3d 20 22 73 63 72 6f 6c 6c 2f 78 22 2c 20 61 6c 69 61 73 65 73 ntrol(name.=."scroll/x",.aliases
1820 20 3d 20 6e 65 77 5b 5d 20 7b 20 22 68 6f 72 69 7a 6f 6e 74 61 6c 22 20 7d 2c 20 75 73 61 67 65 .=.new[].{."horizontal".},.usage
1840 20 3d 20 22 53 63 72 6f 6c 6c 48 6f 72 69 7a 6f 6e 74 61 6c 22 2c 20 64 69 73 70 6c 61 79 4e 61 .=."ScrollHorizontal",.displayNa
1860 6d 65 20 3d 20 22 4c 65 66 74 2f 52 69 67 68 74 22 29 5d 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e me.=."Left/Right")]..........[In
1880 70 75 74 43 6f 6e 74 72 6f 6c 28 6e 61 6d 65 20 3d 20 22 73 63 72 6f 6c 6c 2f 79 22 2c 20 61 6c putControl(name.=."scroll/y",.al
18a0 69 61 73 65 73 20 3d 20 6e 65 77 5b 5d 20 7b 20 22 76 65 72 74 69 63 61 6c 22 20 7d 2c 20 75 73 iases.=.new[].{."vertical".},.us
18c0 61 67 65 20 3d 20 22 53 63 72 6f 6c 6c 56 65 72 74 69 63 61 6c 22 2c 20 64 69 73 70 6c 61 79 4e age.=."ScrollVertical",.displayN
18e0 61 6d 65 20 3d 20 22 55 70 2f 44 6f 77 6e 22 2c 20 73 68 6f 72 74 44 69 73 70 6c 61 79 4e 61 6d ame.=."Up/Down",.shortDisplayNam
1900 65 20 3d 20 22 57 68 65 65 6c 22 29 5d 0d 0a 20 20 20 20 20 20 20 20 5b 46 69 65 6c 64 4f 66 66 e.=."Wheel")]..........[FieldOff
1920 73 65 74 28 31 36 29 5d 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 56 65 63 74 6f 72 32 set(16)]..........public.Vector2
1940 20 73 63 72 6f 6c 6c 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 .scroll;............///.<summary
1960 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 42 75 74 74 6f 6e 20 6d 61 73 6b 20 66 6f 72 20 77 >..........///.Button.mask.for.w
1980 68 69 63 68 20 62 75 74 74 6f 6e 73 20 6f 6e 20 74 68 65 20 6d 6f 75 73 65 20 61 72 65 20 63 75 hich.buttons.on.the.mouse.are.cu
19a0 72 72 65 6e 74 6c 79 20 70 72 65 73 73 65 64 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f rrently.pressed...........///.</
19c0 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 76 61 6c 75 65 3e 42 75 74 summary>..........///.<value>But
19e0 74 6f 6e 20 73 74 61 74 65 20 6d 61 73 6b 2e 3c 2f 76 61 6c 75 65 3e 0d 0a 20 20 20 20 20 20 20 ton.state.mask.</value>.........
1a00 20 2f 2f 2f 20 3c 73 65 65 61 6c 73 6f 20 63 72 65 66 3d 22 4d 6f 75 73 65 42 75 74 74 6f 6e 22 .///.<seealso.cref="MouseButton"
1a20 2f 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 65 65 61 6c 73 6f 20 63 72 65 66 3d 22 4d />..........///.<seealso.cref="M
1a40 6f 75 73 65 2e 6c 65 66 74 42 75 74 74 6f 6e 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 ouse.leftButton"/>..........///.
1a60 3c 73 65 65 61 6c 73 6f 20 63 72 65 66 3d 22 4d 6f 75 73 65 2e 6d 69 64 64 6c 65 42 75 74 74 6f <seealso.cref="Mouse.middleButto
1a80 6e 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 65 65 61 6c 73 6f 20 63 72 65 66 3d n"/>..........///.<seealso.cref=
1aa0 22 4d 6f 75 73 65 2e 72 69 67 68 74 42 75 74 74 6f 6e 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 2f "Mouse.rightButton"/>........../
1ac0 2f 2f 20 3c 73 65 65 61 6c 73 6f 20 63 72 65 66 3d 22 4d 6f 75 73 65 2e 66 6f 72 77 61 72 64 42 //.<seealso.cref="Mouse.forwardB
1ae0 75 74 74 6f 6e 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 65 65 61 6c 73 6f 20 63 utton"/>..........///.<seealso.c
1b00 72 65 66 3d 22 4d 6f 75 73 65 2e 62 61 63 6b 42 75 74 74 6f 6e 22 2f 3e 0d 0a 20 20 20 20 20 20 ref="Mouse.backButton"/>........
1b20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 28 6e 61 6d 65 20 3d 20 22 70 72 65 73 73 22 2c 20 ..[InputControl(name.=."press",.
1b40 75 73 65 53 74 61 74 65 46 72 6f 6d 20 3d 20 22 6c 65 66 74 42 75 74 74 6f 6e 22 2c 20 73 79 6e useStateFrom.=."leftButton",.syn
1b60 74 68 65 74 69 63 20 3d 20 74 72 75 65 2c 20 75 73 61 67 65 73 20 3d 20 6e 65 77 20 73 74 72 69 thetic.=.true,.usages.=.new.stri
1b80 6e 67 5b 30 5d 29 5d 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 28 6e ng[0])]..........[InputControl(n
1ba0 61 6d 65 20 3d 20 22 6c 65 66 74 42 75 74 74 6f 6e 22 2c 20 6c 61 79 6f 75 74 20 3d 20 22 42 75 ame.=."leftButton",.layout.=."Bu
1bc0 74 74 6f 6e 22 2c 20 62 69 74 20 3d 20 28 69 6e 74 29 4d 6f 75 73 65 42 75 74 74 6f 6e 2e 4c 65 tton",.bit.=.(int)MouseButton.Le
1be0 66 74 2c 20 75 73 61 67 65 20 3d 20 22 50 72 69 6d 61 72 79 41 63 74 69 6f 6e 22 2c 20 64 69 73 ft,.usage.=."PrimaryAction",.dis
1c00 70 6c 61 79 4e 61 6d 65 20 3d 20 22 4c 65 66 74 20 42 75 74 74 6f 6e 22 2c 20 73 68 6f 72 74 44 playName.=."Left.Button",.shortD
1c20 69 73 70 6c 61 79 4e 61 6d 65 20 3d 20 22 4c 4d 42 22 29 5d 0d 0a 20 20 20 20 20 20 20 20 5b 49 isplayName.=."LMB")]..........[I
1c40 6e 70 75 74 43 6f 6e 74 72 6f 6c 28 6e 61 6d 65 20 3d 20 22 72 69 67 68 74 42 75 74 74 6f 6e 22 nputControl(name.=."rightButton"
1c60 2c 20 6c 61 79 6f 75 74 20 3d 20 22 42 75 74 74 6f 6e 22 2c 20 62 69 74 20 3d 20 28 69 6e 74 29 ,.layout.=."Button",.bit.=.(int)
1c80 4d 6f 75 73 65 42 75 74 74 6f 6e 2e 52 69 67 68 74 2c 20 75 73 61 67 65 20 3d 20 22 53 65 63 6f MouseButton.Right,.usage.=."Seco
1ca0 6e 64 61 72 79 41 63 74 69 6f 6e 22 2c 20 64 69 73 70 6c 61 79 4e 61 6d 65 20 3d 20 22 52 69 67 ndaryAction",.displayName.=."Rig
1cc0 68 74 20 42 75 74 74 6f 6e 22 2c 20 73 68 6f 72 74 44 69 73 70 6c 61 79 4e 61 6d 65 20 3d 20 22 ht.Button",.shortDisplayName.=."
1ce0 52 4d 42 22 29 5d 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 28 6e 61 RMB")]..........[InputControl(na
1d00 6d 65 20 3d 20 22 6d 69 64 64 6c 65 42 75 74 74 6f 6e 22 2c 20 6c 61 79 6f 75 74 20 3d 20 22 42 me.=."middleButton",.layout.=."B
1d20 75 74 74 6f 6e 22 2c 20 62 69 74 20 3d 20 28 69 6e 74 29 4d 6f 75 73 65 42 75 74 74 6f 6e 2e 4d utton",.bit.=.(int)MouseButton.M
1d40 69 64 64 6c 65 2c 20 64 69 73 70 6c 61 79 4e 61 6d 65 20 3d 20 22 4d 69 64 64 6c 65 20 42 75 74 iddle,.displayName.=."Middle.But
1d60 74 6f 6e 22 2c 20 73 68 6f 72 74 44 69 73 70 6c 61 79 4e 61 6d 65 20 3d 20 22 4d 4d 42 22 29 5d ton",.shortDisplayName.=."MMB")]
1d80 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 28 6e 61 6d 65 20 3d 20 22 ..........[InputControl(name.=."
1da0 66 6f 72 77 61 72 64 42 75 74 74 6f 6e 22 2c 20 6c 61 79 6f 75 74 20 3d 20 22 42 75 74 74 6f 6e forwardButton",.layout.=."Button
1dc0 22 2c 20 62 69 74 20 3d 20 28 69 6e 74 29 4d 6f 75 73 65 42 75 74 74 6f 6e 2e 46 6f 72 77 61 72 ",.bit.=.(int)MouseButton.Forwar
1de0 64 2c 20 75 73 61 67 65 20 3d 20 22 46 6f 72 77 61 72 64 22 2c 20 64 69 73 70 6c 61 79 4e 61 6d d,.usage.=."Forward",.displayNam
1e00 65 20 3d 20 22 46 6f 72 77 61 72 64 22 29 5d 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 e.=."Forward")]..........[InputC
1e20 6f 6e 74 72 6f 6c 28 6e 61 6d 65 20 3d 20 22 62 61 63 6b 42 75 74 74 6f 6e 22 2c 20 6c 61 79 6f ontrol(name.=."backButton",.layo
1e40 75 74 20 3d 20 22 42 75 74 74 6f 6e 22 2c 20 62 69 74 20 3d 20 28 69 6e 74 29 4d 6f 75 73 65 42 ut.=."Button",.bit.=.(int)MouseB
1e60 75 74 74 6f 6e 2e 42 61 63 6b 2c 20 75 73 61 67 65 20 3d 20 22 42 61 63 6b 22 2c 20 64 69 73 70 utton.Back,.usage.=."Back",.disp
1e80 6c 61 79 4e 61 6d 65 20 3d 20 22 42 61 63 6b 22 29 5d 0d 0a 20 20 20 20 20 20 20 20 5b 46 69 65 layName.=."Back")]..........[Fie
1ea0 6c 64 4f 66 66 73 65 74 28 32 34 29 5d 0d 0a 20 20 20 20 20 20 20 20 2f 2f 20 22 50 61 72 6b 22 ldOffset(24)]..........//."Park"
1ec0 20 61 6c 6c 20 74 68 65 20 63 6f 6e 74 72 6f 6c 73 20 74 68 61 74 20 61 72 65 20 63 6f 6d 6d 6f .all.the.controls.that.are.commo
1ee0 6e 20 74 6f 20 70 6f 69 6e 74 65 72 73 20 62 75 74 20 61 72 65 6e 27 74 20 75 73 65 20 66 6f 72 n.to.pointers.but.aren't.use.for
1f00 20 6d 69 63 65 20 73 75 63 68 20 74 68 61 74 20 74 68 65 79 20 67 65 74 0d 0a 20 20 20 20 20 20 .mice.such.that.they.get........
1f20 20 20 2f 2f 20 61 70 70 65 6e 64 65 64 20 74 6f 20 74 68 65 20 65 6e 64 20 6f 66 20 64 65 76 69 ..//.appended.to.the.end.of.devi
1f40 63 65 20 73 74 61 74 65 20 77 68 65 72 65 20 74 68 65 79 20 77 69 6c 6c 20 61 6c 77 61 79 73 20 ce.state.where.they.will.always.
1f60 68 61 76 65 20 64 65 66 61 75 6c 74 20 76 61 6c 75 65 73 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f have.default.values...........//
1f80 2f 2f 46 49 58 4d 45 3a 20 49 6e 70 75 74 44 65 76 69 63 65 42 75 69 6c 64 65 72 20 77 69 6c 6c //FIXME:.InputDeviceBuilder.will
1fa0 20 67 65 74 20 66 6f 6f 6c 65 64 20 61 6e 64 20 73 65 74 20 75 70 20 61 6e 20 69 6e 63 6f 72 72 .get.fooled.and.set.up.an.incorr
1fc0 65 63 74 20 73 74 61 74 65 20 6c 61 79 6f 75 74 20 69 66 20 77 65 20 64 6f 6e 27 74 20 66 6f 72 ect.state.layout.if.we.don't.for
1fe0 63 65 20 74 68 69 73 20 74 6f 20 56 45 43 32 3b 20 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 4c 61 79 ce.this.to.VEC2;.InputControlLay
2000 6f 75 74 20 77 69 6c 6c 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 2f 20 20 20 20 20 20 20 22 69 6e out.will..........////......."in
2020 66 65 72 22 20 55 53 48 54 20 61 73 20 74 68 65 20 66 6f 72 6d 61 74 20 77 68 69 63 68 20 77 69 fer".USHT.as.the.format.which.wi
2040 6c 6c 20 74 68 65 6e 20 65 6e 64 20 75 70 20 77 69 74 68 20 61 20 6c 61 79 6f 75 74 20 77 68 65 ll.then.end.up.with.a.layout.whe
2060 72 65 20 74 77 6f 20 34 20 62 79 74 65 20 66 6c 6f 61 74 20 63 6f 6e 74 72 6f 6c 73 20 61 72 65 re.two.4.byte.float.controls.are
2080 20 22 70 61 63 6b 65 64 22 20 69 6e 74 6f 20 61 20 31 36 62 69 74 20 73 69 7a 65 64 20 70 61 72 ."packed".into.a.16bit.sized.par
20a0 65 6e 74 3b 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 2f 20 20 20 20 20 20 20 69 6e 20 6f 74 68 65 ent;..........////.......in.othe
20c0 72 20 77 6f 72 64 73 2c 20 73 65 74 74 69 6e 67 20 56 45 43 32 20 68 65 72 65 20 6d 61 6e 75 61 r.words,.setting.VEC2.here.manua
20e0 6c 6c 79 20 73 68 6f 75 6c 64 20 2a 6e 6f 74 2a 20 62 65 20 6e 65 63 65 73 73 61 72 79 0d 0a 20 lly.should.*not*.be.necessary...
2100 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 28 6e 61 6d 65 20 3d 20 22 70 72 65 .......[InputControl(name.=."pre
2120 73 73 75 72 65 22 2c 20 6c 61 79 6f 75 74 20 3d 20 22 41 78 69 73 22 2c 20 75 73 61 67 65 20 3d ssure",.layout.=."Axis",.usage.=
2140 20 22 50 72 65 73 73 75 72 65 22 2c 20 6f 66 66 73 65 74 20 3d 20 49 6e 70 75 74 53 74 61 74 65 ."Pressure",.offset.=.InputState
2160 42 6c 6f 63 6b 2e 41 75 74 6f 6d 61 74 69 63 4f 66 66 73 65 74 2c 20 66 6f 72 6d 61 74 20 3d 20 Block.AutomaticOffset,.format.=.
2180 22 46 4c 54 22 2c 20 73 69 7a 65 49 6e 42 69 74 73 20 3d 20 33 32 29 5d 0d 0a 20 20 20 20 20 20 "FLT",.sizeInBits.=.32)]........
21a0 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 28 6e 61 6d 65 20 3d 20 22 72 61 64 69 75 73 22 2c ..[InputControl(name.=."radius",
21c0 20 6c 61 79 6f 75 74 20 3d 20 22 56 65 63 74 6f 72 32 22 2c 20 75 73 61 67 65 20 3d 20 22 52 61 .layout.=."Vector2",.usage.=."Ra
21e0 64 69 75 73 22 2c 20 6f 66 66 73 65 74 20 3d 20 49 6e 70 75 74 53 74 61 74 65 42 6c 6f 63 6b 2e dius",.offset.=.InputStateBlock.
2200 41 75 74 6f 6d 61 74 69 63 4f 66 66 73 65 74 2c 20 66 6f 72 6d 61 74 20 3d 20 22 56 45 43 32 22 AutomaticOffset,.format.=."VEC2"
2220 2c 20 73 69 7a 65 49 6e 42 69 74 73 20 3d 20 36 34 29 5d 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e ,.sizeInBits.=.64)]..........[In
2240 70 75 74 43 6f 6e 74 72 6f 6c 28 6e 61 6d 65 20 3d 20 22 70 6f 69 6e 74 65 72 49 64 22 2c 20 6c putControl(name.=."pointerId",.l
2260 61 79 6f 75 74 20 3d 20 22 44 69 67 69 74 61 6c 22 2c 20 66 6f 72 6d 61 74 20 3d 20 22 42 49 54 ayout.=."Digital",.format.=."BIT
2280 22 2c 20 73 69 7a 65 49 6e 42 69 74 73 20 3d 20 31 2c 20 6f 66 66 73 65 74 20 3d 20 49 6e 70 75 ",.sizeInBits.=.1,.offset.=.Inpu
22a0 74 53 74 61 74 65 42 6c 6f 63 6b 2e 41 75 74 6f 6d 61 74 69 63 4f 66 66 73 65 74 29 5d 20 2f 2f tStateBlock.AutomaticOffset)].//
22c0 20 57 69 6c 6c 20 73 74 61 79 20 61 74 20 30 2e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 .Will.stay.at.0...........public
22e0 20 75 73 68 6f 72 74 20 62 75 74 74 6f 6e 73 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 2f 2f 20 4e .ushort.buttons;............//.N
2300 6f 74 20 63 75 72 72 65 6e 74 6c 79 20 75 73 65 64 2c 20 62 75 74 20 73 74 69 6c 6c 20 6e 65 65 ot.currently.used,.but.still.nee
2320 64 65 64 20 69 6e 20 74 68 69 73 20 73 74 72 75 63 74 20 66 6f 72 20 70 61 64 64 69 6e 67 2c 0d ded.in.this.struct.for.padding,.
2340 0a 20 20 20 20 20 20 20 20 2f 2f 20 61 73 20 69 6c 32 63 70 70 20 64 6f 65 73 20 6e 6f 74 20 69 .........//.as.il2cpp.does.not.i
2360 6d 70 6c 65 6d 65 6e 74 20 46 69 65 6c 64 4f 66 66 73 65 74 2e 0d 0a 20 20 20 20 20 20 20 20 5b mplement.FieldOffset...........[
2380 46 69 65 6c 64 4f 66 66 73 65 74 28 32 36 29 5d 0d 0a 20 20 20 20 20 20 20 20 75 73 68 6f 72 74 FieldOffset(26)]..........ushort
23a0 20 64 69 73 70 6c 61 79 49 6e 64 65 78 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 .displayIndex;............///.<s
23c0 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 4e 75 6d 62 65 72 20 6f 66 20 63 ummary>..........///.Number.of.c
23e0 6c 69 63 6b 73 20 70 65 72 66 6f 72 6d 65 64 20 69 6e 20 73 75 63 63 65 73 73 69 6f 6e 2e 0d 0a licks.performed.in.succession...
2400 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 20 ........///.</summary>..........
2420 2f 2f 2f 20 3c 76 61 6c 75 65 3e 53 75 63 63 65 73 73 69 76 65 20 63 6c 69 63 6b 20 63 6f 75 6e ///.<value>Successive.click.coun
2440 74 2e 3c 2f 76 61 6c 75 65 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 65 65 61 6c 73 6f t.</value>..........///.<seealso
2460 20 63 72 65 66 3d 22 4d 6f 75 73 65 2e 63 6c 69 63 6b 43 6f 75 6e 74 22 2f 3e 0d 0a 20 20 20 20 .cref="Mouse.clickCount"/>......
2480 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 28 6c 61 79 6f 75 74 20 3d 20 22 49 6e 74 65 ....[InputControl(layout.=."Inte
24a0 67 65 72 22 2c 20 64 69 73 70 6c 61 79 4e 61 6d 65 20 3d 20 22 43 6c 69 63 6b 20 43 6f 75 6e 74 ger",.displayName.=."Click.Count
24c0 22 2c 20 73 79 6e 74 68 65 74 69 63 20 3d 20 74 72 75 65 29 5d 0d 0a 20 20 20 20 20 20 20 20 5b ",.synthetic.=.true)]..........[
24e0 46 69 65 6c 64 4f 66 66 73 65 74 28 32 38 29 5d 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 FieldOffset(28)]..........public
2500 20 75 73 68 6f 72 74 20 63 6c 69 63 6b 43 6f 75 6e 74 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 2f .ushort.clickCount;............/
2520 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 53 65 74 20 74 68 //.<summary>..........///.Set.th
2540 65 20 62 75 74 74 6f 6e 20 6d 61 73 6b 20 66 6f 72 20 74 68 65 20 67 69 76 65 6e 20 62 75 74 74 e.button.mask.for.the.given.butt
2560 6f 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 0a 20 20 20 on...........///.</summary>.....
2580 20 20 20 20 20 2f 2f 2f 20 3c 70 61 72 61 6d 20 6e 61 6d 65 3d 22 62 75 74 74 6f 6e 22 3e 42 75 .....///.<param.name="button">Bu
25a0 74 74 6f 6e 20 77 68 6f 73 65 20 73 74 61 74 65 20 74 6f 20 73 65 74 2e 3c 2f 70 61 72 61 6d 3e tton.whose.state.to.set.</param>
25c0 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 70 61 72 61 6d 20 6e 61 6d 65 3d 22 73 74 61 74 65 ..........///.<param.name="state
25e0 22 3e 57 68 65 74 68 65 72 20 74 6f 20 73 65 74 20 74 68 65 20 62 69 74 20 6f 6e 20 6f 72 20 6f ">Whether.to.set.the.bit.on.or.o
2600 66 66 2e 3c 2f 70 61 72 61 6d 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 72 65 74 75 72 6e ff.</param>..........///.<return
2620 73 3e 54 68 65 20 73 61 6d 65 20 4d 6f 75 73 65 53 74 61 74 65 20 77 69 74 68 20 74 68 65 20 63 s>The.same.MouseState.with.the.c
2640 68 61 6e 67 65 20 61 70 70 6c 69 65 64 2e 3c 2f 72 65 74 75 72 6e 73 3e 0d 0a 20 20 20 20 20 20 hange.applied.</returns>........
2660 20 20 2f 2f 2f 20 3c 73 65 65 61 6c 73 6f 20 63 72 65 66 3d 22 62 75 74 74 6f 6e 73 22 2f 3e 0d ..///.<seealso.cref="buttons"/>.
2680 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 4d 6f 75 73 65 53 74 61 74 65 20 57 69 74 68 42 .........public.MouseState.WithB
26a0 75 74 74 6f 6e 28 4d 6f 75 73 65 42 75 74 74 6f 6e 20 62 75 74 74 6f 6e 2c 20 62 6f 6f 6c 20 73 utton(MouseButton.button,.bool.s
26c0 74 61 74 65 20 3d 20 74 72 75 65 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 tate.=.true)..........{.........
26e0 20 20 20 20 20 76 61 72 20 62 69 74 20 3d 20 31 20 3c 3c 20 28 69 6e 74 29 62 75 74 74 6f 6e 3b .....var.bit.=.1.<<.(int)button;
2700 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 73 74 61 74 65 29 0d 0a 20 20 20 20 20 20 ..............if.(state)........
2720 20 20 20 20 20 20 20 20 20 20 62 75 74 74 6f 6e 73 20 7c 3d 20 28 75 73 68 6f 72 74 29 62 69 74 ..........buttons.|=.(ushort)bit
2740 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 0d 0a 20 20 20 20 20 20 20 20 20 20 20 ;..............else.............
2760 20 20 20 20 20 62 75 74 74 6f 6e 73 20 26 3d 20 28 75 73 68 6f 72 74 29 7e 62 69 74 3b 0d 0a 20 .....buttons.&=.(ushort)~bit;...
2780 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 74 68 69 73 3b 0d 0a 20 20 20 20 20 20 20 ...........return.this;.........
27a0 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 3e 0d 0a 20 20 20 .}............///.<summary>.....
27c0 20 20 20 20 20 2f 2f 2f 20 52 65 74 75 72 6e 73 20 3c 73 65 65 20 63 72 65 66 3d 22 46 6f 72 6d .....///.Returns.<see.cref="Form
27e0 61 74 22 2f 3e 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 at"/>...........///.</summary>..
2800 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 65 65 61 6c 73 6f 20 63 72 65 66 3d 22 49 6e 70 75 74 ........///.<seealso.cref="Input
2820 53 74 61 74 65 42 6c 6f 63 6b 2e 66 6f 72 6d 61 74 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 StateBlock.format"/>..........pu
2840 62 6c 69 63 20 46 6f 75 72 43 43 20 66 6f 72 6d 61 74 20 3d 3e 20 46 6f 72 6d 61 74 3b 0d 0a 20 blic.FourCC.format.=>.Format;...
2860 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 2f ...}........///.<summary>....../
2880 2f 2f 20 42 75 74 74 6f 6e 20 69 6e 64 69 63 65 73 20 66 6f 72 20 3c 73 65 65 20 63 72 65 66 3d //.Button.indices.for.<see.cref=
28a0 22 4d 6f 75 73 65 53 74 61 74 65 2e 62 75 74 74 6f 6e 73 22 2f 3e 2e 0d 0a 20 20 20 20 2f 2f 2f "MouseState.buttons"/>.......///
28c0 20 3c 2f 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 70 75 62 6c 69 63 20 65 6e 75 6d 20 4d 6f 75 .</summary>......public.enum.Mou
28e0 73 65 42 75 74 74 6f 6e 0d 0a 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 seButton......{..........///.<su
2900 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 4c 65 66 74 20 6d 6f 75 73 65 20 62 mmary>..........///.Left.mouse.b
2920 75 74 74 6f 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 0a utton...........///.</summary>..
2940 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 65 65 61 6c 73 6f 20 63 72 65 66 3d 22 4d 6f 75 73 65 ........///.<seealso.cref="Mouse
2960 2e 6c 65 66 74 42 75 74 74 6f 6e 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 4c 65 66 74 2c 0d 0a 0d .leftButton"/>..........Left,...
2980 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>..........
29a0 2f 2f 2f 20 52 69 67 68 74 20 6d 6f 75 73 65 20 62 75 74 74 6f 6e 2e 0d 0a 20 20 20 20 20 20 20 ///.Right.mouse.button..........
29c0 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 65 .///.</summary>..........///.<se
29e0 65 61 6c 73 6f 20 63 72 65 66 3d 22 4d 6f 75 73 65 2e 72 69 67 68 74 42 75 74 74 6f 6e 22 2f 3e ealso.cref="Mouse.rightButton"/>
2a00 0d 0a 20 20 20 20 20 20 20 20 52 69 67 68 74 2c 0d 0a 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 ..........Right,............///.
2a20 3c 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 4d 69 64 64 6c 65 20 6d 6f <summary>..........///.Middle.mo
2a40 75 73 65 20 62 75 74 74 6f 6e 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 use.button...........///.</summa
2a60 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 65 65 61 6c 73 6f 20 63 72 65 66 3d 22 ry>..........///.<seealso.cref="
2a80 4d 6f 75 73 65 2e 6d 69 64 64 6c 65 42 75 74 74 6f 6e 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 4d Mouse.middleButton"/>..........M
2aa0 69 64 64 6c 65 2c 0d 0a 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0d iddle,............///.<summary>.
2ac0 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 53 65 63 6f 6e 64 20 73 69 64 65 20 62 75 74 74 6f 6e 2e .........///.Second.side.button.
2ae0 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 20 ..........///.</summary>........
2b00 20 20 2f 2f 2f 20 3c 73 65 65 61 6c 73 6f 20 63 72 65 66 3d 22 4d 6f 75 73 65 2e 66 6f 72 77 61 ..///.<seealso.cref="Mouse.forwa
2b20 72 64 42 75 74 74 6f 6e 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 46 6f 72 77 61 72 64 2c 0d 0a 0d rdButton"/>..........Forward,...
2b40 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>..........
2b60 2f 2f 2f 20 46 69 72 73 74 20 73 69 64 65 20 62 75 74 74 6f 6e 2e 0d 0a 20 20 20 20 20 20 20 20 ///.First.side.button...........
2b80 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 65 65 ///.</summary>..........///.<see
2ba0 61 6c 73 6f 20 63 72 65 66 3d 22 4d 6f 75 73 65 2e 62 61 63 6b 42 75 74 74 6f 6e 22 2f 3e 0d 0a also.cref="Mouse.backButton"/>..
2bc0 20 20 20 20 20 20 20 20 42 61 63 6b 0d 0a 20 20 20 20 7d 0d 0a 7d 0d 0a 0d 0a 6e 61 6d 65 73 70 ........Back......}..}....namesp
2be0 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 6d 0d 0a 7b 0d 0a ace.UnityEngine.InputSystem..{..
2c00 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 2f 2f 2f 20 41 6e 20 69 6e ....///.<summary>......///.An.in
2c20 70 75 74 20 64 65 76 69 63 65 20 72 65 70 72 65 73 65 6e 74 69 6e 67 20 61 20 6d 6f 75 73 65 2e put.device.representing.a.mouse.
2c40 0d 0a 20 20 20 20 2f 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 ......///.</summary>......///.<r
2c60 65 6d 61 72 6b 73 3e 0d 0a 20 20 20 20 2f 2f 2f 20 41 64 64 73 20 61 20 73 63 72 6f 6c 6c 20 77 emarks>......///.Adds.a.scroll.w
2c80 68 65 65 6c 20 61 6e 64 20 61 20 74 79 70 69 63 61 6c 20 33 2d 62 75 74 74 6f 6e 20 73 65 74 75 heel.and.a.typical.3-button.setu
2ca0 70 20 77 69 74 68 20 61 20 6c 65 66 74 2c 20 6d 69 64 64 6c 65 2c 20 61 6e 64 20 72 69 67 68 74 p.with.a.left,.middle,.and.right
2cc0 0d 0a 20 20 20 20 2f 2f 2f 20 62 75 74 74 6f 6e 2e 0d 0a 20 20 20 20 2f 2f 2f 0d 0a 20 20 20 20 ......///.button.......///......
2ce0 2f 2f 2f 20 54 6f 20 63 6f 6e 74 72 6f 6c 20 63 75 72 73 6f 72 20 64 69 73 70 6c 61 79 20 61 6e ///.To.control.cursor.display.an
2d00 64 20 62 65 68 61 76 69 6f 72 2c 20 75 73 65 20 3c 73 65 65 20 63 72 65 66 3d 22 55 6e 69 74 79 d.behavior,.use.<see.cref="Unity
2d20 45 6e 67 69 6e 65 2e 43 75 72 73 6f 72 22 2f 3e 2e 0d 0a 20 20 20 20 2f 2f 2f 20 3c 2f 72 65 6d Engine.Cursor"/>.......///.</rem
2d40 61 72 6b 73 3e 0d 0a 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 4c 61 79 6f 75 74 28 73 arks>......[InputControlLayout(s
2d60 74 61 74 65 54 79 70 65 20 3d 20 74 79 70 65 6f 66 28 4d 6f 75 73 65 53 74 61 74 65 29 2c 20 69 tateType.=.typeof(MouseState),.i
2d80 73 47 65 6e 65 72 69 63 54 79 70 65 4f 66 44 65 76 69 63 65 20 3d 20 74 72 75 65 29 5d 0d 0a 20 sGenericTypeOfDevice.=.true)]...
2da0 20 20 20 5b 53 63 72 69 70 74 69 6e 67 2e 50 72 65 73 65 72 76 65 5d 0d 0a 20 20 20 20 70 75 62 ...[Scripting.Preserve]......pub
2dc0 6c 69 63 20 63 6c 61 73 73 20 4d 6f 75 73 65 20 3a 20 50 6f 69 6e 74 65 72 2c 20 49 49 6e 70 75 lic.class.Mouse.:.Pointer,.IInpu
2de0 74 53 74 61 74 65 43 61 6c 6c 62 61 63 6b 52 65 63 65 69 76 65 72 0d 0a 20 20 20 20 7b 0d 0a 20 tStateCallbackReceiver......{...
2e00 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 2f 2f .......///.<summary>..........//
2e20 2f 20 54 68 65 20 68 6f 72 69 7a 6f 6e 74 61 6c 20 61 6e 64 20 76 65 72 74 69 63 61 6c 20 73 63 /.The.horizontal.and.vertical.sc
2e40 72 6f 6c 6c 20 77 68 65 65 6c 73 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d roll.wheels...........///.</summ
2e60 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 76 61 6c 75 65 3e 43 6f 6e 74 72 6f 6c ary>..........///.<value>Control
2e80 20 72 65 70 72 65 73 65 6e 74 69 6e 67 20 74 68 65 20 6d 6f 75 73 65 20 73 63 72 6f 6c 6c 20 77 .representing.the.mouse.scroll.w
2ea0 68 65 65 6c 73 2e 3c 2f 76 61 6c 75 65 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 72 65 6d heels.</value>..........///.<rem
2ec0 61 72 6b 73 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 54 68 65 20 3c 63 3e 78 3c 2f 63 3e 20 arks>..........///.The.<c>x</c>.
2ee0 63 6f 6d 70 6f 6e 65 6e 74 20 63 6f 72 72 65 73 70 6f 6e 64 73 20 74 6f 20 74 68 65 20 68 6f 72 component.corresponds.to.the.hor
2f00 69 7a 6f 6e 74 61 6c 20 73 63 72 6f 6c 6c 20 77 68 65 65 6c 2c 20 74 68 65 0d 0a 20 20 20 20 20 izontal.scroll.wheel,.the.......
2f20 20 20 20 2f 2f 2f 20 3c 63 3e 79 3c 2f 63 3e 20 63 6f 6d 70 6f 6e 65 6e 74 20 74 6f 20 74 68 65 ...///.<c>y</c>.component.to.the
2f40 20 76 65 72 74 69 63 61 6c 20 73 63 72 6f 6c 6c 20 77 68 65 65 6c 2e 20 4d 6f 73 74 20 6d 69 63 .vertical.scroll.wheel..Most.mic
2f60 65 20 64 6f 20 6e 6f 74 20 68 61 76 65 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 68 6f 72 69 7a e.do.not.have..........///.horiz
2f80 6f 6e 74 61 6c 20 73 63 72 6f 6c 6c 20 77 68 65 65 6c 73 20 61 6e 64 20 77 69 6c 6c 20 74 68 75 ontal.scroll.wheels.and.will.thu
2fa0 73 20 6f 6e 6c 79 20 73 65 65 20 61 63 74 69 76 69 74 79 20 6f 6e 20 3c 63 3e 79 3c 2f 63 3e 2e s.only.see.activity.on.<c>y</c>.
2fc0 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 72 65 6d 61 72 6b 73 3e 0d 0a 20 20 20 20 20 20 ..........///.</remarks>........
2fe0 20 20 70 75 62 6c 69 63 20 56 65 63 74 6f 72 32 43 6f 6e 74 72 6f 6c 20 73 63 72 6f 6c 6c 20 7b ..public.Vector2Control.scroll.{
3000 20 67 65 74 3b 20 70 72 69 76 61 74 65 20 73 65 74 3b 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 .get;.private.set;.}............
3020 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 6c ///.<summary>..........///.The.l
3040 65 66 74 20 6d 6f 75 73 65 20 62 75 74 74 6f 6e 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c eft.mouse.button...........///.<
3060 2f 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 76 61 6c 75 65 3e 43 6f /summary>..........///.<value>Co
3080 6e 74 72 6f 6c 20 72 65 70 72 65 73 65 6e 74 69 6e 67 20 74 68 65 20 6c 65 66 74 20 6d 6f 75 73 ntrol.representing.the.left.mous
30a0 65 20 62 75 74 74 6f 6e 2e 3c 2f 76 61 6c 75 65 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 e.button.</value>..........publi
30c0 63 20 42 75 74 74 6f 6e 43 6f 6e 74 72 6f 6c 20 6c 65 66 74 42 75 74 74 6f 6e 20 7b 20 67 65 74 c.ButtonControl.leftButton.{.get
30e0 3b 20 70 72 69 76 61 74 65 20 73 65 74 3b 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 ;.private.set;.}............///.
3100 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 6d 69 64 64 6c <summary>..........///.The.middl
3120 65 20 6d 6f 75 73 65 20 62 75 74 74 6f 6e 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 e.mouse.button...........///.</s
3140 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 76 61 6c 75 65 3e 43 6f 6e 74 ummary>..........///.<value>Cont
3160 72 6f 6c 20 72 65 70 72 65 73 65 6e 74 69 6e 67 20 74 68 65 20 6d 69 64 64 6c 65 20 6d 6f 75 73 rol.representing.the.middle.mous
3180 65 20 62 75 74 74 6f 6e 2e 3c 2f 76 61 6c 75 65 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 e.button.</value>..........publi
31a0 63 20 42 75 74 74 6f 6e 43 6f 6e 74 72 6f 6c 20 6d 69 64 64 6c 65 42 75 74 74 6f 6e 20 7b 20 67 c.ButtonControl.middleButton.{.g
31c0 65 74 3b 20 70 72 69 76 61 74 65 20 73 65 74 3b 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 2f 2f et;.private.set;.}............//
31e0 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 72 69 67 /.<summary>..........///.The.rig
3200 68 74 20 6d 6f 75 73 65 20 62 75 74 74 6f 6e 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f ht.mouse.button...........///.</
3220 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 76 61 6c 75 65 3e 43 6f 6e summary>..........///.<value>Con
3240 74 72 6f 6c 20 72 65 70 72 65 73 65 6e 74 69 6e 67 20 74 68 65 20 72 69 67 68 74 20 6d 6f 75 73 trol.representing.the.right.mous
3260 65 20 62 75 74 74 6f 6e 2e 3c 2f 76 61 6c 75 65 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 e.button.</value>..........publi
3280 63 20 42 75 74 74 6f 6e 43 6f 6e 74 72 6f 6c 20 72 69 67 68 74 42 75 74 74 6f 6e 20 7b 20 67 65 c.ButtonControl.rightButton.{.ge
32a0 74 3b 20 70 72 69 76 61 74 65 20 73 65 74 3b 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f t;.private.set;.}............///
32c0 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 66 69 72 73 .<summary>..........///.The.firs
32e0 74 20 73 69 64 65 20 62 75 74 74 6f 6e 2c 20 6f 66 74 65 6e 20 6c 61 62 65 6c 65 64 2f 75 73 65 t.side.button,.often.labeled/use
3300 64 20 61 73 20 22 62 61 63 6b 22 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d d.as."back"...........///.</summ
3320 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 76 61 6c 75 65 3e 43 6f 6e 74 72 6f 6c ary>..........///.<value>Control
3340 20 72 65 70 72 65 73 65 6e 74 69 6e 67 20 74 68 65 20 62 61 63 6b 20 62 75 74 74 6f 6e 20 6f 6e .representing.the.back.button.on
3360 20 74 68 65 20 6d 6f 75 73 65 2e 3c 2f 76 61 6c 75 65 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f .the.mouse.</value>..........///
3380 20 3c 72 65 6d 61 72 6b 73 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 4f 6e 20 57 69 6e 64 6f .<remarks>..........///.On.Windo
33a0 77 73 2c 20 74 68 69 73 20 63 6f 72 72 65 73 70 6f 6e 64 73 20 74 6f 20 3c 63 3e 52 49 5f 4d 4f ws,.this.corresponds.to.<c>RI_MO
33c0 55 53 45 5f 42 55 54 54 4f 4e 5f 34 3c 2f 63 3e 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c USE_BUTTON_4</c>...........///.<
33e0 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 42 75 74 74 6f 6e /remarks>..........public.Button
3400 43 6f 6e 74 72 6f 6c 20 62 61 63 6b 42 75 74 74 6f 6e 20 7b 20 67 65 74 3b 20 70 72 69 76 61 74 Control.backButton.{.get;.privat
3420 65 20 73 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 e.set;.}............///.<summary
3440 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 54 68 65 20 73 65 63 6f 6e 64 20 73 69 64 65 20 62 >..........///.The.second.side.b
3460 75 74 74 6f 6e 2c 20 6f 66 74 65 6e 20 6c 61 62 65 6c 65 64 2f 75 73 65 64 20 61 73 20 22 66 6f utton,.often.labeled/used.as."fo
3480 72 77 61 72 64 22 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 rward"...........///.</summary>.
34a0 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 76 61 6c 75 65 3e 43 6f 6e 74 72 6f 6c 20 72 65 70 72 .........///.<value>Control.repr
34c0 65 73 65 6e 74 69 6e 67 20 74 68 65 20 66 6f 72 77 61 72 64 20 62 75 74 74 6f 6e 20 6f 6e 20 74 esenting.the.forward.button.on.t
34e0 68 65 20 6d 6f 75 73 65 2e 3c 2f 76 61 6c 75 65 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c he.mouse.</value>..........///.<
3500 72 65 6d 61 72 6b 73 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 4f 6e 20 57 69 6e 64 6f 77 73 remarks>..........///.On.Windows
3520 2c 20 74 68 69 73 20 63 6f 72 72 65 73 70 6f 6e 64 73 20 74 6f 20 3c 63 3e 52 49 5f 4d 4f 55 53 ,.this.corresponds.to.<c>RI_MOUS
3540 45 5f 42 55 54 54 4f 4e 5f 35 3c 2f 63 3e 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 72 E_BUTTON_5</c>...........///.</r
3560 65 6d 61 72 6b 73 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 42 75 74 74 6f 6e 43 6f emarks>..........public.ButtonCo
3580 6e 74 72 6f 6c 20 66 6f 72 77 61 72 64 42 75 74 74 6f 6e 20 7b 20 67 65 74 3b 20 70 72 69 76 61 ntrol.forwardButton.{.get;.priva
35a0 74 65 20 73 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 te.set;.}............///.<summar
35c0 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 4e 75 6d 62 65 72 20 6f 66 20 74 69 6d 65 73 20 y>..........///.Number.of.times.
35e0 61 6e 79 20 6f 66 20 74 68 65 20 6d 6f 75 73 65 20 62 75 74 74 6f 6e 73 20 68 61 73 20 62 65 65 any.of.the.mouse.buttons.has.bee
3600 6e 20 63 6c 69 63 6b 65 64 20 69 6e 20 73 75 63 63 65 73 73 69 6f 6e 20 77 69 74 68 69 6e 0d 0a n.clicked.in.succession.within..
3620 20 20 20 20 20 20 20 20 2f 2f 2f 20 74 68 65 20 73 79 73 74 65 6d 2d 64 65 66 69 6e 65 64 20 63 ........///.the.system-defined.c
3640 6c 69 63 6b 20 74 69 6d 65 20 74 68 72 65 73 68 6f 6c 64 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f lick.time.threshold...........//
3660 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 76 61 6c 75 65 /.</summary>..........///.<value
3680 3e 43 6f 6e 74 72 6f 6c 20 72 65 70 72 65 73 65 6e 74 69 6e 67 20 74 68 65 20 6d 6f 75 73 65 20 >Control.representing.the.mouse.
36a0 63 6c 69 63 6b 20 63 6f 75 6e 74 2e 3c 2f 76 61 6c 75 65 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 click.count.</value>..........pu
36c0 62 6c 69 63 20 49 6e 74 65 67 65 72 43 6f 6e 74 72 6f 6c 20 63 6c 69 63 6b 43 6f 75 6e 74 20 7b blic.IntegerControl.clickCount.{
36e0 20 67 65 74 3b 20 70 72 69 76 61 74 65 20 73 65 74 3b 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 .get;.private.set;..}...........
3700 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 20 .///.<summary>..........///.The.
3720 6d 6f 75 73 65 20 74 68 61 74 20 77 61 73 20 61 64 64 65 64 20 6f 72 20 75 70 64 61 74 65 64 20 mouse.that.was.added.or.updated.
3740 6c 61 73 74 20 6f 72 20 6e 75 6c 6c 20 69 66 20 74 68 65 72 65 20 69 73 20 6e 6f 20 6d 6f 75 73 last.or.null.if.there.is.no.mous
3760 65 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 63 6f 6e 6e 65 63 74 65 64 20 74 6f 20 74 68 65 20 e..........///.connected.to.the.
3780 73 79 73 74 65 6d 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 system...........///.</summary>.
37a0 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 65 65 61 6c 73 6f 20 63 72 65 66 3d 22 49 6e 70 75 .........///.<seealso.cref="Inpu
37c0 74 44 65 76 69 63 65 2e 4d 61 6b 65 43 75 72 72 65 6e 74 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 tDevice.MakeCurrent"/>..........
37e0 70 75 62 6c 69 63 20 6e 65 77 20 73 74 61 74 69 63 20 4d 6f 75 73 65 20 63 75 72 72 65 6e 74 20 public.new.static.Mouse.current.
3800 7b 20 67 65 74 3b 20 70 72 69 76 61 74 65 20 73 65 74 3b 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 {.get;.private.set;.}...........
3820 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 43 61 6c 6c .///.<summary>..........///.Call
3840 65 64 20 77 68 65 6e 20 74 68 65 20 6d 6f 75 73 65 20 62 65 63 6f 6d 65 73 20 74 68 65 20 63 75 ed.when.the.mouse.becomes.the.cu
3860 72 72 65 6e 74 20 6d 6f 75 73 65 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d rrent.mouse...........///.</summ
3880 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 6f 76 65 72 72 69 64 65 20 76 6f ary>..........public.override.vo
38a0 69 64 20 4d 61 6b 65 43 75 72 72 65 6e 74 28 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 id.MakeCurrent()..........{.....
38c0 20 20 20 20 20 20 20 20 20 62 61 73 65 2e 4d 61 6b 65 43 75 72 72 65 6e 74 28 29 3b 0d 0a 20 20 .........base.MakeCurrent();....
38e0 20 20 20 20 20 20 20 20 20 20 63 75 72 72 65 6e 74 20 3d 20 74 68 69 73 3b 0d 0a 20 20 20 20 20 ..........current.=.this;.......
3900 20 20 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 3e 0d 0a 20 ...}............///.<summary>...
3920 20 20 20 20 20 20 20 2f 2f 2f 20 43 61 6c 6c 65 64 20 77 68 65 6e 20 74 68 65 20 6d 6f 75 73 65 .......///.Called.when.the.mouse
3940 20 69 73 20 61 64 64 65 64 20 74 6f 20 74 68 65 20 73 79 73 74 65 6d 2e 0d 0a 20 20 20 20 20 20 .is.added.to.the.system.........
3960 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 20 70 72 6f 74 65 63 ..///.</summary>..........protec
3980 74 65 64 20 6f 76 65 72 72 69 64 65 20 76 6f 69 64 20 4f 6e 41 64 64 65 64 28 29 0d 0a 20 20 20 ted.override.void.OnAdded().....
39a0 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 61 73 65 2e 4f 6e 41 64 64 65 64 .....{..............base.OnAdded
39c0 28 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6e 61 74 69 76 65 20 26 26 ();................if.(native.&&
39e0 20 73 5f 50 6c 61 74 66 6f 72 6d 4d 6f 75 73 65 44 65 76 69 63 65 20 3d 3d 20 6e 75 6c 6c 29 0d .s_PlatformMouseDevice.==.null).
3a00 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 5f 50 6c 61 74 66 6f 72 6d 4d 6f 75 73 65 .................s_PlatformMouse
3a20 44 65 76 69 63 65 20 3d 20 74 68 69 73 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 Device.=.this;..........}.......
3a40 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 2f 2f 2f 20 .....///.<summary>..........///.
3a60 43 61 6c 6c 65 64 20 77 68 65 6e 20 74 68 65 20 64 65 76 69 63 65 20 69 73 20 72 65 6d 6f 76 65 Called.when.the.device.is.remove
3a80 64 20 66 72 6f 6d 20 74 68 65 20 73 79 73 74 65 6d 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 d.from.the.system...........///.
3aa0 3c 2f 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 6f 76 </summary>..........protected.ov
3ac0 65 72 72 69 64 65 20 76 6f 69 64 20 4f 6e 52 65 6d 6f 76 65 64 28 29 0d 0a 20 20 20 20 20 20 20 erride.void.OnRemoved().........
3ae0 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 61 73 65 2e 4f 6e 52 65 6d 6f 76 65 64 28 29 .{..............base.OnRemoved()
3b00 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 63 75 72 72 65 6e 74 20 3d 3d 20 74 68 ;..............if.(current.==.th
3b20 69 73 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 75 72 72 65 6e 74 20 3d 20 6e is)..................current.=.n
3b40 75 6c 6c 3b 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 ull;..........}............inter
3b60 6e 61 6c 20 73 74 61 74 69 63 20 4d 6f 75 73 65 20 73 5f 50 6c 61 74 66 6f 72 6d 4d 6f 75 73 65 nal.static.Mouse.s_PlatformMouse
3b80 44 65 76 69 63 65 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 2f 52 45 56 49 45 57 3a 20 68 Device;............////REVIEW:.h
3ba0 6f 77 20 73 68 6f 75 6c 64 20 77 65 20 68 61 6e 64 6c 65 20 74 68 69 73 20 62 65 69 6e 67 20 63 ow.should.we.handle.this.being.c
3bc0 61 6c 6c 65 64 20 66 72 6f 6d 20 45 64 69 74 6f 72 57 69 6e 64 6f 77 27 73 3f 20 28 77 68 65 72 alled.from.EditorWindow's?.(wher
3be0 65 20 74 68 65 20 65 64 69 74 6f 72 20 77 69 6e 64 6f 77 20 73 70 61 63 65 20 70 72 6f 63 65 73 e.the.editor.window.space.proces
3c00 73 6f 72 20 77 69 6c 6c 20 74 75 72 6e 20 63 6f 6f 72 64 69 6e 61 74 65 73 20 61 75 74 6f 6d 61 sor.will.turn.coordinates.automa
3c20 74 69 63 61 6c 6c 79 20 69 6e 74 6f 20 65 64 69 74 6f 72 20 77 69 6e 64 6f 77 20 73 70 61 63 65 tically.into.editor.window.space
3c40 29 0d 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 )..........///.<summary>........
3c60 20 20 2f 2f 2f 20 4d 6f 76 65 20 74 68 65 20 6f 70 65 72 61 74 69 6e 67 20 73 79 73 74 65 6d 27 ..///.Move.the.operating.system'
3c80 73 20 6d 6f 75 73 65 20 63 75 72 73 6f 72 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 s.mouse.cursor...........///.</s
3ca0 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 70 61 72 61 6d 20 6e 61 6d 65 ummary>..........///.<param.name
3cc0 3d 22 70 6f 73 69 74 69 6f 6e 22 3e 4e 65 77 20 70 6f 73 69 74 69 6f 6e 20 69 6e 20 70 6c 61 79 ="position">New.position.in.play
3ce0 65 72 20 77 69 6e 64 6f 77 20 73 70 61 63 65 2e 3c 2f 70 61 72 61 6d 3e 0d 0a 20 20 20 20 20 20 er.window.space.</param>........
3d00 20 20 2f 2f 2f 20 3c 72 65 6d 61 72 6b 73 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 54 68 65 ..///.<remarks>..........///.The
3d20 20 3c 73 65 65 20 63 72 65 66 3d 22 50 6f 69 6e 74 65 72 2e 70 6f 73 69 74 69 6f 6e 22 2f 3e 20 .<see.cref="Pointer.position"/>.
3d40 70 72 6f 70 65 72 74 79 20 77 69 6c 6c 20 6e 6f 74 20 75 70 64 61 74 65 20 69 6d 6d 65 64 69 61 property.will.not.update.immedia
3d60 74 65 6c 79 20 62 75 74 20 72 61 74 68 65 72 20 77 69 6c 6c 20 75 70 64 61 74 65 20 69 6e 20 74 tely.but.rather.will.update.in.t
3d80 68 65 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 6e 65 78 74 20 69 6e 70 75 74 20 75 70 64 61 74 he..........///.next.input.updat
3da0 65 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 72 65 6d 61 72 6b 73 3e 0d 0a 20 20 20 20 e...........///.</remarks>......
3dc0 20 20 20 20 70 75 62 6c 69 63 20 76 6f 69 64 20 57 61 72 70 43 75 72 73 6f 72 50 6f 73 69 74 69 ....public.void.WarpCursorPositi
3de0 6f 6e 28 56 65 63 74 6f 72 32 20 70 6f 73 69 74 69 6f 6e 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d on(Vector2.position)..........{.
3e00 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 63 6f 6d 6d 61 6e 64 20 3d 20 57 61 72 70 4d .............var.command.=.WarpM
3e20 6f 75 73 65 50 6f 73 69 74 69 6f 6e 43 6f 6d 6d 61 6e 64 2e 43 72 65 61 74 65 28 70 6f 73 69 74 ousePositionCommand.Create(posit
3e40 69 6f 6e 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 45 78 65 63 75 74 65 43 6f 6d 6d 61 6e ion);..............ExecuteComman
3e60 64 28 72 65 66 20 63 6f 6d 6d 61 6e 64 29 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 d(ref.command);..........}......
3e80 20 20 20 20 20 20 2f 2f 2f 20 3c 69 6e 68 65 72 69 74 64 6f 63 20 2f 3e 0d 0a 20 20 20 20 20 20 ......///.<inheritdoc./>........
3ea0 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 46 69 6e 69 73 68 ..protected.override.void.Finish
3ec0 53 65 74 75 70 28 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 Setup()..........{..............
3ee0 73 63 72 6f 6c 6c 20 3d 20 47 65 74 43 68 69 6c 64 43 6f 6e 74 72 6f 6c 3c 56 65 63 74 6f 72 32 scroll.=.GetChildControl<Vector2
3f00 43 6f 6e 74 72 6f 6c 3e 28 22 73 63 72 6f 6c 6c 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 Control>("scroll");.............
3f20 20 6c 65 66 74 42 75 74 74 6f 6e 20 3d 20 47 65 74 43 68 69 6c 64 43 6f 6e 74 72 6f 6c 3c 42 75 .leftButton.=.GetChildControl<Bu
3f40 74 74 6f 6e 43 6f 6e 74 72 6f 6c 3e 28 22 6c 65 66 74 42 75 74 74 6f 6e 22 29 3b 0d 0a 20 20 20 ttonControl>("leftButton");.....
3f60 20 20 20 20 20 20 20 20 20 6d 69 64 64 6c 65 42 75 74 74 6f 6e 20 3d 20 47 65 74 43 68 69 6c 64 .........middleButton.=.GetChild
3f80 43 6f 6e 74 72 6f 6c 3c 42 75 74 74 6f 6e 43 6f 6e 74 72 6f 6c 3e 28 22 6d 69 64 64 6c 65 42 75 Control<ButtonControl>("middleBu
3fa0 74 74 6f 6e 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 69 67 68 74 42 75 74 74 6f 6e tton");..............rightButton
3fc0 20 3d 20 47 65 74 43 68 69 6c 64 43 6f 6e 74 72 6f 6c 3c 42 75 74 74 6f 6e 43 6f 6e 74 72 6f 6c .=.GetChildControl<ButtonControl
3fe0 3e 28 22 72 69 67 68 74 42 75 74 74 6f 6e 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 66 >("rightButton");..............f
4000 6f 72 77 61 72 64 42 75 74 74 6f 6e 20 3d 20 47 65 74 43 68 69 6c 64 43 6f 6e 74 72 6f 6c 3c 42 orwardButton.=.GetChildControl<B
4020 75 74 74 6f 6e 43 6f 6e 74 72 6f 6c 3e 28 22 66 6f 72 77 61 72 64 42 75 74 74 6f 6e 22 29 3b 0d uttonControl>("forwardButton");.
4040 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 61 63 6b 42 75 74 74 6f 6e 20 3d 20 47 65 74 43 68 69 .............backButton.=.GetChi
4060 6c 64 43 6f 6e 74 72 6f 6c 3c 42 75 74 74 6f 6e 43 6f 6e 74 72 6f 6c 3e 28 22 62 61 63 6b 42 75 ldControl<ButtonControl>("backBu
4080 74 74 6f 6e 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 6c 69 63 6b 43 6f 75 6e 74 20 tton");..............clickCount.
40a0 3d 20 47 65 74 43 68 69 6c 64 43 6f 6e 74 72 6f 6c 3c 49 6e 74 65 67 65 72 43 6f 6e 74 72 6f 6c =.GetChildControl<IntegerControl
40c0 3e 28 22 63 6c 69 63 6b 43 6f 75 6e 74 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 61 >("clickCount");..............ba
40e0 73 65 2e 46 69 6e 69 73 68 53 65 74 75 70 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a se.FinishSetup();..........}....
4100 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 2f ........///.<summary>........../
4120 2f 2f 20 49 6d 70 6c 65 6d 65 6e 74 73 20 3c 73 65 65 20 63 72 65 66 3d 22 49 49 6e 70 75 74 53 //.Implements.<see.cref="IInputS
4140 74 61 74 65 43 61 6c 6c 62 61 63 6b 52 65 63 65 69 76 65 72 2e 4f 6e 4e 65 78 74 55 70 64 61 74 tateCallbackReceiver.OnNextUpdat
4160 65 22 2f 3e 20 66 6f 72 20 74 68 65 20 6d 6f 75 73 65 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f e"/>.for.the.mouse...........///
4180 20 3c 2f 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 6e .</summary>..........protected.n
41a0 65 77 20 76 6f 69 64 20 4f 6e 4e 65 78 74 55 70 64 61 74 65 28 29 0d 0a 20 20 20 20 20 20 20 20 ew.void.OnNextUpdate()..........
41c0 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 61 73 65 2e 4f 6e 4e 65 78 74 55 70 64 61 74 65 {..............base.OnNextUpdate
41e0 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 49 6e 70 75 74 53 74 61 74 65 2e 43 68 61 6e ();..............InputState.Chan
4200 67 65 28 73 63 72 6f 6c 6c 2c 20 56 65 63 74 6f 72 32 2e 7a 65 72 6f 29 3b 0d 0a 20 20 20 20 20 ge(scroll,.Vector2.zero);.......
4220 20 20 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 3e 0d 0a 20 ...}............///.<summary>...
4240 20 20 20 20 20 20 20 2f 2f 2f 20 49 6d 70 6c 65 6d 65 6e 74 73 20 3c 73 65 65 20 63 72 65 66 3d .......///.Implements.<see.cref=
4260 22 49 49 6e 70 75 74 53 74 61 74 65 43 61 6c 6c 62 61 63 6b 52 65 63 65 69 76 65 72 2e 4f 6e 53 "IInputStateCallbackReceiver.OnS
4280 74 61 74 65 45 76 65 6e 74 22 2f 3e 20 66 6f 72 20 74 68 65 20 6d 6f 75 73 65 2e 0d 0a 20 20 20 tateEvent"/>.for.the.mouse......
42a0 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 20 2f 2f 2f .....///.</summary>..........///
42c0 20 3c 70 61 72 61 6d 20 6e 61 6d 65 3d 22 65 76 65 6e 74 50 74 72 22 3e 3c 2f 70 61 72 61 6d 3e .<param.name="eventPtr"></param>
42e0 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 6e 65 77 20 75 6e 73 61 66 65 20 76 ..........protected.new.unsafe.v
4300 6f 69 64 20 4f 6e 53 74 61 74 65 45 76 65 6e 74 28 49 6e 70 75 74 45 76 65 6e 74 50 74 72 20 65 oid.OnStateEvent(InputEventPtr.e
4320 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 20 20 ventPtr)..........{.............
4340 20 76 61 72 20 73 74 61 74 65 50 74 72 20 3d 20 63 75 72 72 65 6e 74 53 74 61 74 65 50 74 72 3b .var.statePtr.=.currentStatePtr;
4360 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 63 72 6f 6c 6c 2e 78 2e 41 63 63 75 6d 75 6c ................scroll.x.Accumul
4380 61 74 65 56 61 6c 75 65 49 6e 45 76 65 6e 74 28 73 74 61 74 65 50 74 72 2c 20 65 76 65 6e 74 50 ateValueInEvent(statePtr,.eventP
43a0 74 72 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 63 72 6f 6c 6c 2e 79 2e 41 63 63 75 6d tr);..............scroll.y.Accum
43c0 75 6c 61 74 65 56 61 6c 75 65 49 6e 45 76 65 6e 74 28 73 74 61 74 65 50 74 72 2c 20 65 76 65 6e ulateValueInEvent(statePtr,.even
43e0 74 50 74 72 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 61 73 65 2e 4f 6e 53 74 61 tPtr);................base.OnSta
4400 74 65 45 76 65 6e 74 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 teEvent(eventPtr);..........}...
4420 0a 20 20 20 20 20 20 20 20 76 6f 69 64 20 49 49 6e 70 75 74 53 74 61 74 65 43 61 6c 6c 62 61 63 .........void.IInputStateCallbac
4440 6b 52 65 63 65 69 76 65 72 2e 4f 6e 4e 65 78 74 55 70 64 61 74 65 28 29 0d 0a 20 20 20 20 20 20 kReceiver.OnNextUpdate()........
4460 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 4f 6e 4e 65 78 74 55 70 64 61 74 65 28 29 3b ..{..............OnNextUpdate();
4480 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 76 6f 69 64 20 49 49 6e 70 ..........}............void.IInp
44a0 75 74 53 74 61 74 65 43 61 6c 6c 62 61 63 6b 52 65 63 65 69 76 65 72 2e 4f 6e 53 74 61 74 65 45 utStateCallbackReceiver.OnStateE
44c0 76 65 6e 74 28 49 6e 70 75 74 45 76 65 6e 74 50 74 72 20 65 76 65 6e 74 50 74 72 29 0d 0a 20 20 vent(InputEventPtr.eventPtr)....
44e0 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 4f 6e 53 74 61 74 65 45 76 65 6e ......{..............OnStateEven
4500 74 28 65 76 65 6e 74 50 74 72 29 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 7d 0d 0a t(eventPtr);..........}......}..
4520 7d 0d 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 05 00 00 00 4d 6f 75 73 }...........................Mous
4540 65 00 00 00 17 00 00 00 55 6e 69 74 79 45 6e 67 69 6e 65 2e 49 6e 70 75 74 53 79 73 74 65 6d 00 e.......UnityEngine.InputSystem.