summaryrefslogtreecommitdiff
path: root/Library/Artifacts/cb/cbeac7b39bbb939cc64f1cc27b1f2e0f
blob: e84c0f5f284d989f7c354e0095510e91ac6e69a0 (plain)
ofshex dumpascii
0000 00 00 0f 81 00 00 a7 38 00 00 00 15 00 00 10 00 00 00 00 00 32 30 31 39 2e 33 2e 36 66 31 00 fe .......8............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 d8 96 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 0c 00 00 00 49 6e 70 75 74 42 69 6e 64 69 6e 67 74 96 00 00 75 73 69 6e ............InputBindingt...usin
10a0 67 20 53 79 73 74 65 6d 3b 0d 0a 75 73 69 6e 67 20 53 79 73 74 65 6d 2e 4c 69 6e 71 3b 0d 0a 75 g.System;..using.System.Linq;..u
10c0 73 69 6e 67 20 53 79 73 74 65 6d 2e 54 65 78 74 3b 0d 0a 75 73 69 6e 67 20 55 6e 69 74 79 45 6e sing.System.Text;..using.UnityEn
10e0 67 69 6e 65 2e 49 6e 70 75 74 53 79 73 74 65 6d 2e 4c 61 79 6f 75 74 73 3b 0d 0a 75 73 69 6e 67 gine.InputSystem.Layouts;..using
1100 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 55 74 69 6c 69 74 69 .UnityEngine.InputSystem.Utiliti
1120 65 73 3b 0d 0a 0d 0a 2f 2f 2f 2f 52 45 56 49 45 57 3a 20 64 6f 20 77 65 20 72 65 61 6c 6c 79 20 es;....////REVIEW:.do.we.really.
1140 6e 65 65 64 20 6f 76 65 72 72 69 64 61 62 6c 65 20 70 72 6f 63 65 73 73 6f 72 73 20 61 6e 64 20 need.overridable.processors.and.
1160 69 6e 74 65 72 61 63 74 69 6f 6e 73 3f 0d 0a 0d 0a 2f 2f 20 44 6f 77 6e 73 69 64 65 73 20 74 6f interactions?....//.Downsides.to
1180 20 74 68 65 20 63 75 72 72 65 6e 74 20 61 70 70 72 6f 61 63 68 3a 0d 0a 2f 2f 20 2d 20 42 65 69 .the.current.approach:..//.-.Bei
11a0 6e 67 20 61 62 6c 65 20 74 6f 20 61 64 64 72 65 73 73 20 65 6e 74 69 72 65 20 62 61 74 63 68 65 ng.able.to.address.entire.batche
11c0 73 20 6f 66 20 63 6f 6e 74 72 6f 6c 73 20 74 68 72 6f 75 67 68 20 61 20 73 69 6e 67 6c 65 20 63 s.of.controls.through.a.single.c
11e0 6f 6e 74 72 6f 6c 20 69 73 20 61 77 65 73 6f 6d 65 2e 20 45 73 70 65 63 69 61 6c 6c 79 0d 0a 2f ontrol.is.awesome..Especially../
1200 2f 20 20 20 77 68 65 6e 20 63 6f 6d 62 69 6e 69 6e 67 20 69 74 20 74 79 70 65 2d 6b 69 6e 64 20 /...when.combining.it.type-kind.
1220 6f 66 20 71 75 65 72 69 65 73 20 28 65 2e 67 2e 20 22 3c 4d 79 44 65 76 69 63 65 3e 2f 3c 42 75 of.queries.(e.g.."<MyDevice>/<Bu
1240 74 74 6f 6e 3e 22 29 2e 20 48 6f 77 65 76 65 72 2c 20 69 74 20 63 6f 6d 70 6c 69 63 61 74 65 73 tton>")..However,.it.complicates
1260 20 74 68 69 6e 67 73 0d 0a 2f 2f 20 20 20 69 6e 20 71 75 69 74 65 20 61 20 66 65 77 20 61 72 65 .things..//...in.quite.a.few.are
1280 61 73 2e 20 54 68 65 72 65 27 73 20 71 75 69 74 65 20 61 20 66 65 77 20 62 69 74 73 20 69 6e 20 as..There's.quite.a.few.bits.in.
12a0 49 6e 70 75 74 41 63 74 69 6f 6e 53 74 61 74 65 20 74 68 61 74 20 63 6f 75 6c 64 20 62 65 20 73 InputActionState.that.could.be.s
12c0 69 6d 70 6c 69 66 69 65 64 20 69 66 20 61 0d 0a 2f 2f 20 20 20 62 69 6e 64 69 6e 67 20 73 69 6d implified.if.a..//...binding.sim
12e0 70 6c 79 20 6d 61 70 73 20 74 6f 20 61 20 63 6f 6e 74 72 6f 6c 2e 0d 0a 0d 0a 6e 61 6d 65 73 70 ply.maps.to.a.control.....namesp
1300 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..{..
1320 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 20 6d 61 70 ....///.<summary>......///.A.map
1340 70 69 6e 67 20 6f 66 20 63 6f 6e 74 72 6f 6c 73 20 74 6f 20 61 6e 20 61 63 74 69 6f 6e 2e 0d 0a ping.of.controls.to.an.action...
1360 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 65 6d ....///.</summary>......///.<rem
1380 61 72 6b 73 3e 0d 0a 20 20 20 20 2f 2f 2f 20 45 61 63 68 20 62 69 6e 64 69 6e 67 20 72 65 70 72 arks>......///.Each.binding.repr
13a0 65 73 65 6e 74 73 20 61 20 76 61 6c 75 65 20 72 65 63 65 69 76 65 64 20 66 72 6f 6d 20 63 6f 6e esents.a.value.received.from.con
13c0 74 72 6f 6c 73 20 28 73 65 65 20 3c 73 65 65 20 63 72 65 66 3d 22 49 6e 70 75 74 43 6f 6e 74 72 trols.(see.<see.cref="InputContr
13e0 6f 6c 22 2f 3e 29 2e 0d 0a 20 20 20 20 2f 2f 2f 20 54 68 65 72 65 20 61 72 65 20 74 77 6f 20 6d ol"/>).......///.There.are.two.m
1400 61 69 6e 20 74 79 70 65 73 20 6f 66 20 62 69 6e 64 69 6e 67 73 3a 20 22 6e 6f 72 6d 61 6c 22 20 ain.types.of.bindings:."normal".
1420 62 69 6e 64 69 6e 67 73 20 61 6e 64 20 22 63 6f 6d 70 6f 73 69 74 65 22 20 62 69 6e 64 69 6e 67 bindings.and."composite".binding
1440 73 2e 0d 0a 20 20 20 20 2f 2f 2f 0d 0a 20 20 20 20 2f 2f 2f 20 4e 6f 72 6d 61 6c 20 62 69 6e 64 s.......///......///.Normal.bind
1460 69 6e 67 73 20 64 69 72 65 63 74 6c 79 20 62 69 6e 64 20 74 6f 20 63 6f 6e 74 72 6f 6c 28 73 29 ings.directly.bind.to.control(s)
1480 20 62 79 20 6d 65 61 6e 73 20 6f 66 20 3c 73 65 65 20 63 72 65 66 3d 22 70 61 74 68 22 2f 3e 20 .by.means.of.<see.cref="path"/>.
14a0 77 68 69 63 68 20 69 73 20 61 20 22 63 6f 6e 74 72 6f 6c 20 70 61 74 68 22 0d 0a 20 20 20 20 2f which.is.a."control.path"....../
14c0 2f 2f 20 28 73 65 65 20 3c 73 65 65 20 63 72 65 66 3d 22 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 50 //.(see.<see.cref="InputControlP
14e0 61 74 68 22 2f 3e 20 66 6f 72 20 64 65 74 61 69 6c 73 20 61 62 6f 75 74 20 68 6f 77 20 74 6f 20 ath"/>.for.details.about.how.to.
1500 66 6f 72 6d 20 70 61 74 68 73 29 2e 20 41 74 20 72 75 6e 74 69 6d 65 2c 20 74 68 65 0d 0a 20 20 form.paths)..At.runtime,.the....
1520 20 20 2f 2f 2f 20 70 61 74 68 20 6f 66 20 73 75 63 68 20 61 20 62 69 6e 64 69 6e 67 20 6d 61 79 ..///.path.of.such.a.binding.may
1540 20 6d 61 74 63 68 20 6e 6f 6e 65 2c 20 6f 6e 65 2c 20 6f 72 20 6d 75 6c 74 69 70 6c 65 20 63 6f .match.none,.one,.or.multiple.co
1560 6e 74 72 6f 6c 73 2e 20 45 61 63 68 20 63 6f 6e 74 72 6f 6c 20 6d 61 74 63 68 65 64 20 62 79 20 ntrols..Each.control.matched.by.
1580 74 68 65 0d 0a 20 20 20 20 2f 2f 2f 20 70 61 74 68 20 77 69 6c 6c 20 66 65 65 64 20 69 6e 70 75 the......///.path.will.feed.inpu
15a0 74 20 69 6e 74 6f 20 74 68 65 20 62 69 6e 64 69 6e 67 2e 0d 0a 20 20 20 20 2f 2f 2f 0d 0a 20 20 t.into.the.binding.......///....
15c0 20 20 2f 2f 2f 20 43 6f 6d 70 6f 73 69 74 65 20 62 69 6e 64 69 6e 67 73 20 64 6f 20 6e 6f 74 20 ..///.Composite.bindings.do.not.
15e0 62 69 6e 64 20 74 6f 20 63 6f 6e 74 72 6f 6c 73 20 74 68 65 6d 73 65 6c 76 65 73 2e 20 49 6e 73 bind.to.controls.themselves..Ins
1600 74 65 61 64 2c 20 74 68 65 79 20 72 65 63 65 69 76 65 20 74 68 65 69 72 20 69 6e 70 75 74 0d 0a tead,.they.receive.their.input..
1620 20 20 20 20 2f 2f 2f 20 66 72 6f 6d 20 74 68 65 69 72 20 22 70 61 72 74 22 20 62 69 6e 64 69 6e ....///.from.their."part".bindin
1640 67 73 20 61 6e 64 20 74 68 65 6e 20 72 65 74 75 72 6e 20 61 20 76 61 6c 75 65 20 72 65 70 72 65 gs.and.then.return.a.value.repre
1660 73 65 6e 74 69 6e 67 20 61 20 22 63 6f 6d 70 6f 73 69 74 69 6f 6e 22 20 6f 66 20 74 68 6f 73 65 senting.a."composition".of.those
1680 0d 0a 20 20 20 20 2f 2f 2f 20 69 6e 70 75 74 73 2e 20 57 68 61 74 20 63 6f 6d 70 6f 73 69 74 69 ......///.inputs..What.compositi
16a0 6f 6e 20 73 70 65 63 69 66 69 63 61 6c 6c 79 20 69 73 20 70 65 72 66 6f 72 6d 65 64 20 64 65 70 on.specifically.is.performed.dep
16c0 65 6e 64 73 20 6f 6e 20 74 68 65 20 74 79 70 65 20 6f 66 20 74 68 65 20 63 6f 6d 70 6f 73 69 74 ends.on.the.type.of.the.composit
16e0 65 2e 0d 0a 20 20 20 20 2f 2f 2f 20 3c 73 65 65 20 63 72 65 66 3d 22 43 6f 6d 70 6f 73 69 74 65 e.......///.<see.cref="Composite
1700 73 2e 41 78 69 73 43 6f 6d 70 6f 73 69 74 65 22 2f 3e 2c 20 66 6f 72 20 65 78 61 6d 70 6c 65 2c s.AxisComposite"/>,.for.example,
1720 20 77 69 6c 6c 20 72 65 74 75 72 6e 20 61 20 66 6c 6f 61 74 69 6e 67 2d 70 6f 69 6e 74 20 61 78 .will.return.a.floating-point.ax
1740 69 73 20 76 61 6c 75 65 0d 0a 20 20 20 20 2f 2f 2f 20 63 6f 6d 70 75 74 65 64 20 66 72 6f 6d 20 is.value......///.computed.from.
1760 74 68 65 20 73 74 61 74 65 20 6f 66 20 74 77 6f 20 62 75 74 74 6f 6e 73 2e 0d 0a 20 20 20 20 2f the.state.of.two.buttons......./
1780 2f 2f 0d 0a 20 20 20 20 2f 2f 2f 20 54 68 65 20 61 63 74 69 6f 6e 20 74 68 61 74 20 69 73 20 74 //......///.The.action.that.is.t
17a0 72 69 67 67 65 72 65 64 20 62 79 20 61 20 62 69 6e 64 69 6e 67 20 69 73 20 64 65 74 65 72 6d 69 riggered.by.a.binding.is.determi
17c0 6e 65 64 20 62 79 20 69 74 73 20 3c 73 65 65 20 63 72 65 66 3d 22 61 63 74 69 6f 6e 22 2f 3e 20 ned.by.its.<see.cref="action"/>.
17e0 70 72 6f 70 65 72 74 79 2e 0d 0a 20 20 20 20 2f 2f 2f 20 54 68 65 20 72 65 73 6f 6c 75 74 69 6f property.......///.The.resolutio
1800 6e 20 74 6f 20 61 6e 20 3c 73 65 65 20 63 72 65 66 3d 22 49 6e 70 75 74 41 63 74 69 6f 6e 22 2f n.to.an.<see.cref="InputAction"/
1820 3e 20 64 65 70 65 6e 64 73 20 6f 6e 20 77 68 65 72 65 20 74 68 65 20 62 69 6e 64 69 6e 67 20 69 >.depends.on.where.the.binding.i
1840 73 20 75 73 65 64 2e 20 46 6f 72 20 65 78 61 6d 70 6c 65 2c 0d 0a 20 20 20 20 2f 2f 2f 20 62 69 s.used..For.example,......///.bi
1860 6e 64 69 6e 67 73 20 74 68 61 74 20 61 72 65 20 70 61 72 74 20 6f 66 20 3c 73 65 65 20 63 72 65 ndings.that.are.part.of.<see.cre
1880 66 3d 22 49 6e 70 75 74 41 63 74 69 6f 6e 4d 61 70 2e 62 69 6e 64 69 6e 67 73 22 2f 3e 20 77 69 f="InputActionMap.bindings"/>.wi
18a0 6c 6c 20 72 65 73 6f 6c 76 65 20 61 63 74 69 6f 6e 20 6e 61 6d 65 73 20 74 6f 0d 0a 20 20 20 20 ll.resolve.action.names.to......
18c0 2f 2f 2f 20 61 63 74 69 6f 6e 73 20 69 6e 20 74 68 65 20 73 61 6d 65 20 3c 73 65 65 20 63 72 65 ///.actions.in.the.same.<see.cre
18e0 66 3d 22 49 6e 70 75 74 41 63 74 69 6f 6e 4d 61 70 22 2f 3e 2e 0d 0a 20 20 20 20 2f 2f 2f 0d 0a f="InputActionMap"/>.......///..
1900 20 20 20 20 2f 2f 2f 20 41 20 62 69 6e 64 69 6e 67 20 63 61 6e 20 61 6c 73 6f 20 62 65 20 75 73 ....///.A.binding.can.also.be.us
1920 65 64 20 61 73 20 61 20 66 6f 72 6d 20 6f 66 20 73 65 61 72 63 68 20 6d 61 73 6b 20 6f 72 20 66 ed.as.a.form.of.search.mask.or.f
1940 69 6c 74 65 72 2e 20 49 6e 20 74 68 69 73 20 75 73 65 2c 20 3c 73 65 65 20 63 72 65 66 3d 22 70 ilter..In.this.use,.<see.cref="p
1960 61 74 68 22 2f 3e 2c 0d 0a 20 20 20 20 2f 2f 2f 20 3c 73 65 65 20 63 72 65 66 3d 22 61 63 74 69 ath"/>,......///.<see.cref="acti
1980 6f 6e 22 2f 3e 2c 20 61 6e 64 20 3c 73 65 65 20 63 72 65 66 3d 22 67 72 6f 75 70 73 22 2f 3e 20 on"/>,.and.<see.cref="groups"/>.
19a0 62 65 63 6f 6d 65 20 73 65 61 72 63 68 20 63 72 69 74 65 72 69 61 20 74 68 61 74 20 61 72 65 20 become.search.criteria.that.are.
19c0 6d 61 74 63 68 65 64 0d 0a 20 20 20 20 2f 2f 2f 20 61 67 61 69 6e 73 74 20 6f 74 68 65 72 20 62 matched......///.against.other.b
19e0 69 6e 64 69 6e 67 73 2e 20 53 65 65 20 3c 73 65 65 20 63 72 65 66 3d 22 4d 61 74 63 68 65 73 28 indings..See.<see.cref="Matches(
1a00 49 6e 70 75 74 42 69 6e 64 69 6e 67 29 22 2f 3e 20 66 6f 72 20 64 65 74 61 69 6c 73 2e 20 54 68 InputBinding)"/>.for.details..Th
1a20 69 73 20 75 73 65 0d 0a 20 20 20 20 2f 2f 2f 20 69 73 20 65 6d 70 6c 6f 79 65 64 20 69 6e 20 70 is.use......///.is.employed.in.p
1a40 6c 61 63 65 73 20 73 75 63 68 20 61 73 20 3c 73 65 65 20 63 72 65 66 3d 22 49 6e 70 75 74 41 63 laces.such.as.<see.cref="InputAc
1a60 74 69 6f 6e 52 65 62 69 6e 64 69 6e 67 45 78 74 65 6e 73 69 6f 6e 73 22 2f 3e 20 61 73 20 77 65 tionRebindingExtensions"/>.as.we
1a80 6c 6c 20 61 73 20 69 6e 0d 0a 20 20 20 20 2f 2f 2f 20 62 69 6e 64 69 6e 67 20 6d 61 73 6b 73 20 ll.as.in......///.binding.masks.
1aa0 6f 6e 20 61 63 74 69 6f 6e 73 20 28 3c 73 65 65 20 63 72 65 66 3d 22 49 6e 70 75 74 41 63 74 69 on.actions.(<see.cref="InputActi
1ac0 6f 6e 2e 62 69 6e 64 69 6e 67 4d 61 73 6b 22 2f 3e 29 2c 20 61 63 74 69 6f 6e 20 6d 61 70 73 20 on.bindingMask"/>),.action.maps.
1ae0 28 3c 73 65 65 0d 0a 20 20 20 20 2f 2f 2f 20 63 72 65 66 3d 22 49 6e 70 75 74 41 63 74 69 6f 6e (<see......///.cref="InputAction
1b00 4d 61 70 2e 62 69 6e 64 69 6e 67 4d 61 73 6b 22 2f 3e 29 2c 20 61 6e 64 20 61 73 73 65 74 73 20 Map.bindingMask"/>),.and.assets.
1b20 28 3c 73 65 65 20 63 72 65 66 3d 22 49 6e 70 75 74 41 63 74 69 6f 6e 41 73 73 65 74 2e 62 69 6e (<see.cref="InputActionAsset.bin
1b40 64 69 6e 67 4d 61 73 6b 22 2f 3e 29 2e 0d 0a 20 20 20 20 2f 2f 2f 20 3c 2f 72 65 6d 61 72 6b 73 dingMask"/>).......///.</remarks
1b60 3e 0d 0a 20 20 20 20 5b 53 65 72 69 61 6c 69 7a 61 62 6c 65 5d 0d 0a 20 20 20 20 70 75 62 6c 69 >......[Serializable]......publi
1b80 63 20 73 74 72 75 63 74 20 49 6e 70 75 74 42 69 6e 64 69 6e 67 20 3a 20 49 45 71 75 61 74 61 62 c.struct.InputBinding.:.IEquatab
1ba0 6c 65 3c 49 6e 70 75 74 42 69 6e 64 69 6e 67 3e 0d 0a 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 le<InputBinding>......{.........
1bc0 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 68 61 72 .///.<summary>..........///.Char
1be0 61 63 74 65 72 20 74 68 61 74 20 69 73 20 75 73 65 64 20 74 6f 20 73 65 70 61 72 61 74 65 20 65 acter.that.is.used.to.separate.e
1c00 6c 65 6d 65 6e 74 73 20 69 6e 20 70 6c 61 63 65 73 20 73 75 63 68 20 61 73 20 3c 73 65 65 20 63 lements.in.places.such.as.<see.c
1c20 72 65 66 3d 22 67 72 6f 75 70 73 22 2f 3e 2c 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 65 ref="groups"/>,..........///.<se
1c40 65 20 63 72 65 66 3d 22 69 6e 74 65 72 61 63 74 69 6f 6e 73 22 2f 3e 2c 20 61 6e 64 20 3c 73 65 e.cref="interactions"/>,.and.<se
1c60 65 20 63 72 65 66 3d 22 70 72 6f 63 65 73 73 6f 72 73 22 2f 3e 2e 0d 0a 20 20 20 20 20 20 20 20 e.cref="processors"/>...........
1c80 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 53 6f 6d 65 ///.</summary>..........///.Some
1ca0 20 73 74 72 69 6e 67 73 20 6f 6e 20 62 69 6e 64 69 6e 67 73 20 72 65 70 72 65 73 65 6e 74 20 6c .strings.on.bindings.represent.l
1cc0 69 73 74 73 20 6f 66 20 65 6c 65 6d 65 6e 74 73 2e 20 41 6e 20 65 78 61 6d 70 6c 65 20 69 73 20 ists.of.elements..An.example.is.
1ce0 3c 73 65 65 20 63 72 65 66 3d 22 67 72 6f 75 70 73 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f <see.cref="groups"/>..........//
1d00 2f 20 77 68 69 63 68 20 6d 61 79 20 61 73 73 6f 63 69 61 74 65 20 61 20 62 69 6e 64 69 6e 67 20 /.which.may.associate.a.binding.
1d20 77 69 74 68 20 73 65 76 65 72 61 6c 20 62 69 6e 64 69 6e 67 20 67 72 6f 75 70 73 2c 20 65 61 63 with.several.binding.groups,.eac
1d40 68 20 6f 6e 65 20 64 65 6c 69 6d 69 74 65 64 20 62 79 20 74 68 65 0d 0a 20 20 20 20 20 20 20 20 h.one.delimited.by.the..........
1d60 2f 2f 2f 20 73 65 70 61 72 61 74 6f 72 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 0d 0a 20 20 20 ///.separator...........///.....
1d80 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 20 20 2f 2f 2f 20 .....///.<remarks>..........///.
1da0 3c 65 78 61 6d 70 6c 65 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 63 6f 64 65 3e 0d 0a 20 <example>..........///.<code>...
1dc0 20 20 20 20 20 20 20 2f 2f 2f 20 2f 2f 20 41 20 62 69 6e 64 69 6e 67 20 74 68 61 74 20 62 65 6c .......///.//.A.binding.that.bel
1de0 6f 6e 67 73 20 74 6f 20 74 68 65 20 22 4b 65 79 62 6f 61 72 64 26 61 6d 70 3b 4d 6f 75 73 65 22 ongs.to.the."Keyboard&amp;Mouse"
1e00 20 61 6e 64 20 22 47 61 6d 65 70 61 64 22 20 67 72 6f 75 70 2e 0d 0a 20 20 20 20 20 20 20 20 2f .and."Gamepad".group.........../
1e20 2f 2f 20 6e 65 77 20 49 6e 70 75 74 42 69 6e 64 69 6e 67 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f //.new.InputBinding..........///
1e40 20 7b 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 20 20 20 20 70 61 74 68 20 3d 20 22 2a 2f 7b 50 .{..........///.....path.=."*/{P
1e60 72 69 6d 61 72 79 41 63 74 69 6f 6e 7d 2c 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 20 20 20 20 rimaryAction},..........///.....
1e80 67 72 6f 75 70 73 20 3d 20 22 4b 65 79 62 6f 61 72 64 26 61 6d 70 3b 4d 6f 75 73 65 3b 47 61 6d groups.=."Keyboard&amp;Mouse;Gam
1ea0 65 70 61 64 22 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 7d 3b 0d 0a 20 20 20 20 20 20 20 20 2f epad"..........///.};........../
1ec0 2f 2f 20 3c 2f 63 6f 64 65 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 65 78 61 6d 70 6c //.</code>..........///.</exampl
1ee0 65 3e 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>......
1f00 20 20 20 20 70 75 62 6c 69 63 20 63 6f 6e 73 74 20 63 68 61 72 20 53 65 70 61 72 61 74 6f 72 20 ....public.const.char.Separator.
1f20 3d 20 27 3b 27 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 69 6e 74 65 72 6e 61 6c 20 63 6f 6e 73 74 =.';';............internal.const
1f40 20 73 74 72 69 6e 67 20 6b 53 65 70 61 72 61 74 6f 72 53 74 72 69 6e 67 20 3d 20 22 3b 22 3b 0d .string.kSeparatorString.=.";";.
1f60 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 20 20 20 ...........///.<summary>........
1f80 20 20 2f 2f 2f 20 4f 70 74 69 6f 6e 61 6c 20 6e 61 6d 65 20 66 6f 72 20 74 68 65 20 62 69 6e 64 ..///.Optional.name.for.the.bind
1fa0 69 6e 67 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 ing...........///.</summary>....
1fc0 20 20 20 20 20 20 2f 2f 2f 20 3c 76 61 6c 75 65 3e 4e 61 6d 65 20 6f 66 20 74 68 65 20 62 69 6e ......///.<value>Name.of.the.bin
1fe0 64 69 6e 67 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 61 ding.</value>..........///.<rema
2000 72 6b 73 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 46 6f 72 20 62 69 6e 64 69 6e 67 73 20 74 rks>..........///.For.bindings.t
2020 68 61 74 20 61 72 65 20 70 61 72 74 20 6f 66 20 63 6f 6d 70 6f 73 69 74 65 73 20 28 73 65 65 20 hat.are.part.of.composites.(see.
2040 3c 73 65 65 20 63 72 65 66 3d 22 69 73 50 61 72 74 4f 66 43 6f 6d 70 6f 73 69 74 65 22 2f 3e 29 <see.cref="isPartOfComposite"/>)
2060 2c 20 74 68 69 73 20 69 73 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 74 68 65 20 6e 61 6d 65 20 ,.this.is..........///.the.name.
2080 6f 66 20 74 68 65 20 66 69 65 6c 64 20 6f 6e 20 74 68 65 20 62 69 6e 64 69 6e 67 20 63 6f 6d 70 of.the.field.on.the.binding.comp
20a0 6f 73 69 74 65 20 6f 62 6a 65 63 74 20 74 68 61 74 20 73 68 6f 75 6c 64 20 62 65 20 69 6e 69 74 osite.object.that.should.be.init
20c0 69 61 6c 69 7a 65 64 20 77 69 74 68 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 74 68 65 20 63 6f ialized.with..........///.the.co
20e0 6e 74 72 6f 6c 20 74 61 72 67 65 74 20 6f 66 20 74 68 65 20 62 69 6e 64 69 6e 67 2e 0d 0a 20 20 ntrol.target.of.the.binding.....
2100 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 20 20 70 75 ......///.</remarks>..........pu
2120 62 6c 69 63 20 73 74 72 69 6e 67 20 6e 61 6d 65 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 blic.string.name..........{.....
2140 20 20 20 20 20 20 20 20 20 67 65 74 20 3d 3e 20 6d 5f 4e 61 6d 65 3b 0d 0a 20 20 20 20 20 20 20 .........get.=>.m_Name;.........
2160 20 20 20 20 20 73 65 74 20 3d 3e 20 6d 5f 4e 61 6d 65 20 3d 20 76 61 6c 75 65 3b 0d 0a 20 20 20 .....set.=>.m_Name.=.value;.....
2180 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 6d 61 72 79 3e 0d .....}............///.<summary>.
21a0 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 55 6e 69 71 75 65 20 49 44 20 6f 66 20 74 68 65 20 62 69 .........///.Unique.ID.of.the.bi
21c0 6e 64 69 6e 67 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 nding...........///.</summary>..
21e0 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 76 61 6c 75 65 3e 55 6e 69 71 75 65 20 49 44 20 6f 66 20 ........///.<value>Unique.ID.of.
2200 74 68 65 20 62 69 6e 64 69 6e 67 2e 3c 2f 76 61 6c 75 65 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f the.binding.</value>..........//
2220 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 69 73 20 63 61 /.<remarks>..........///.This.ca
2240 6e 20 62 65 20 75 73 65 64 2c 20 66 6f 72 20 65 78 61 6d 70 6c 65 2c 20 77 68 65 6e 20 73 74 6f n.be.used,.for.example,.when.sto
2260 72 69 6e 67 20 62 69 6e 64 69 6e 67 20 6f 76 65 72 72 69 64 65 73 20 69 6e 20 6c 6f 63 61 6c 20 ring.binding.overrides.in.local.
2280 75 73 65 72 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 73 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f user.configurations...........//
22a0 2f 20 55 73 69 6e 67 20 74 68 65 20 62 69 6e 64 69 6e 67 20 49 44 2c 20 61 6e 20 6f 76 65 72 72 /.Using.the.binding.ID,.an.overr
22c0 69 64 65 20 63 61 6e 20 72 65 6d 61 69 6e 20 61 73 73 6f 63 69 61 74 65 64 20 77 69 74 68 20 6f ide.can.remain.associated.with.o
22e0 6e 65 20 73 70 65 63 69 66 69 63 20 62 69 6e 64 69 6e 67 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f ne.specific.binding...........//
2300 2f 20 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 47 75 69 /.</remarks>..........public.Gui
2320 64 20 69 64 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 67 65 74 d.id..........{..............get
2340 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 ..............{.................
2360 20 2f 2f 2f 2f 52 45 56 49 45 57 3a 20 74 68 69 73 20 69 73 20 69 6e 63 6f 6e 73 69 73 74 65 6e .////REVIEW:.this.is.inconsisten
2380 74 20 77 69 74 68 20 49 6e 70 75 74 41 63 74 69 6f 6e 4d 61 70 20 61 6e 64 20 49 6e 70 75 74 41 t.with.InputActionMap.and.InputA
23a0 63 74 69 6f 6e 20 77 68 69 63 68 20 67 65 6e 65 72 61 74 65 20 49 44 73 2c 20 69 66 20 6e 65 63 ction.which.generate.IDs,.if.nec
23c0 65 73 73 61 72 79 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 73 74 72 69 essary..................if.(stri
23e0 6e 67 2e 49 73 4e 75 6c 6c 4f 72 45 6d 70 74 79 28 6d 5f 49 64 29 29 0d 0a 20 20 20 20 20 20 20 ng.IsNullOrEmpty(m_Id)).........
2400 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 6c 74 3b 0d 0a 20 20 .............return.default;....
2420 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 47 75 69 64 28 6d 5f ..............return.new.Guid(m_
2440 49 64 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 20 20 20 Id);..............}.............
2460 20 73 65 74 20 3d 3e 20 6d 5f 49 64 20 3d 20 76 61 6c 75 65 2e 54 6f 53 74 72 69 6e 67 28 29 3b .set.=>.m_Id.=.value.ToString();
2480 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 6d ..........}............///.<summ
24a0 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 43 6f 6e 74 72 6f 6c 20 70 61 74 68 20 62 ary>..........///.Control.path.b
24c0 65 69 6e 67 20 62 6f 75 6e 64 20 74 6f 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 eing.bound.to...........///.</su
24e0 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 61 74 68 20 mmary>..........///.<value>Path.
2500 6f 66 20 63 6f 6e 74 72 6f 6c 28 73 29 20 74 6f 20 73 6f 75 72 63 65 20 69 6e 70 75 74 20 66 72 of.control(s).to.source.input.fr
2520 6f 6d 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 61 72 6b om.</value>..........///.<remark
2540 73 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 42 69 6e 64 69 6e 67 73 20 72 65 66 65 72 65 6e s>..........///.Bindings.referen
2560 63 65 20 3c 73 65 65 20 63 72 65 66 3d 22 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 22 2f 3e 73 20 75 ce.<see.cref="InputControl"/>s.u
2580 73 69 6e 67 20 61 20 72 65 67 75 6c 61 72 20 65 78 70 72 65 73 73 69 6f 6e 2d 6c 69 6b 65 0d 0a sing.a.regular.expression-like..
25a0 20 20 20 20 20 20 20 20 2f 2f 2f 20 6c 61 6e 67 75 61 67 65 2e 20 53 65 65 20 3c 73 65 65 20 63 ........///.language..See.<see.c
25c0 72 65 66 3d 22 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 50 61 74 68 22 2f 3e 20 66 6f 72 20 64 65 74 ref="InputControlPath"/>.for.det
25e0 61 69 6c 73 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 ails...........///..........///.
2600 49 66 20 74 68 65 20 62 69 6e 64 69 6e 67 20 69 73 20 61 20 63 6f 6d 70 6f 73 69 74 65 20 28 3c If.the.binding.is.a.composite.(<
2620 73 65 65 20 63 72 65 66 3d 22 69 73 43 6f 6d 70 6f 73 69 74 65 22 2f 3e 29 2c 20 74 68 65 20 70 see.cref="isComposite"/>),.the.p
2640 61 74 68 20 69 73 20 74 68 65 20 63 6f 6d 70 6f 73 69 74 65 0d 0a 20 20 20 20 20 20 20 20 2f 2f ath.is.the.composite..........//
2660 2f 20 73 74 72 69 6e 67 20 69 6e 73 74 65 61 64 2e 20 46 6f 72 20 65 78 61 6d 70 6c 65 2c 20 66 /.string.instead..For.example,.f
2680 6f 72 20 61 20 3c 73 65 65 20 63 72 65 66 3d 22 43 6f 6d 70 6f 73 69 74 65 73 2e 56 65 63 74 6f or.a.<see.cref="Composites.Vecto
26a0 72 32 43 6f 6d 70 6f 73 69 74 65 22 2f 3e 2c 20 74 68 65 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f r2Composite"/>,.the..........///
26c0 20 70 61 74 68 20 63 6f 75 6c 64 20 62 65 20 73 6f 6d 65 74 68 69 6e 67 20 6c 69 6b 65 20 3c 63 .path.could.be.something.like.<c
26e0 3e 22 56 65 63 74 6f 72 32 28 6e 6f 72 6d 61 6c 69 7a 65 3d 66 61 6c 73 65 29 22 3c 2f 63 3e 2e >"Vector2(normalize=false)"</c>.
2700 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 54 68 65 20 70 ..........///..........///.The.p
2720 61 74 68 20 6f 66 20 61 20 62 69 6e 64 69 6e 67 20 6d 61 79 20 62 65 20 6e 6f 6e 2d 64 65 73 74 ath.of.a.binding.may.be.non-dest
2740 72 75 63 74 69 76 65 6c 79 20 6f 76 65 72 72 69 64 65 20 61 74 20 72 75 6e 74 69 6d 65 20 75 73 ructively.override.at.runtime.us
2760 69 6e 67 20 3c 73 65 65 20 63 72 65 66 3d 22 6f 76 65 72 72 69 64 65 50 61 74 68 22 2f 3e 0d 0a ing.<see.cref="overridePath"/>..
2780 20 20 20 20 20 20 20 20 2f 2f 2f 20 77 68 69 63 68 20 75 6e 6c 69 6b 65 20 74 68 69 73 20 70 72 ........///.which.unlike.this.pr
27a0 6f 70 65 72 74 79 20 69 73 20 6e 6f 74 20 73 65 72 69 61 6c 69 7a 65 64 2e 20 3c 73 65 65 20 63 operty.is.not.serialized..<see.c
27c0 72 65 66 3d 22 65 66 66 65 63 74 69 76 65 50 61 74 68 22 2f 3e 20 72 65 70 72 65 73 65 6e 74 73 ref="effectivePath"/>.represents
27e0 20 74 68 65 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 66 69 6e 61 6c 2c 20 65 66 66 65 63 74 69 .the..........///.final,.effecti
2800 76 65 20 70 61 74 68 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 ve.path...........///.</remarks>
2820 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 65 78 61 6d 70 6c 65 3e 0d 0a 20 20 20 20 20 20 20 ..........///.<example>.........
2840 20 2f 2f 2f 20 3c 63 6f 64 65 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 2f 2f 20 41 20 62 69 .///.<code>..........///.//.A.bi
2860 6e 64 69 6e 67 20 74 68 61 74 20 72 65 66 65 72 65 6e 63 65 73 20 74 68 65 20 6c 65 66 74 20 6d nding.that.references.the.left.m
2880 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 6e 65 77 20 49 6e ouse.button...........///.new.In
28a0 70 75 74 42 69 6e 64 69 6e 67 20 7b 20 70 61 74 68 20 3d 20 22 26 6c 74 3b 4d 6f 75 73 65 26 67 putBinding.{.path.=."&lt;Mouse&g
28c0 74 3b 2f 6c 65 66 74 42 75 74 74 6f 6e 22 20 7d 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f t;/leftButton".}..........///.</
28e0 63 6f 64 65 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 65 78 61 6d 70 6c 65 3e 0d 0a 20 code>..........///.</example>...
2900 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 73 74 72 69 6e 67 20 70 61 74 68 0d 0a 20 20 20 20 20 .......public.string.path.......
2920 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 20 3d 3e 20 6d 5f 50 61 74 68 3b ...{..............get.=>.m_Path;
2940 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 65 74 20 3d 3e 20 6d 5f 50 61 74 68 20 3d 20 76 61 ..............set.=>.m_Path.=.va
2960 6c 75 65 3b 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 lue;..........}............///.<
2980 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 49 66 20 74 68 65 20 62 69 6e summary>..........///.If.the.bin
29a0 64 69 6e 67 20 69 73 20 6f 76 65 72 72 69 64 64 65 6e 2c 20 74 68 69 73 20 69 73 20 74 68 65 20 ding.is.overridden,.this.is.the.
29c0 6f 76 65 72 72 69 64 69 6e 67 20 70 61 74 68 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 4f 74 overriding.path...........///.Ot
29e0 68 65 72 77 69 73 65 20 69 74 20 69 73 20 6e 75 6c 6c 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f herwise.it.is.null...........///
2a00 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 3e .</summary>..........///.<value>
2a20 50 61 74 68 20 74 6f 20 6f 76 65 72 72 69 64 65 20 74 68 65 20 3c 73 65 65 20 63 72 65 66 3d 22 Path.to.override.the.<see.cref="
2a40 70 61 74 68 22 2f 3e 20 70 72 6f 70 65 72 74 79 20 77 69 74 68 2e 3c 2f 76 61 6c 75 65 3e 0d 0a path"/>.property.with.</value>..
2a60 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 20 20 2f ........///.<remarks>........../
2a80 2f 2f 20 55 6e 6c 69 6b 65 20 74 68 65 20 3c 73 65 65 20 63 72 65 66 3d 22 70 61 74 68 22 2f 3e //.Unlike.the.<see.cref="path"/>
2aa0 20 70 72 6f 70 65 72 74 79 2c 20 74 68 65 20 76 61 6c 75 65 20 6f 66 20 74 68 65 20 6f 76 65 72 .property,.the.value.of.the.over
2ac0 72 69 64 65 20 70 61 74 68 20 69 73 20 6e 6f 74 20 73 65 72 69 61 6c 69 7a 65 64 2e 0d 0a 20 20 ride.path.is.not.serialized.....
2ae0 20 20 20 20 20 20 2f 2f 2f 20 49 66 20 73 65 74 2c 20 69 74 20 77 69 6c 6c 20 74 61 6b 65 20 70 ......///.If.set,.it.will.take.p
2b00 72 65 63 65 64 65 6e 63 65 20 61 6e 64 20 64 65 74 65 72 6d 69 6e 65 20 74 68 65 20 72 65 73 75 recedence.and.determine.the.resu
2b20 6c 74 20 6f 66 20 3c 73 65 65 20 63 72 65 66 3d 22 65 66 66 65 63 74 69 76 65 50 61 74 68 22 2f lt.of.<see.cref="effectivePath"/
2b40 3e 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 54 68 69 >...........///..........///.Thi
2b60 73 20 70 72 6f 70 65 72 74 79 20 63 61 6e 20 62 65 20 73 65 74 20 74 6f 20 61 6e 20 65 6d 70 74 s.property.can.be.set.to.an.empt
2b80 79 20 73 74 72 69 6e 67 20 74 6f 20 64 69 73 61 62 6c 65 20 74 68 65 20 62 69 6e 64 69 6e 67 2e y.string.to.disable.the.binding.
2ba0 20 44 75 72 69 6e 67 20 72 65 73 6f 6c 75 74 69 6f 6e 2c 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f .During.resolution,..........///
2bc0 20 62 69 6e 64 69 6e 67 73 20 77 69 74 68 20 61 6e 20 65 6d 70 74 79 20 3c 73 65 65 20 63 72 65 .bindings.with.an.empty.<see.cre
2be0 66 3d 22 65 66 66 65 63 74 69 76 65 50 61 74 68 22 2f 3e 20 77 69 6c 6c 20 67 65 74 20 73 6b 69 f="effectivePath"/>.will.get.ski
2c00 70 70 65 64 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 pped...........///..........///.
2c20 54 6f 20 73 65 74 20 74 68 65 20 6f 76 65 72 72 69 64 65 20 6f 6e 20 61 6e 20 65 78 69 73 74 69 To.set.the.override.on.an.existi
2c40 6e 67 20 62 69 6e 64 69 6e 67 2c 20 75 73 65 20 74 68 65 20 6d 65 74 68 6f 64 73 20 73 75 70 70 ng.binding,.use.the.methods.supp
2c60 6c 69 65 64 20 62 79 20 3c 73 65 65 20 63 72 65 66 3d 22 49 6e 70 75 74 41 63 74 69 6f 6e 52 65 lied.by.<see.cref="InputActionRe
2c80 62 69 6e 64 69 6e 67 45 78 74 65 6e 73 69 6f 6e 73 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f bindingExtensions"/>..........//
2ca0 2f 20 73 75 63 68 20 61 73 20 3c 73 65 65 20 63 72 65 66 3d 22 49 6e 70 75 74 41 63 74 69 6f 6e /.such.as.<see.cref="InputAction
2cc0 52 65 62 69 6e 64 69 6e 67 45 78 74 65 6e 73 69 6f 6e 73 2e 41 70 70 6c 79 42 69 6e 64 69 6e 67 RebindingExtensions.ApplyBinding
2ce0 4f 76 65 72 72 69 64 65 28 49 6e 70 75 74 41 63 74 69 6f 6e 2c 73 74 72 69 6e 67 2c 73 74 72 69 Override(InputAction,string,stri
2d00 6e 67 2c 73 74 72 69 6e 67 29 22 2f 3e 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 0d 0a 20 20 20 ng,string)"/>...........///.....
2d20 20 20 20 20 20 2f 2f 2f 20 3c 65 78 61 6d 70 6c 65 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 .....///.<example>..........///.
2d40 3c 63 6f 64 65 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 2f 2f 20 4f 76 65 72 72 69 64 65 20 <code>..........///.//.Override.
2d60 74 68 65 20 62 69 6e 64 69 6e 67 20 74 6f 20 26 6c 74 3b 47 61 6d 65 70 61 64 26 67 74 3b 2f 62 the.binding.to.&lt;Gamepad&gt;/b
2d80 75 74 74 6f 6e 53 6f 75 74 68 20 6f 6e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 2f 2f 20 6d 79 uttonSouth.on..........///.//.my
2da0 41 63 74 69 6f 6e 20 77 69 74 68 20 61 20 62 69 6e 64 69 6e 67 20 74 6f 20 26 6c 74 3b 47 61 6d Action.with.a.binding.to.&lt;Gam
2dc0 65 70 61 64 26 67 74 3b 2f 62 75 74 74 6f 6e 4e 6f 72 74 68 2e 0d 0a 20 20 20 20 20 20 20 20 2f epad&gt;/buttonNorth.........../
2de0 2f 2f 20 6d 79 41 63 74 69 6f 6e 2e 41 70 70 6c 79 42 69 6e 64 69 6e 67 4f 76 65 72 72 69 64 65 //.myAction.ApplyBindingOverride
2e00 28 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 20 20 20 20 6e 65 77 20 49 6e 70 75 74 42 69 6e 64 (..........///.....new.InputBind
2e20 69 6e 67 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 ing..........///.....{..........
2e40 2f 2f 2f 20 20 20 20 20 20 20 20 20 70 61 74 68 20 3d 20 22 26 6c 74 3b 47 61 6d 65 70 61 64 26 ///.........path.=."&lt;Gamepad&
2e60 67 74 3b 2f 62 75 74 74 6f 6e 53 6f 75 74 68 22 2c 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 20 gt;/buttonSouth",..........///..
2e80 20 20 20 20 20 20 20 6f 76 65 72 72 69 64 65 50 61 74 68 20 3d 20 22 26 6c 74 3b 47 61 6d 65 70 .......overridePath.=."&lt;Gamep
2ea0 61 64 26 67 74 3b 2f 62 75 74 74 6f 6e 4e 6f 72 74 68 22 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f ad&gt;/buttonNorth"..........///
2ec0 20 20 20 20 20 7d 29 3b 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 63 6f 64 65 3e 0d 0a 20 .....});..........///.</code>...
2ee0 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 65 78 61 6d 70 6c 65 3e 0d 0a 20 20 20 20 20 20 20 20 2f .......///.</example>........../
2f00 2f 2f 20 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 73 74 //.</remarks>..........public.st
2f20 72 69 6e 67 20 6f 76 65 72 72 69 64 65 50 61 74 68 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 ring.overridePath..........{....
2f40 20 20 20 20 20 20 20 20 20 20 67 65 74 20 3d 3e 20 6d 5f 4f 76 65 72 72 69 64 65 50 61 74 68 3b ..........get.=>.m_OverridePath;
2f60 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 65 74 20 3d 3e 20 6d 5f 4f 76 65 72 72 69 64 65 50 ..............set.=>.m_OverrideP
2f80 61 74 68 20 3d 20 76 61 6c 75 65 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 ath.=.value;..........}.........
2fa0 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 4f 70 ...///.<summary>..........///.Op
2fc0 74 69 6f 6e 61 6c 20 6c 69 73 74 20 6f 66 20 69 6e 74 65 72 61 63 74 69 6f 6e 73 20 61 6e 64 20 tional.list.of.interactions.and.
2fe0 74 68 65 69 72 20 70 61 72 61 6d 65 74 65 72 73 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c their.parameters...........///.<
3000 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 49 6e /summary>..........///.<value>In
3020 74 65 72 61 63 74 69 6f 6e 73 20 74 6f 20 70 75 74 20 6f 6e 20 74 68 65 20 62 69 6e 64 69 6e 67 teractions.to.put.on.the.binding
3040 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 61 72 6b 73 3e .</value>..........///.<remarks>
3060 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 45 61 63 68 20 65 6c 65 6d 65 6e 74 20 69 6e 20 74 68 ..........///.Each.element.in.th
3080 65 20 6c 69 73 74 20 69 73 20 61 20 6e 61 6d 65 20 6f 66 20 61 6e 20 69 6e 74 65 72 61 63 74 69 e.list.is.a.name.of.an.interacti
30a0 6f 6e 20 28 61 73 20 72 65 67 69 73 74 65 72 65 64 20 77 69 74 68 0d 0a 20 20 20 20 20 20 20 20 on.(as.registered.with..........
30c0 2f 2f 2f 20 3c 73 65 65 20 63 72 65 66 3d 22 49 6e 70 75 74 53 79 73 74 65 6d 2e 52 65 67 69 73 ///.<see.cref="InputSystem.Regis
30e0 74 65 72 49 6e 74 65 72 61 63 74 69 6f 6e 7b 54 7d 22 2f 3e 29 20 66 6f 6c 6c 6f 77 65 64 20 62 terInteraction{T}"/>).followed.b
3100 79 20 61 6e 20 6f 70 74 69 6f 6e 61 6c 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 6c 69 73 74 20 y.an.optional..........///.list.
3120 6f 66 20 70 61 72 61 6d 65 74 65 72 73 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 0d 0a 20 20 20 of.parameters...........///.....
3140 20 20 20 20 20 2f 2f 2f 20 46 6f 72 20 65 78 61 6d 70 6c 65 2c 20 3c 63 3e 22 73 6c 6f 77 54 61 .....///.For.example,.<c>"slowTa
3160 70 28 64 75 72 61 74 69 6f 6e 3d 31 2e 32 2c 70 72 65 73 73 50 6f 69 6e 74 3d 30 2e 31 32 33 29 p(duration=1.2,pressPoint=0.123)
3180 22 3c 2f 63 3e 20 69 73 20 6f 6e 65 20 65 6c 65 6d 65 6e 74 0d 0a 20 20 20 20 20 20 20 20 2f 2f "</c>.is.one.element..........//
31a0 2f 20 74 68 61 74 20 70 75 74 73 20 61 20 3c 73 65 65 20 63 72 65 66 3d 22 49 6e 74 65 72 61 63 /.that.puts.a.<see.cref="Interac
31c0 74 69 6f 6e 73 2e 53 6c 6f 77 54 61 70 49 6e 74 65 72 61 63 74 69 6f 6e 22 2f 3e 20 6f 6e 20 74 tions.SlowTapInteraction"/>.on.t
31e0 68 65 20 62 69 6e 64 69 6e 67 20 61 6e 64 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 73 65 74 73 he.binding.and..........///.sets
3200 20 3c 73 65 65 20 63 72 65 66 3d 22 49 6e 74 65 72 61 63 74 69 6f 6e 73 2e 53 6c 6f 77 54 61 70 .<see.cref="Interactions.SlowTap
3220 49 6e 74 65 72 61 63 74 69 6f 6e 2e 64 75 72 61 74 69 6f 6e 22 2f 3e 20 74 6f 20 31 2e 32 20 61 Interaction.duration"/>.to.1.2.a
3240 6e 64 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 65 65 20 63 72 65 66 3d 22 49 6e 74 65 72 nd..........///.<see.cref="Inter
3260 61 63 74 69 6f 6e 73 2e 53 6c 6f 77 54 61 70 49 6e 74 65 72 61 63 74 69 6f 6e 2e 70 72 65 73 73 actions.SlowTapInteraction.press
3280 50 6f 69 6e 74 22 2f 3e 20 74 6f 20 30 2e 31 32 33 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 0d Point"/>.to.0.123...........///.
32a0 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 4d 75 6c 74 69 70 6c 65 20 69 6e 74 65 72 61 63 74 69 6f .........///.Multiple.interactio
32c0 6e 73 20 63 61 6e 20 62 65 20 70 75 74 20 6f 6e 20 61 20 62 69 6e 64 69 6e 67 20 62 79 20 73 65 ns.can.be.put.on.a.binding.by.se
32e0 70 61 72 61 74 69 6e 67 20 74 68 65 6d 20 77 69 74 68 20 61 20 63 6f 6d 6d 61 2e 0d 0a 20 20 20 parating.them.with.a.comma......
3300 20 20 20 20 20 2f 2f 2f 20 46 6f 72 20 65 78 61 6d 70 6c 65 2c 20 3c 63 3e 22 74 61 70 2c 73 6c .....///.For.example,.<c>"tap,sl
3320 6f 77 54 61 70 28 64 75 72 61 74 69 6f 6e 3d 31 2e 32 29 22 3c 2f 63 3e 20 70 75 74 73 20 62 6f owTap(duration=1.2)"</c>.puts.bo
3340 74 68 20 61 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 65 65 20 63 72 65 66 3d 22 49 6e 74 th.a..........///.<see.cref="Int
3360 65 72 61 63 74 69 6f 6e 73 2e 54 61 70 49 6e 74 65 72 61 63 74 69 6f 6e 22 2f 3e 20 61 6e 64 20 eractions.TapInteraction"/>.and.
3380 3c 73 65 65 20 63 72 65 66 3d 22 49 6e 74 65 72 61 63 74 69 6f 6e 73 2e 53 6c 6f 77 54 61 70 49 <see.cref="Interactions.SlowTapI
33a0 6e 74 65 72 61 63 74 69 6f 6e 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 6f 6e 20 74 68 nteraction"/>..........///.on.th
33c0 65 20 62 69 6e 64 69 6e 67 2e 20 53 65 65 20 3c 73 65 65 20 63 72 65 66 3d 22 49 49 6e 70 75 74 e.binding..See.<see.cref="IInput
33e0 49 6e 74 65 72 61 63 74 69 6f 6e 22 2f 3e 20 66 6f 72 20 77 68 79 20 74 68 65 20 6f 72 64 65 72 Interaction"/>.for.why.the.order
3400 20 6d 61 74 74 65 72 73 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 72 65 6d 61 72 6b 73 .matters...........///.</remarks
3420 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 49 49 >..........///.<seealso.cref="II
3440 6e 70 75 74 49 6e 74 65 72 61 63 74 69 6f 6e 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c nputInteraction"/>..........publ
3460 69 63 20 73 74 72 69 6e 67 20 69 6e 74 65 72 61 63 74 69 6f 6e 73 0d 0a 20 20 20 20 20 20 20 20 ic.string.interactions..........
3480 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 20 3d 3e 20 6d 5f 49 6e 74 65 72 61 63 74 {..............get.=>.m_Interact
34a0 69 6f 6e 73 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 65 74 20 3d 3e 20 6d 5f 49 6e 74 65 ions;..............set.=>.m_Inte
34c0 72 61 63 74 69 6f 6e 73 20 3d 20 76 61 6c 75 65 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a ractions.=.value;..........}....
34e0 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>........../
3500 2f 2f 20 49 6e 74 65 72 61 63 74 69 6f 6e 20 73 65 74 74 69 6e 67 73 20 74 6f 20 6f 76 65 72 72 //.Interaction.settings.to.overr
3520 69 64 65 20 3c 73 65 65 20 63 72 65 66 3d 22 69 6e 74 65 72 61 63 74 69 6f 6e 73 22 2f 3e 20 77 ide.<see.cref="interactions"/>.w
3540 69 74 68 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 ith...........///.</summary>....
3560 20 20 20 20 20 20 2f 2f 2f 20 3c 76 61 6c 75 65 3e 4f 76 65 72 72 69 64 65 20 73 74 72 69 6e 67 ......///.<value>Override.string
3580 20 66 6f 72 20 3c 73 65 65 20 63 72 65 66 3d 22 69 6e 74 65 72 61 63 74 69 6f 6e 73 22 2f 3e 20 .for.<see.cref="interactions"/>.
35a0 6f 72 20 3c 63 3e 6e 75 6c 6c 3c 2f 63 3e 2e 3c 2f 76 61 6c 75 65 3e 0d 0a 20 20 20 20 20 20 20 or.<c>null</c>.</value>.........
35c0 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 49 66 20 74 .///.<remarks>..........///.If.t
35e0 68 69 73 20 69 73 20 6e 6f 74 20 3c 63 3e 6e 75 6c 6c 3c 2f 63 3e 2c 20 69 74 20 72 65 70 6c 61 his.is.not.<c>null</c>,.it.repla
3600 63 65 73 20 74 68 65 20 76 61 6c 75 65 20 6f 66 20 3c 73 65 65 20 63 72 65 66 3d 22 69 6e 74 65 ces.the.value.of.<see.cref="inte
3620 72 61 63 74 69 6f 6e 73 22 2f 3e 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 72 65 6d 61 ractions"/>...........///.</rema
3640 72 6b 73 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 rks>..........///.<seealso.cref=
3660 22 65 66 66 65 63 74 69 76 65 49 6e 74 65 72 61 63 74 69 6f 6e 73 22 2f 3e 0d 0a 20 20 20 20 20 "effectiveInteractions"/>.......
3680 20 20 20 70 75 62 6c 69 63 20 73 74 72 69 6e 67 20 6f 76 65 72 72 69 64 65 49 6e 74 65 72 61 63 ...public.string.overrideInterac
36a0 74 69 6f 6e 73 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 67 65 tions..........{..............ge
36c0 74 20 3d 3e 20 6d 5f 4f 76 65 72 72 69 64 65 49 6e 74 65 72 61 63 74 69 6f 6e 73 3b 0d 0a 20 20 t.=>.m_OverrideInteractions;....
36e0 20 20 20 20 20 20 20 20 20 20 73 65 74 20 3d 3e 20 6d 5f 4f 76 65 72 72 69 64 65 49 6e 74 65 72 ..........set.=>.m_OverrideInter
3700 61 63 74 69 6f 6e 73 20 3d 20 76 61 6c 75 65 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 actions.=.value;..........}.....
3720 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>..........//
3740 2f 20 4f 70 74 69 6f 6e 61 6c 20 6c 69 73 74 20 6f 66 20 70 72 6f 63 65 73 73 6f 72 73 20 74 6f /.Optional.list.of.processors.to
3760 20 61 70 70 6c 79 20 74 6f 20 63 6f 6e 74 72 6f 6c 20 76 61 6c 75 65 73 2e 0d 0a 20 20 20 20 20 .apply.to.control.values........
3780 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 20 3c ...///.</summary>..........///.<
37a0 76 61 6c 75 65 3e 56 61 6c 75 65 20 70 72 6f 63 65 73 73 6f 72 73 20 74 6f 20 61 70 70 6c 79 20 value>Value.processors.to.apply.
37c0 74 6f 20 74 68 65 20 62 69 6e 64 69 6e 67 2e 3c 2f 76 61 6c 75 65 3e 0d 0a 20 20 20 20 20 20 20 to.the.binding.</value>.........
37e0 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 69 73 .///.<remarks>..........///.This
3800 20 73 74 72 69 6e 67 20 68 61 73 20 74 68 65 20 73 61 6d 65 20 66 6f 72 6d 61 74 20 61 73 20 3c .string.has.the.same.format.as.<
3820 73 65 65 20 63 72 65 66 3d 22 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 41 74 74 72 69 62 75 74 65 2e see.cref="InputControlAttribute.
3840 70 72 6f 63 65 73 73 6f 72 73 22 2f 3e 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 72 65 processors"/>...........///.</re
3860 6d 61 72 6b 73 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 marks>..........///.<seealso.cre
3880 66 3d 22 49 6e 70 75 74 50 72 6f 63 65 73 73 6f 72 7b 54 56 61 6c 75 65 7d 22 2f 3e 0d 0a 20 20 f="InputProcessor{TValue}"/>....
38a0 20 20 20 20 20 20 70 75 62 6c 69 63 20 73 74 72 69 6e 67 20 70 72 6f 63 65 73 73 6f 72 73 0d 0a ......public.string.processors..
38c0 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 20 3d 3e 20 6d 5f ........{..............get.=>.m_
38e0 50 72 6f 63 65 73 73 6f 72 73 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 65 74 20 3d 3e 20 Processors;..............set.=>.
3900 6d 5f 50 72 6f 63 65 73 73 6f 72 73 20 3d 20 76 61 6c 75 65 3b 0d 0a 20 20 20 20 20 20 20 20 7d m_Processors.=.value;..........}
3920 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 20 20 ............///.<summary>.......
3940 20 20 20 2f 2f 2f 20 50 72 6f 63 65 73 73 6f 72 20 73 65 74 74 69 6e 67 73 20 74 6f 20 6f 76 65 ...///.Processor.settings.to.ove
3960 72 72 69 64 65 20 3c 73 65 65 20 63 72 65 66 3d 22 70 72 6f 63 65 73 73 6f 72 73 22 2f 3e 20 77 rride.<see.cref="processors"/>.w
3980 69 74 68 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 ith...........///.</summary>....
39a0 20 20 20 20 20 20 2f 2f 2f 20 3c 76 61 6c 75 65 3e 4f 76 65 72 72 69 64 65 20 73 74 72 69 6e 67 ......///.<value>Override.string
39c0 20 66 6f 72 20 3c 73 65 65 20 63 72 65 66 3d 22 70 72 6f 63 65 73 73 6f 72 73 22 2f 3e 20 6f 72 .for.<see.cref="processors"/>.or
39e0 20 3c 63 3e 6e 75 6c 6c 3c 2f 63 3e 2e 3c 2f 76 61 6c 75 65 3e 0d 0a 20 20 20 20 20 20 20 20 2f .<c>null</c>.</value>........../
3a00 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 49 66 20 74 68 69 //.<remarks>..........///.If.thi
3a20 73 20 69 73 20 6e 6f 74 20 3c 63 3e 6e 75 6c 6c 3c 2f 63 3e 2c 20 69 74 20 72 65 70 6c 61 63 65 s.is.not.<c>null</c>,.it.replace
3a40 73 20 74 68 65 20 76 61 6c 75 65 20 6f 66 20 3c 73 65 65 20 63 72 65 66 3d 22 70 72 6f 63 65 73 s.the.value.of.<see.cref="proces
3a60 73 6f 72 73 22 2f 3e 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 sors"/>...........///.</remarks>
3a80 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 65 66 66 ..........///.<seealso.cref="eff
3aa0 65 63 74 69 76 65 50 72 6f 63 65 73 73 6f 72 73 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 ectiveProcessors"/>..........pub
3ac0 6c 69 63 20 73 74 72 69 6e 67 20 6f 76 65 72 72 69 64 65 50 72 6f 63 65 73 73 6f 72 73 0d 0a 20 lic.string.overrideProcessors...
3ae0 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 20 3d 3e 20 6d 5f 4f .......{..............get.=>.m_O
3b00 76 65 72 72 69 64 65 50 72 6f 63 65 73 73 6f 72 73 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 verrideProcessors;..............
3b20 73 65 74 20 3d 3e 20 6d 5f 4f 76 65 72 72 69 64 65 50 72 6f 63 65 73 73 6f 72 73 20 3d 20 76 61 set.=>.m_OverrideProcessors.=.va
3b40 6c 75 65 3b 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 lue;..........}............///.<
3b60 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 4f 70 74 69 6f 6e 61 6c 20 6c summary>..........///.Optional.l
3b80 69 73 74 20 6f 66 20 62 69 6e 64 69 6e 67 20 67 72 6f 75 70 73 20 74 68 61 74 20 74 68 65 20 62 ist.of.binding.groups.that.the.b
3ba0 69 6e 64 69 6e 67 20 62 65 6c 6f 6e 67 73 20 74 6f 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 inding.belongs.to...........///.
3bc0 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 4c </summary>..........///.<value>L
3be0 69 73 74 20 6f 66 20 62 69 6e 64 69 6e 67 20 67 72 6f 75 70 73 20 6f 72 20 3c 63 3e 6e 75 6c 6c ist.of.binding.groups.or.<c>null
3c00 3c 2f 63 3e 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 61 </c>.</value>..........///.<rema
3c20 72 6b 73 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 54 68 69 73 20 69 73 20 75 73 65 64 2c 20 rks>..........///.This.is.used,.
3c40 66 6f 72 20 65 78 61 6d 70 6c 65 2c 20 74 6f 20 64 69 76 69 64 65 20 62 69 6e 64 69 6e 67 73 20 for.example,.to.divide.bindings.
3c60 69 6e 74 6f 20 3c 73 65 65 20 63 72 65 66 3d 22 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 53 63 68 65 into.<see.cref="InputControlSche
3c80 6d 65 22 2f 3e 73 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 45 61 63 68 20 63 6f 6e 74 72 6f me"/>s...........///.Each.contro
3ca0 6c 20 73 63 68 65 6d 65 20 69 73 20 61 73 73 6f 63 69 61 74 65 64 20 77 69 74 68 20 61 20 75 6e l.scheme.is.associated.with.a.un
3cc0 69 71 75 65 20 62 69 6e 64 69 6e 67 20 67 72 6f 75 70 20 74 68 72 6f 75 67 68 20 3c 73 65 65 0d ique.binding.group.through.<see.
3ce0 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 63 72 65 66 3d 22 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 53 .........///.cref="InputControlS
3d00 63 68 65 6d 65 2e 62 69 6e 64 69 6e 67 47 72 6f 75 70 22 2f 3e 2e 0d 0a 20 20 20 20 20 20 20 20 cheme.bindingGroup"/>...........
3d20 2f 2f 2f 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 41 20 62 69 6e 64 69 6e 67 20 6d 61 79 20 62 ///..........///.A.binding.may.b
3d40 65 20 61 73 73 6f 63 69 61 74 65 64 20 77 69 74 68 20 6d 75 6c 74 69 70 6c 65 20 67 72 6f 75 70 e.associated.with.multiple.group
3d60 73 20 62 79 20 6c 69 73 74 69 6e 67 20 65 61 63 68 20 67 72 6f 75 70 20 6e 61 6d 65 0d 0a 20 20 s.by.listing.each.group.name....
3d80 20 20 20 20 20 20 2f 2f 2f 20 73 65 70 61 72 61 74 65 20 62 79 20 61 20 73 65 6d 69 63 6f 6c 6f ......///.separate.by.a.semicolo
3da0 6e 20 28 3c 73 65 65 20 63 72 65 66 3d 22 53 65 70 61 72 61 74 6f 72 22 2f 3e 29 2e 0d 0a 20 20 n.(<see.cref="Separator"/>).....
3dc0 20 20 20 20 20 20 2f 2f 2f 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 65 78 61 6d 70 6c 65 3e ......///..........///.<example>
3de0 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 63 6f 64 65 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f ..........///.<code>..........//
3e00 2f 20 6e 65 77 20 49 6e 70 75 74 42 69 6e 64 69 6e 67 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 /.new.InputBinding..........///.
3e20 7b 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 20 20 20 20 70 61 74 68 20 3d 20 22 2a 2f 7b 50 72 {..........///.....path.=."*/{Pr
3e40 69 6d 61 72 79 41 63 74 69 6f 6e 7d 2c 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 20 20 20 20 2f imaryAction},..........///...../
3e60 2f 20 41 73 73 6f 63 69 61 74 65 20 74 68 65 20 62 69 6e 64 69 6e 67 20 62 6f 74 68 20 77 69 74 /.Associate.the.binding.both.wit
3e80 68 20 74 68 65 20 22 4b 65 79 62 6f 61 72 64 4d 6f 75 73 65 22 20 61 6e 64 0d 0a 20 20 20 20 20 h.the."KeyboardMouse".and.......
3ea0 20 20 20 2f 2f 2f 20 20 20 20 20 2f 2f 20 74 68 65 20 22 47 61 6d 65 70 61 64 22 20 67 72 6f 75 ...///.....//.the."Gamepad".grou
3ec0 70 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 20 20 20 20 67 72 6f 75 70 73 20 3d 20 22 4b 65 p...........///.....groups.=."Ke
3ee0 79 62 6f 61 72 64 4d 6f 75 73 65 3b 47 61 6d 65 70 61 64 22 2c 0d 0a 20 20 20 20 20 20 20 20 2f yboardMouse;Gamepad",........../
3f00 2f 2f 20 7d 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 63 6f 64 65 3e 0d 0a 20 20 20 20 20 //.}..........///.</code>.......
3f20 20 20 20 2f 2f 2f 20 3c 2f 65 78 61 6d 70 6c 65 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 0d 0a ...///.</example>..........///..
3f40 20 20 20 20 20 20 20 20 2f 2f 2f 20 4e 6f 74 65 20 74 68 61 74 20 74 68 65 20 73 79 73 74 65 6d ........///.Note.that.the.system
3f60 20 70 6c 61 63 65 73 20 6e 6f 20 72 65 73 74 72 69 63 74 69 6f 6e 20 6f 6e 20 77 68 61 74 20 62 .places.no.restriction.on.what.b
3f80 69 6e 64 69 6e 67 20 67 72 6f 75 70 73 20 61 72 65 20 75 73 65 64 0d 0a 20 20 20 20 20 20 20 20 inding.groups.are.used..........
3fa0 2f 2f 2f 20 66 6f 72 20 69 6e 20 70 72 61 63 74 69 63 65 2e 20 54 68 65 69 72 20 75 73 65 20 62 ///.for.in.practice..Their.use.b
3fc0 79 20 3c 73 65 65 20 63 72 65 66 3d 22 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 53 63 68 65 6d 65 22 y.<see.cref="InputControlScheme"
3fe0 2f 3e 20 69 73 20 6f 6e 6c 79 20 6f 6e 65 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 70 6f 73 73 />.is.only.one..........///.poss
4000 69 62 6c 65 20 6f 6e 65 2c 20 62 75 74 20 77 68 69 63 68 20 67 72 6f 75 70 73 20 74 6f 20 61 70 ible.one,.but.which.groups.to.ap
4020 70 6c 79 20 61 6e 64 20 68 6f 77 20 74 6f 20 75 73 65 20 74 68 65 6d 20 69 73 20 75 6c 74 69 6d ply.and.how.to.use.them.is.ultim
4040 61 74 65 6c 79 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 75 70 20 74 6f 20 79 6f 75 2e 0d 0a 20 ately..........///.up.to.you....
4060 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 20 20 2f .......///.</remarks>........../
4080 2f 2f 20 3c 73 65 65 61 6c 73 6f 20 63 72 65 66 3d 22 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 53 63 //.<seealso.cref="InputControlSc
40a0 68 65 6d 65 2e 62 69 6e 64 69 6e 67 47 72 6f 75 70 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 heme.bindingGroup"/>..........pu
40c0 62 6c 69 63 20 73 74 72 69 6e 67 20 67 72 6f 75 70 73 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 blic.string.groups..........{...
40e0 20 20 20 20 20 20 20 20 20 20 20 67 65 74 20 3d 3e 20 6d 5f 47 72 6f 75 70 73 3b 0d 0a 20 20 20 ...........get.=>.m_Groups;.....
4100 20 20 20 20 20 20 20 20 20 73 65 74 20 3d 3e 20 6d 5f 47 72 6f 75 70 73 20 3d 20 76 61 6c 75 65 .........set.=>.m_Groups.=.value
4120 3b 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
4140 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 4e 61 6d 65 20 6f 72 20 49 44 20 6f 66 mary>..........///.Name.or.ID.of
4160 20 74 68 65 20 61 63 74 69 6f 6e 20 74 72 69 67 67 65 72 65 64 20 62 79 20 74 68 65 20 62 69 6e .the.action.triggered.by.the.bin
4180 64 69 6e 67 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 ding...........///.</summary>...
41a0 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 20 20 2f 2f .......///.<remarks>..........//
41c0 2f 20 54 68 69 73 20 69 73 20 6e 75 6c 6c 20 69 66 20 74 68 65 20 62 69 6e 64 69 6e 67 20 64 6f /.This.is.null.if.the.binding.do
41e0 65 73 20 6e 6f 74 20 74 72 69 67 67 65 72 20 61 6e 20 61 63 74 69 6f 6e 2e 0d 0a 20 20 20 20 20 es.not.trigger.an.action........
4200 20 20 20 2f 2f 2f 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 46 6f 72 20 49 6e 70 75 74 42 69 6e ...///..........///.For.InputBin
4220 64 69 6e 67 73 20 74 68 61 74 20 61 72 65 20 75 73 65 64 20 61 73 20 6d 61 73 6b 73 2c 20 74 68 dings.that.are.used.as.masks,.th
4240 69 73 20 63 61 6e 20 62 65 20 61 20 22 6d 61 70 4e 61 6d 65 2f 61 63 74 69 6f 6e 4e 61 6d 65 22 is.can.be.a."mapName/actionName"
4260 20 63 6f 6d 62 69 6e 61 74 69 6f 6e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 6f 72 20 22 6d 61 .combination..........///.or."ma
4280 70 4e 61 6d 65 2f 2a 22 20 74 6f 20 6d 61 74 63 68 20 61 6c 6c 20 61 63 74 69 6f 6e 73 20 69 6e pName/*".to.match.all.actions.in
42a0 20 74 68 65 20 67 69 76 65 6e 20 6d 61 70 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 72 .the.given.map...........///.</r
42c0 65 6d 61 72 6b 73 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 emarks>..........///.<seealso.cr
42e0 65 66 3d 22 49 6e 70 75 74 41 63 74 69 6f 6e 2e 6e 61 6d 65 22 2f 3e 0d 0a 20 20 20 20 20 20 20 ef="InputAction.name"/>.........
4300 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 41 63 74 69 6f 6e 2e .///.<seealso.cref="InputAction.
4320 69 64 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 73 74 72 69 6e 67 20 61 63 74 id"/>..........public.string.act
4340 69 6f 6e 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 67 65 74 20 ion..........{..............get.
4360 3d 3e 20 6d 5f 41 63 74 69 6f 6e 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 65 74 20 3d 3e =>.m_Action;..............set.=>
4380 20 6d 5f 41 63 74 69 6f 6e 20 3d 20 76 61 6c 75 65 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d .m_Action.=.value;..........}...
43a0 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>..........
43c0 2f 2f 2f 20 57 68 65 74 68 65 72 20 74 68 65 20 62 69 6e 64 69 6e 67 20 69 73 20 61 20 63 6f 6d ///.Whether.the.binding.is.a.com
43e0 70 6f 73 69 74 65 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 posite...........///.</summary>.
4400 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 76 61 6c 75 65 3e 54 72 75 65 20 69 66 20 74 68 65 20 .........///.<value>True.if.the.
4420 62 69 6e 64 69 6e 67 20 69 73 20 61 20 63 6f 6d 70 6f 73 69 74 65 2e 3c 2f 76 61 6c 75 65 3e 0d binding.is.a.composite.</value>.
4440 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 20 20 .........///.<remarks>..........
4460 2f 2f 2f 20 43 6f 6d 70 6f 73 69 74 65 20 62 69 6e 64 69 6e 67 73 20 74 6f 20 6e 6f 74 20 62 69 ///.Composite.bindings.to.not.bi
4480 6e 64 20 74 6f 20 63 6f 6e 74 72 6f 6c 73 20 74 6f 20 74 68 65 6d 73 65 6c 76 65 73 20 62 75 74 nd.to.controls.to.themselves.but
44a0 20 72 61 74 68 65 72 20 73 6f 75 72 63 65 20 74 68 65 69 72 0d 0a 20 20 20 20 20 20 20 20 2f 2f .rather.source.their..........//
44c0 2f 20 69 6e 70 75 74 20 66 72 6f 6d 20 6f 6e 65 20 6f 72 20 6d 6f 72 65 20 22 70 61 72 74 20 62 /.input.from.one.or.more."part.b
44e0 69 6e 64 69 6e 67 22 20 28 73 65 65 20 3c 73 65 65 20 63 72 65 66 3d 22 69 73 50 61 72 74 4f 66 inding".(see.<see.cref="isPartOf
4500 43 6f 6d 70 6f 73 69 74 65 22 2f 3e 29 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 0d 0a 20 20 20 Composite"/>)...........///.....
4520 20 20 20 20 20 2f 2f 2f 20 53 65 65 20 3c 73 65 65 20 63 72 65 66 3d 22 49 6e 70 75 74 42 69 6e .....///.See.<see.cref="InputBin
4540 64 69 6e 67 43 6f 6d 70 6f 73 69 74 65 7b 54 56 61 6c 75 65 7d 22 2f 3e 20 66 6f 72 20 6d 6f 72 dingComposite{TValue}"/>.for.mor
4560 65 20 64 65 74 61 69 6c 73 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 72 65 6d 61 72 6b e.details...........///.</remark
4580 73 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 49 s>..........///.<seealso.cref="I
45a0 6e 70 75 74 42 69 6e 64 69 6e 67 43 6f 6d 70 6f 73 69 74 65 7b 54 56 61 6c 75 65 7d 22 2f 3e 0d nputBindingComposite{TValue}"/>.
45c0 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 62 6f 6f 6c 20 69 73 43 6f 6d 70 6f 73 69 74 65 .........public.bool.isComposite
45e0 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 67 65 74 20 3d 3e 20 ..........{..............get.=>.
4600 28 6d 5f 46 6c 61 67 73 20 26 20 46 6c 61 67 73 2e 43 6f 6d 70 6f 73 69 74 65 29 20 3d 3d 20 46 (m_Flags.&.Flags.Composite).==.F
4620 6c 61 67 73 2e 43 6f 6d 70 6f 73 69 74 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 65 74 lags.Composite;..............set
4640 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 ..............{.................
4660 20 69 66 20 28 76 61 6c 75 65 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .if.(value).....................
4680 20 6d 5f 46 6c 61 67 73 20 7c 3d 20 46 6c 61 67 73 2e 43 6f 6d 70 6f 73 69 74 65 3b 0d 0a 20 20 .m_Flags.|=.Flags.Composite;....
46a0 20 20 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 20 ..............else..............
46c0 20 20 20 20 20 20 20 20 6d 5f 46 6c 61 67 73 20 26 3d 20 7e 46 6c 61 67 73 2e 43 6f 6d 70 6f 73 ........m_Flags.&=.~Flags.Compos
46e0 69 74 65 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 ite;..............}..........}..
4700 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>.........
4720 20 2f 2f 2f 20 57 68 65 74 68 65 72 20 74 68 65 20 62 69 6e 64 69 6e 67 20 69 73 20 61 20 22 70 .///.Whether.the.binding.is.a."p
4740 61 72 74 20 62 69 6e 64 69 6e 67 22 20 6f 66 20 61 20 63 6f 6d 70 6f 73 69 74 65 2e 0d 0a 20 20 art.binding".of.a.composite.....
4760 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>..........//
4780 2f 20 3c 76 61 6c 75 65 3e 54 72 75 65 20 69 66 20 74 68 65 20 62 69 6e 64 69 6e 67 20 69 73 20 /.<value>True.if.the.binding.is.
47a0 70 61 72 74 20 6f 66 20 61 20 63 6f 6d 70 6f 73 69 74 65 2e 3c 2f 76 61 6c 75 65 3e 0d 0a 20 20 part.of.a.composite.</value>....
47c0 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 20 20 2f 2f 2f ......///.<remarks>..........///
47e0 20 54 68 65 20 62 69 6e 64 69 6e 67 73 20 74 68 61 74 20 6d 61 6b 65 20 75 70 20 61 20 63 6f 6d .The.bindings.that.make.up.a.com
4800 70 6f 73 69 74 65 20 61 72 65 20 6c 61 69 64 20 6f 75 74 20 73 65 71 75 65 6e 74 69 61 6c 6c 79 posite.are.laid.out.sequentially
4820 20 69 6e 20 3c 73 65 65 20 63 72 65 66 3d 22 49 6e 70 75 74 41 63 74 69 6f 6e 4d 61 70 2e 62 69 .in.<see.cref="InputActionMap.bi
4840 6e 64 69 6e 67 73 22 2f 3e 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 46 69 72 73 74 20 63 6f ndings"/>...........///.First.co
4860 6d 65 73 20 74 68 65 20 63 6f 6d 70 6f 73 69 74 65 20 69 74 73 65 6c 66 20 77 68 69 63 68 20 69 mes.the.composite.itself.which.i
4880 73 20 66 6c 61 67 67 65 64 20 77 69 74 68 20 3c 73 65 65 20 63 72 65 66 3d 22 69 73 43 6f 6d 70 s.flagged.with.<see.cref="isComp
48a0 6f 73 69 74 65 22 2f 3e 2e 20 49 74 20 6d 65 6e 74 69 6f 6e 73 0d 0a 20 20 20 20 20 20 20 20 2f osite"/>..It.mentions........../
48c0 2f 2f 20 74 68 65 20 63 6f 6d 70 6f 73 69 74 65 20 61 6e 64 20 69 74 73 20 70 61 72 61 6d 65 74 //.the.composite.and.its.paramet
48e0 65 72 73 20 69 6e 20 69 74 73 20 3c 73 65 65 20 63 72 65 66 3d 22 70 61 74 68 22 2f 3e 20 70 72 ers.in.its.<see.cref="path"/>.pr
4900 6f 70 65 72 74 79 2e 20 41 66 74 65 72 20 74 68 65 20 63 6f 6d 70 6f 73 69 74 65 20 69 74 73 65 operty..After.the.composite.itse
4920 6c 66 20 63 6f 6d 65 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 74 68 65 20 70 61 72 74 20 62 69 lf.come..........///.the.part.bi
4940 6e 64 69 6e 67 73 2e 20 41 6c 6c 20 73 75 62 73 65 71 75 65 6e 74 20 62 69 6e 64 69 6e 67 73 20 ndings..All.subsequent.bindings.
4960 6d 61 72 6b 65 64 20 61 73 20 3c 63 3e 69 73 50 61 72 74 4f 66 43 6f 6d 70 6f 73 69 74 65 3c 2f marked.as.<c>isPartOfComposite</
4980 63 3e 20 77 69 6c 6c 20 62 65 20 61 73 73 6f 63 69 61 74 65 64 0d 0a 20 20 20 20 20 20 20 20 2f c>.will.be.associated........../
49a0 2f 2f 20 77 69 74 68 20 74 68 65 20 63 6f 6d 70 6f 73 69 74 65 2e 0d 0a 20 20 20 20 20 20 20 20 //.with.the.composite...........
49c0 2f 2f 2f 20 3c 2f 72 65 6d 61 72 6b 73 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 65 65 ///.</remarks>..........///.<see
49e0 61 6c 73 6f 20 63 72 65 66 3d 22 69 73 43 6f 6d 70 6f 73 69 74 65 22 2f 3e 0d 0a 20 20 20 20 20 also.cref="isComposite"/>.......
4a00 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 42 69 6e 64 69 ...///.<seealso.cref="InputBindi
4a20 6e 67 43 6f 6d 70 6f 73 69 74 65 7b 54 56 61 6c 75 65 7d 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 ngComposite{TValue}"/>..........
4a40 70 75 62 6c 69 63 20 62 6f 6f 6c 20 69 73 50 61 72 74 4f 66 43 6f 6d 70 6f 73 69 74 65 0d 0a 20 public.bool.isPartOfComposite...
4a60 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 20 3d 3e 20 28 6d 5f .......{..............get.=>.(m_
4a80 46 6c 61 67 73 20 26 20 46 6c 61 67 73 2e 50 61 72 74 4f 66 43 6f 6d 70 6f 73 69 74 65 29 20 3d Flags.&.Flags.PartOfComposite).=
4aa0 3d 20 46 6c 61 67 73 2e 50 61 72 74 4f 66 43 6f 6d 70 6f 73 69 74 65 3b 0d 0a 20 20 20 20 20 20 =.Flags.PartOfComposite;........
4ac0 20 20 20 20 20 20 73 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 ......set..............{........
4ae0 20 20 20 20 20 20 20 20 20 20 69 66 20 28 76 61 6c 75 65 29 0d 0a 20 20 20 20 20 20 20 20 20 20 ..........if.(value)............
4b00 20 20 20 20 20 20 20 20 20 20 6d 5f 46 6c 61 67 73 20 7c 3d 20 46 6c 61 67 73 2e 50 61 72 74 4f ..........m_Flags.|=.Flags.PartO
4b20 66 43 6f 6d 70 6f 73 69 74 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 6c 73 fComposite;..................els
4b40 65 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 46 6c 61 67 73 20 26 e......................m_Flags.&
4b60 3d 20 7e 46 6c 61 67 73 2e 50 61 72 74 4f 66 43 6f 6d 70 6f 73 69 74 65 3b 0d 0a 20 20 20 20 20 =.~Flags.PartOfComposite;.......
4b80 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 2f .......}..........}............/
4ba0 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 49 6e 69 74 69 61 //.<summary>..........///.Initia
4bc0 6c 69 7a 65 20 61 20 6e 65 77 20 62 69 6e 64 69 6e 67 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f lize.a.new.binding...........///
4be0 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 70 61 72 61 6d 20 .</summary>..........///.<param.
4c00 6e 61 6d 65 3d 22 70 61 74 68 22 3e 50 61 74 68 20 66 6f 72 20 74 68 65 20 62 69 6e 64 69 6e 67 name="path">Path.for.the.binding
4c20 2e 3c 2f 70 61 72 61 6d 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 70 61 72 61 6d 20 6e 61 .</param>..........///.<param.na
4c40 6d 65 3d 22 61 63 74 69 6f 6e 22 3e 41 63 74 69 6f 6e 20 74 6f 20 74 72 69 67 67 65 72 20 66 72 me="action">Action.to.trigger.fr
4c60 6f 6d 20 74 68 65 20 62 69 6e 64 69 6e 67 2e 3c 2f 70 61 72 61 6d 3e 0d 0a 20 20 20 20 20 20 20 om.the.binding.</param>.........
4c80 20 2f 2f 2f 20 3c 70 61 72 61 6d 20 6e 61 6d 65 3d 22 67 72 6f 75 70 73 22 3e 53 65 6d 69 63 6f .///.<param.name="groups">Semico
4ca0 6c 6f 6e 2d 73 65 70 61 72 61 74 65 64 20 6c 69 73 74 20 6f 66 20 62 69 6e 64 69 6e 67 20 3c 73 lon-separated.list.of.binding.<s
4cc0 65 65 20 63 72 65 66 3d 22 49 6e 70 75 74 42 69 6e 64 69 6e 67 2e 67 72 6f 75 70 73 22 2f 3e 20 ee.cref="InputBinding.groups"/>.
4ce0 74 68 65 20 62 69 6e 64 69 6e 67 20 69 73 20 61 73 73 6f 63 69 61 74 65 64 20 77 69 74 68 2e 3c the.binding.is.associated.with.<
4d00 2f 70 61 72 61 6d 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 /param>..........///.<param.name
4d20 3d 22 70 72 6f 63 65 73 73 6f 72 73 22 3e 43 6f 6d 6d 61 2d 73 65 70 61 72 61 74 65 64 20 6c 69 ="processors">Comma-separated.li
4d40 73 74 20 6f 66 20 3c 73 65 65 20 63 72 65 66 3d 22 49 6e 70 75 74 42 69 6e 64 69 6e 67 2e 70 72 st.of.<see.cref="InputBinding.pr
4d60 6f 63 65 73 73 6f 72 73 22 2f 3e 20 74 6f 20 61 70 70 6c 79 20 74 6f 20 74 68 65 20 62 69 6e 64 ocessors"/>.to.apply.to.the.bind
4d80 69 6e 67 2e 3c 2f 70 61 72 61 6d 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 70 61 72 61 6d ing.</param>..........///.<param
4da0 20 6e 61 6d 65 3d 22 69 6e 74 65 72 61 63 74 69 6f 6e 73 22 3e 43 6f 6d 6d 61 2d 73 65 70 61 72 .name="interactions">Comma-separ
4dc0 61 74 65 64 20 6c 69 73 74 20 6f 66 20 3c 73 65 65 20 63 72 65 66 3d 22 49 6e 70 75 74 42 69 6e ated.list.of.<see.cref="InputBin
4de0 64 69 6e 67 2e 69 6e 74 65 72 61 63 74 69 6f 6e 73 22 2f 3e 20 74 6f 20 61 70 70 6c 79 20 74 6f ding.interactions"/>.to.apply.to
4e00 20 74 68 65 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 62 69 6e 64 69 6e 67 2e 3c 2f 70 61 72 61 .the..........///.binding.</para
4e20 6d 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 3d 22 6e 61 6d m>..........///.<param.name="nam
4e40 65 22 3e 4f 70 74 69 6f 6e 61 6c 20 6e 61 6d 65 20 66 6f 72 20 74 68 65 20 62 69 6e 64 69 6e 67 e">Optional.name.for.the.binding
4e60 2e 3c 2f 70 61 72 61 6d 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 49 6e 70 75 74 42 .</param>..........public.InputB
4e80 69 6e 64 69 6e 67 28 73 74 72 69 6e 67 20 70 61 74 68 2c 20 73 74 72 69 6e 67 20 61 63 74 69 6f inding(string.path,.string.actio
4ea0 6e 20 3d 20 6e 75 6c 6c 2c 20 73 74 72 69 6e 67 20 67 72 6f 75 70 73 20 3d 20 6e 75 6c 6c 2c 20 n.=.null,.string.groups.=.null,.
4ec0 73 74 72 69 6e 67 20 70 72 6f 63 65 73 73 6f 72 73 20 3d 20 6e 75 6c 6c 2c 0d 0a 20 20 20 20 20 string.processors.=.null,.......
4ee0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 74 72 69 6e 67 20 69 6e .......................string.in
4f00 74 65 72 61 63 74 69 6f 6e 73 20 3d 20 6e 75 6c 6c 2c 20 73 74 72 69 6e 67 20 6e 61 6d 65 20 3d teractions.=.null,.string.name.=
4f20 20 6e 75 6c 6c 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 6d .null)..........{..............m
4f40 5f 50 61 74 68 20 3d 20 70 61 74 68 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 41 63 74 _Path.=.path;..............m_Act
4f60 69 6f 6e 20 3d 20 61 63 74 69 6f 6e 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 47 72 6f ion.=.action;..............m_Gro
4f80 75 70 73 20 3d 20 67 72 6f 75 70 73 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 50 72 6f ups.=.groups;..............m_Pro
4fa0 63 65 73 73 6f 72 73 20 3d 20 70 72 6f 63 65 73 73 6f 72 73 3b 0d 0a 20 20 20 20 20 20 20 20 20 cessors.=.processors;...........
4fc0 20 20 20 6d 5f 49 6e 74 65 72 61 63 74 69 6f 6e 73 20 3d 20 69 6e 74 65 72 61 63 74 69 6f 6e 73 ...m_Interactions.=.interactions
4fe0 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 4e 61 6d 65 20 3d 20 6e 61 6d 65 3b 0d 0a 20 ;..............m_Name.=.name;...
5000 20 20 20 20 20 20 20 20 20 20 20 6d 5f 49 64 20 3d 20 64 65 66 61 75 6c 74 3b 0d 0a 20 20 20 20 ...........m_Id.=.default;......
5020 20 20 20 20 20 20 20 20 6d 5f 46 6c 61 67 73 20 3d 20 64 65 66 61 75 6c 74 3b 0d 0a 20 20 20 20 ........m_Flags.=.default;......
5040 20 20 20 20 20 20 20 20 6d 5f 4f 76 65 72 72 69 64 65 50 61 74 68 20 3d 20 64 65 66 61 75 6c 74 ........m_OverridePath.=.default
5060 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 4f 76 65 72 72 69 64 65 49 6e 74 65 72 61 63 ;..............m_OverrideInterac
5080 74 69 6f 6e 73 20 3d 20 64 65 66 61 75 6c 74 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f tions.=.default;..............m_
50a0 4f 76 65 72 72 69 64 65 50 72 6f 63 65 73 73 6f 72 73 20 3d 20 64 65 66 61 75 6c 74 3b 0d 0a 20 OverrideProcessors.=.default;...
50c0 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 73 74 72 69 6e .......}............public.strin
50e0 67 20 47 65 74 4e 61 6d 65 4f 66 43 6f 6d 70 6f 73 69 74 65 28 29 0d 0a 20 20 20 20 20 20 20 20 g.GetNameOfComposite()..........
5100 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 69 73 43 6f 6d 70 6f 73 69 74 65 29 {..............if.(!isComposite)
5120 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 6e 75 6c 6c 3b 0d 0a ..................return.null;..
5140 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 4e 61 6d 65 41 6e 64 50 61 72 61 6d 65 ............return.NameAndParame
5160 74 65 72 73 2e 50 61 72 73 65 28 65 66 66 65 63 74 69 76 65 50 61 74 68 29 2e 6e 61 6d 65 3b 0d ters.Parse(effectivePath).name;.
5180 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 76 .........}............internal.v
51a0 6f 69 64 20 47 65 6e 65 72 61 74 65 49 64 28 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 oid.GenerateId()..........{.....
51c0 20 20 20 20 20 20 20 20 20 6d 5f 49 64 20 3d 20 47 75 69 64 2e 4e 65 77 47 75 69 64 28 29 2e 54 .........m_Id.=.Guid.NewGuid().T
51e0 6f 53 74 72 69 6e 67 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 oString();..........}...........
5200 20 70 75 62 6c 69 63 20 73 74 61 74 69 63 20 49 6e 70 75 74 42 69 6e 64 69 6e 67 20 4d 61 73 6b .public.static.InputBinding.Mask
5220 42 79 47 72 6f 75 70 28 73 74 72 69 6e 67 20 67 72 6f 75 70 29 0d 0a 20 20 20 20 20 20 20 20 7b ByGroup(string.group)..........{
5240 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 6e 65 77 20 49 6e 70 75 74 42 69 ..............return.new.InputBi
5260 6e 64 69 6e 67 20 7b 67 72 6f 75 70 73 20 3d 20 67 72 6f 75 70 7d 3b 0d 0a 20 20 20 20 20 20 20 nding.{groups.=.group};.........
5280 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 73 74 61 74 69 63 20 49 6e 70 75 .}............public.static.Inpu
52a0 74 42 69 6e 64 69 6e 67 20 4d 61 73 6b 42 79 47 72 6f 75 70 73 28 70 61 72 61 6d 73 20 73 74 72 tBinding.MaskByGroups(params.str
52c0 69 6e 67 5b 5d 20 67 72 6f 75 70 73 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 ing[].groups)..........{........
52e0 20 20 20 20 20 20 72 65 74 75 72 6e 20 6e 65 77 20 49 6e 70 75 74 42 69 6e 64 69 6e 67 20 7b 67 ......return.new.InputBinding.{g
5300 72 6f 75 70 73 20 3d 20 73 74 72 69 6e 67 2e 4a 6f 69 6e 28 6b 53 65 70 61 72 61 74 6f 72 53 74 roups.=.string.Join(kSeparatorSt
5320 72 69 6e 67 2c 20 67 72 6f 75 70 73 2e 57 68 65 72 65 28 78 20 3d 3e 20 21 73 74 72 69 6e 67 2e ring,.groups.Where(x.=>.!string.
5340 49 73 4e 75 6c 6c 4f 72 45 6d 70 74 79 28 78 29 29 29 7d 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d IsNullOrEmpty(x)))};..........}.
5360 0a 0d 0a 20 20 20 20 20 20 20 20 5b 53 65 72 69 61 6c 69 7a 65 46 69 65 6c 64 5d 20 70 72 69 76 ...........[SerializeField].priv
5380 61 74 65 20 73 74 72 69 6e 67 20 6d 5f 4e 61 6d 65 3b 0d 0a 20 20 20 20 20 20 20 20 5b 53 65 72 ate.string.m_Name;..........[Ser
53a0 69 61 6c 69 7a 65 46 69 65 6c 64 5d 20 69 6e 74 65 72 6e 61 6c 20 73 74 72 69 6e 67 20 6d 5f 49 ializeField].internal.string.m_I
53c0 64 3b 0d 0a 20 20 20 20 20 20 20 20 5b 53 65 72 69 61 6c 69 7a 65 46 69 65 6c 64 5d 20 70 72 69 d;..........[SerializeField].pri
53e0 76 61 74 65 20 73 74 72 69 6e 67 20 6d 5f 50 61 74 68 3b 0d 0a 20 20 20 20 20 20 20 20 5b 53 65 vate.string.m_Path;..........[Se
5400 72 69 61 6c 69 7a 65 46 69 65 6c 64 5d 20 70 72 69 76 61 74 65 20 73 74 72 69 6e 67 20 6d 5f 49 rializeField].private.string.m_I
5420 6e 74 65 72 61 63 74 69 6f 6e 73 3b 0d 0a 20 20 20 20 20 20 20 20 5b 53 65 72 69 61 6c 69 7a 65 nteractions;..........[Serialize
5440 46 69 65 6c 64 5d 20 70 72 69 76 61 74 65 20 73 74 72 69 6e 67 20 6d 5f 50 72 6f 63 65 73 73 6f Field].private.string.m_Processo
5460 72 73 3b 0d 0a 20 20 20 20 20 20 20 20 5b 53 65 72 69 61 6c 69 7a 65 46 69 65 6c 64 5d 20 70 72 rs;..........[SerializeField].pr
5480 69 76 61 74 65 20 73 74 72 69 6e 67 20 6d 5f 47 72 6f 75 70 73 3b 0d 0a 20 20 20 20 20 20 20 20 ivate.string.m_Groups;..........
54a0 5b 53 65 72 69 61 6c 69 7a 65 46 69 65 6c 64 5d 20 70 72 69 76 61 74 65 20 73 74 72 69 6e 67 20 [SerializeField].private.string.
54c0 6d 5f 41 63 74 69 6f 6e 3b 0d 0a 20 20 20 20 20 20 20 20 5b 53 65 72 69 61 6c 69 7a 65 46 69 65 m_Action;..........[SerializeFie
54e0 6c 64 5d 20 69 6e 74 65 72 6e 61 6c 20 46 6c 61 67 73 20 6d 5f 46 6c 61 67 73 3b 0d 0a 0d 0a 20 ld].internal.Flags.m_Flags;.....
5500 20 20 20 20 20 20 20 5b 4e 6f 6e 53 65 72 69 61 6c 69 7a 65 64 5d 20 70 72 69 76 61 74 65 20 73 .......[NonSerialized].private.s
5520 74 72 69 6e 67 20 6d 5f 4f 76 65 72 72 69 64 65 50 61 74 68 3b 0d 0a 20 20 20 20 20 20 20 20 5b tring.m_OverridePath;..........[
5540 4e 6f 6e 53 65 72 69 61 6c 69 7a 65 64 5d 20 70 72 69 76 61 74 65 20 73 74 72 69 6e 67 20 6d 5f NonSerialized].private.string.m_
5560 4f 76 65 72 72 69 64 65 49 6e 74 65 72 61 63 74 69 6f 6e 73 3b 0d 0a 20 20 20 20 20 20 20 20 5b OverrideInteractions;..........[
5580 4e 6f 6e 53 65 72 69 61 6c 69 7a 65 64 5d 20 70 72 69 76 61 74 65 20 73 74 72 69 6e 67 20 6d 5f NonSerialized].private.string.m_
55a0 4f 76 65 72 72 69 64 65 50 72 6f 63 65 73 73 6f 72 73 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 2f OverrideProcessors;............/
55c0 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 69 73 20 69 //.<summary>..........///.This.i
55e0 73 20 74 68 65 20 62 69 6e 64 69 6e 67 73 20 70 61 74 68 20 77 68 69 63 68 20 69 73 20 65 66 66 s.the.bindings.path.which.is.eff
5600 65 63 74 69 76 65 6c 79 20 62 65 69 6e 67 20 75 73 65 64 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f ectively.being.used...........//
5620 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 72 65 6d 61 72 /.</summary>..........///.<remar
5640 6b 73 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 54 68 69 73 20 69 73 20 65 69 74 68 65 72 20 ks>..........///.This.is.either.
5660 3c 73 65 65 20 63 72 65 66 3d 22 6f 76 65 72 72 69 64 65 50 61 74 68 22 2f 3e 20 69 66 20 74 68 <see.cref="overridePath"/>.if.th
5680 61 74 20 69 73 20 73 65 74 2c 20 6f 72 20 3c 73 65 65 20 63 72 65 66 3d 22 70 61 74 68 22 2f 3e at.is.set,.or.<see.cref="path"/>
56a0 20 6f 74 68 65 72 77 69 73 65 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 72 65 6d 61 72 .otherwise...........///.</remar
56c0 6b 73 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 73 74 72 69 6e 67 20 65 66 66 65 63 ks>..........public.string.effec
56e0 74 69 76 65 50 61 74 68 20 3d 3e 20 6f 76 65 72 72 69 64 65 50 61 74 68 20 3f 3f 20 70 61 74 68 tivePath.=>.overridePath.??.path
5700 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 3e 0d 0a 20 20 20 20 ;............///.<summary>......
5720 20 20 20 20 2f 2f 2f 20 54 68 69 73 20 69 73 20 74 68 65 20 69 6e 74 65 72 61 63 74 69 6f 6e 20 ....///.This.is.the.interaction.
5740 63 6f 6e 66 69 67 20 77 68 69 63 68 20 69 73 20 65 66 66 65 63 74 69 76 65 6c 79 20 62 65 69 6e config.which.is.effectively.bein
5760 67 20 75 73 65 64 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 g.used...........///.</summary>.
5780 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 20 20 .........///.<remarks>..........
57a0 2f 2f 2f 20 54 68 69 73 20 69 73 20 65 69 74 68 65 72 20 3c 73 65 65 20 63 72 65 66 3d 22 6f 76 ///.This.is.either.<see.cref="ov
57c0 65 72 72 69 64 65 49 6e 74 65 72 61 63 74 69 6f 6e 73 22 2f 3e 20 69 66 20 74 68 61 74 20 69 73 errideInteractions"/>.if.that.is
57e0 20 73 65 74 2c 20 6f 72 20 3c 73 65 65 20 63 72 65 66 3d 22 69 6e 74 65 72 61 63 74 69 6f 6e 73 .set,.or.<see.cref="interactions
5800 22 2f 3e 20 6f 74 68 65 72 77 69 73 65 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 72 65 "/>.otherwise...........///.</re
5820 6d 61 72 6b 73 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 73 74 72 69 6e 67 20 65 66 marks>..........public.string.ef
5840 66 65 63 74 69 76 65 49 6e 74 65 72 61 63 74 69 6f 6e 73 20 3d 3e 20 6f 76 65 72 72 69 64 65 49 fectiveInteractions.=>.overrideI
5860 6e 74 65 72 61 63 74 69 6f 6e 73 20 3f 3f 20 69 6e 74 65 72 61 63 74 69 6f 6e 73 3b 0d 0a 0d 0a nteractions.??.interactions;....
5880 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>........../
58a0 2f 2f 20 54 68 69 73 20 69 73 20 74 68 65 20 70 72 6f 63 65 73 73 6f 72 20 63 6f 6e 66 69 67 20 //.This.is.the.processor.config.
58c0 77 68 69 63 68 20 69 73 20 65 66 66 65 63 74 69 76 65 6c 79 20 62 65 69 6e 67 20 75 73 65 64 2e which.is.effectively.being.used.
58e0 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>........
5900 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 69 ..///.<remarks>..........///.Thi
5920 73 20 69 73 20 65 69 74 68 65 72 20 3c 73 65 65 20 63 72 65 66 3d 22 6f 76 65 72 72 69 64 65 50 s.is.either.<see.cref="overrideP
5940 72 6f 63 65 73 73 6f 72 73 22 2f 3e 20 69 66 20 74 68 61 74 20 69 73 20 73 65 74 2c 20 6f 72 20 rocessors"/>.if.that.is.set,.or.
5960 3c 73 65 65 20 63 72 65 66 3d 22 70 72 6f 63 65 73 73 6f 72 73 22 2f 3e 20 6f 74 68 65 72 77 69 <see.cref="processors"/>.otherwi
5980 73 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 se...........///.</remarks>.....
59a0 20 20 20 20 20 70 75 62 6c 69 63 20 73 74 72 69 6e 67 20 65 66 66 65 63 74 69 76 65 50 72 6f 63 .....public.string.effectiveProc
59c0 65 73 73 6f 72 73 20 3d 3e 20 6f 76 65 72 72 69 64 65 50 72 6f 63 65 73 73 6f 72 73 20 3f 3f 20 essors.=>.overrideProcessors.??.
59e0 70 72 6f 63 65 73 73 6f 72 73 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 69 6e 74 65 72 6e 61 6c 20 processors;............internal.
5a00 62 6f 6f 6c 20 69 73 45 6d 70 74 79 20 3d 3e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 74 72 bool.isEmpty.=>..............str
5a20 69 6e 67 2e 49 73 4e 75 6c 6c 4f 72 45 6d 70 74 79 28 65 66 66 65 63 74 69 76 65 50 61 74 68 29 ing.IsNullOrEmpty(effectivePath)
5a40 20 26 26 20 73 74 72 69 6e 67 2e 49 73 4e 75 6c 6c 4f 72 45 6d 70 74 79 28 61 63 74 69 6f 6e 29 .&&.string.IsNullOrEmpty(action)
5a60 20 26 26 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 74 72 69 6e 67 2e 49 73 4e 75 6c 6c 4f 72 .&&..............string.IsNullOr
5a80 45 6d 70 74 79 28 67 72 6f 75 70 73 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 Empty(groups);............///.<s
5aa0 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 43 68 65 63 6b 20 77 68 65 74 68 ummary>..........///.Check.wheth
5ac0 65 72 20 74 68 65 20 62 69 6e 64 69 6e 67 20 69 73 20 65 71 75 69 76 61 6c 65 6e 74 20 74 6f 20 er.the.binding.is.equivalent.to.
5ae0 74 68 65 20 67 69 76 65 6e 20 62 69 6e 64 69 6e 67 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 the.given.binding...........///.
5b00 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 70 61 72 61 6d 20 6e </summary>..........///.<param.n
5b20 61 6d 65 3d 22 6f 74 68 65 72 22 3e 41 6e 6f 74 68 65 72 20 62 69 6e 64 69 6e 67 2e 3c 2f 70 61 ame="other">Another.binding.</pa
5b40 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 73 3e 54 72 75 65 20 ram>..........///.<returns>True.
5b60 69 66 20 74 68 65 20 74 77 6f 20 62 69 6e 64 69 6e 67 73 20 61 72 65 20 65 71 75 69 76 61 6c 65 if.the.two.bindings.are.equivale
5b80 6e 74 2e 3c 2f 72 65 74 75 72 6e 73 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 72 65 6d 61 nt.</returns>..........///.<rema
5ba0 72 6b 73 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 42 69 6e 64 69 6e 67 73 20 61 72 65 20 65 rks>..........///.Bindings.are.e
5bc0 71 75 69 76 61 6c 65 6e 74 20 69 66 20 74 68 65 69 72 20 3c 73 65 65 20 63 72 65 66 3d 22 65 66 quivalent.if.their.<see.cref="ef
5be0 66 65 63 74 69 76 65 50 61 74 68 22 2f 3e 2c 20 3c 73 65 65 20 63 72 65 66 3d 22 65 66 66 65 63 fectivePath"/>,.<see.cref="effec
5c00 74 69 76 65 49 6e 74 65 72 61 63 74 69 6f 6e 73 22 2f 3e 2c 0d 0a 20 20 20 20 20 20 20 20 2f 2f tiveInteractions"/>,..........//
5c20 2f 20 61 6e 64 20 3c 73 65 65 20 63 72 65 66 3d 22 65 66 66 65 63 74 69 76 65 50 72 6f 63 65 73 /.and.<see.cref="effectiveProces
5c40 73 6f 72 73 22 2f 3e 2c 20 70 6c 75 73 20 74 68 65 69 72 20 3c 73 65 65 20 63 72 65 66 3d 22 61 sors"/>,.plus.their.<see.cref="a
5c60 63 74 69 6f 6e 22 2f 3e 20 61 6e 64 20 3c 73 65 65 20 63 72 65 66 3d 22 67 72 6f 75 70 73 22 2f ction"/>.and.<see.cref="groups"/
5c80 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 70 72 6f 70 65 72 74 69 65 73 20 61 72 65 20 74 68 >..........///.properties.are.th
5ca0 65 20 73 61 6d 65 2e 20 4e 6f 74 65 20 74 68 61 74 20 74 68 65 20 73 74 72 69 6e 67 20 63 6f 6d e.same..Note.that.the.string.com
5cc0 70 61 72 69 73 6f 6e 73 20 69 67 6e 6f 72 65 20 62 6f 74 68 20 63 61 73 65 20 61 6e 64 20 63 75 parisons.ignore.both.case.and.cu
5ce0 6c 74 75 72 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 lture...........///.</remarks>..
5d00 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 62 6f 6f 6c 20 45 71 75 61 6c 73 28 49 6e 70 75 74 ........public.bool.Equals(Input
5d20 42 69 6e 64 69 6e 67 20 6f 74 68 65 72 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 Binding.other)..........{.......
5d40 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 73 74 72 69 6e 67 2e 45 71 75 61 6c 73 28 65 66 66 65 .......return.string.Equals(effe
5d60 63 74 69 76 65 50 61 74 68 2c 20 6f 74 68 65 72 2e 65 66 66 65 63 74 69 76 65 50 61 74 68 2c 20 ctivePath,.other.effectivePath,.
5d80 53 74 72 69 6e 67 43 6f 6d 70 61 72 69 73 6f 6e 2e 49 6e 76 61 72 69 61 6e 74 43 75 6c 74 75 72 StringComparison.InvariantCultur
5da0 65 49 67 6e 6f 72 65 43 61 73 65 29 20 26 26 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 eIgnoreCase).&&.................
5dc0 20 73 74 72 69 6e 67 2e 45 71 75 61 6c 73 28 65 66 66 65 63 74 69 76 65 49 6e 74 65 72 61 63 74 .string.Equals(effectiveInteract
5de0 69 6f 6e 73 2c 20 6f 74 68 65 72 2e 65 66 66 65 63 74 69 76 65 49 6e 74 65 72 61 63 74 69 6f 6e ions,.other.effectiveInteraction
5e00 73 2c 20 53 74 72 69 6e 67 43 6f 6d 70 61 72 69 73 6f 6e 2e 49 6e 76 61 72 69 61 6e 74 43 75 6c s,.StringComparison.InvariantCul
5e20 74 75 72 65 49 67 6e 6f 72 65 43 61 73 65 29 20 26 26 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 tureIgnoreCase).&&..............
5e40 20 20 20 20 73 74 72 69 6e 67 2e 45 71 75 61 6c 73 28 65 66 66 65 63 74 69 76 65 50 72 6f 63 65 ....string.Equals(effectiveProce
5e60 73 73 6f 72 73 2c 20 6f 74 68 65 72 2e 65 66 66 65 63 74 69 76 65 50 72 6f 63 65 73 73 6f 72 73 ssors,.other.effectiveProcessors
5e80 2c 20 53 74 72 69 6e 67 43 6f 6d 70 61 72 69 73 6f 6e 2e 49 6e 76 61 72 69 61 6e 74 43 75 6c 74 ,.StringComparison.InvariantCult
5ea0 75 72 65 49 67 6e 6f 72 65 43 61 73 65 29 20 26 26 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 ureIgnoreCase).&&...............
5ec0 20 20 20 73 74 72 69 6e 67 2e 45 71 75 61 6c 73 28 67 72 6f 75 70 73 2c 20 6f 74 68 65 72 2e 67 ...string.Equals(groups,.other.g
5ee0 72 6f 75 70 73 2c 20 53 74 72 69 6e 67 43 6f 6d 70 61 72 69 73 6f 6e 2e 49 6e 76 61 72 69 61 6e roups,.StringComparison.Invarian
5f00 74 43 75 6c 74 75 72 65 49 67 6e 6f 72 65 43 61 73 65 29 20 26 26 0d 0a 20 20 20 20 20 20 20 20 tCultureIgnoreCase).&&..........
5f20 20 20 20 20 20 20 20 20 73 74 72 69 6e 67 2e 45 71 75 61 6c 73 28 61 63 74 69 6f 6e 2c 20 6f 74 ........string.Equals(action,.ot
5f40 68 65 72 2e 61 63 74 69 6f 6e 2c 20 53 74 72 69 6e 67 43 6f 6d 70 61 72 69 73 6f 6e 2e 49 6e 76 her.action,.StringComparison.Inv
5f60 61 72 69 61 6e 74 43 75 6c 74 75 72 65 49 67 6e 6f 72 65 43 61 73 65 29 3b 0d 0a 20 20 20 20 20 ariantCultureIgnoreCase);.......
5f80 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>...
5fa0 20 20 20 20 20 20 20 2f 2f 2f 20 43 6f 6d 70 61 72 65 20 74 68 65 20 62 69 6e 64 69 6e 67 20 74 .......///.Compare.the.binding.t
5fc0 6f 20 74 68 65 20 67 69 76 65 6e 20 6f 62 6a 65 63 74 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f o.the.given.object...........///
5fe0 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 70 61 72 61 6d 20 .</summary>..........///.<param.
6000 6e 61 6d 65 3d 22 6f 62 6a 22 3e 41 6e 20 6f 62 6a 65 63 74 2e 20 4d 61 79 20 62 65 20 3c 63 3e name="obj">An.object..May.be.<c>
6020 6e 75 6c 6c 3c 2f 63 3e 2e 3c 2f 70 61 72 61 6d 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c null</c>.</param>..........///.<
6040 72 65 74 75 72 6e 73 3e 54 72 75 65 20 69 66 20 74 68 65 20 67 69 76 65 6e 20 6f 62 6a 65 63 74 returns>True.if.the.given.object
6060 20 69 73 20 61 6e 20 3c 63 3e 49 6e 70 75 74 42 69 6e 64 69 6e 67 3c 2f 63 3e 20 74 68 61 74 20 .is.an.<c>InputBinding</c>.that.
6080 65 71 75 61 6c 73 20 74 68 69 73 20 6f 6e 65 2e 3c 2f 72 65 74 75 72 6e 73 3e 0d 0a 20 20 20 20 equals.this.one.</returns>......
60a0 20 20 20 20 2f 2f 2f 20 3c 73 65 65 61 6c 73 6f 20 63 72 65 66 3d 22 45 71 75 61 6c 73 28 49 6e ....///.<seealso.cref="Equals(In
60c0 70 75 74 42 69 6e 64 69 6e 67 29 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 6f putBinding)"/>..........public.o
60e0 76 65 72 72 69 64 65 20 62 6f 6f 6c 20 45 71 75 61 6c 73 28 6f 62 6a 65 63 74 20 6f 62 6a 29 0d verride.bool.Equals(object.obj).
6100 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 52 65 66 65 .........{..............if.(Refe
6120 72 65 6e 63 65 45 71 75 61 6c 73 28 6e 75 6c 6c 2c 20 6f 62 6a 29 29 0d 0a 20 20 20 20 20 20 20 renceEquals(null,.obj)).........
6140 20 20 20 20 20 20 20 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 .........return.false;..........
6160 20 20 20 20 20 20 72 65 74 75 72 6e 20 6f 62 6a 20 69 73 20 49 6e 70 75 74 42 69 6e 64 69 6e 67 ......return.obj.is.InputBinding
6180 20 62 69 6e 64 69 6e 67 20 26 26 20 45 71 75 61 6c 73 28 62 69 6e 64 69 6e 67 29 3b 0d 0a 20 20 .binding.&&.Equals(binding);....
61a0 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 6d 61 72 79 3e ......}............///.<summary>
61c0 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 43 6f 6d 70 61 72 65 20 74 68 65 20 74 77 6f 20 62 69 ..........///.Compare.the.two.bi
61e0 6e 64 69 6e 67 73 20 66 6f 72 20 65 71 75 61 6c 69 74 79 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f ndings.for.equality...........//
6200 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 70 61 72 61 6d /.</summary>..........///.<param
6220 20 6e 61 6d 65 3d 22 6c 65 66 74 22 3e 54 68 65 20 66 69 72 73 74 20 62 69 6e 64 69 6e 67 2e 3c .name="left">The.first.binding.<
6240 2f 70 61 72 61 6d 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 /param>..........///.<param.name
6260 3d 22 72 69 67 68 74 22 3e 54 68 65 20 73 65 63 6f 6e 64 20 62 69 6e 64 69 6e 67 2e 3c 2f 70 61 ="right">The.second.binding.</pa
6280 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 73 3e 54 72 75 65 20 ram>..........///.<returns>True.
62a0 69 66 20 74 68 65 20 74 77 6f 20 62 69 6e 64 69 6e 67 73 20 61 72 65 20 65 71 75 61 6c 2e 3c 2f if.the.two.bindings.are.equal.</
62c0 72 65 74 75 72 6e 73 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 returns>..........///.<seealso.c
62e0 72 65 66 3d 22 45 71 75 61 6c 73 28 49 6e 70 75 74 42 69 6e 64 69 6e 67 29 22 2f 3e 0d 0a 20 20 ref="Equals(InputBinding)"/>....
6300 20 20 20 20 20 20 70 75 62 6c 69 63 20 73 74 61 74 69 63 20 62 6f 6f 6c 20 6f 70 65 72 61 74 6f ......public.static.bool.operato
6320 72 3d 3d 28 49 6e 70 75 74 42 69 6e 64 69 6e 67 20 6c 65 66 74 2c 20 49 6e 70 75 74 42 69 6e 64 r==(InputBinding.left,.InputBind
6340 69 6e 67 20 72 69 67 68 74 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 ing.right)..........{...........
6360 20 20 20 72 65 74 75 72 6e 20 6c 65 66 74 2e 45 71 75 61 6c 73 28 72 69 67 68 74 29 3b 0d 0a 20 ...return.left.Equals(right);...
6380 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 6d 61 72 79 .......}............///.<summary
63a0 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 43 6f 6d 70 61 72 65 20 74 68 65 20 74 77 6f 20 62 >..........///.Compare.the.two.b
63c0 69 6e 64 69 6e 67 73 20 66 6f 72 20 69 6e 65 71 75 61 6c 69 74 79 2e 0d 0a 20 20 20 20 20 20 20 indings.for.inequality..........
63e0 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 70 61 .///.</summary>..........///.<pa
6400 72 61 6d 20 6e 61 6d 65 3d 22 6c 65 66 74 22 3e 54 68 65 20 66 69 72 73 74 20 62 69 6e 64 69 6e ram.name="left">The.first.bindin
6420 67 2e 3c 2f 70 61 72 61 6d 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 70 61 72 61 6d 20 6e g.</param>..........///.<param.n
6440 61 6d 65 3d 22 72 69 67 68 74 22 3e 54 68 65 20 73 65 63 6f 6e 64 20 62 69 6e 64 69 6e 67 2e 3c ame="right">The.second.binding.<
6460 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 73 3e 54 72 /param>..........///.<returns>Tr
6480 75 65 20 69 66 20 74 68 65 20 74 77 6f 20 62 69 6e 64 69 6e 67 73 20 61 72 65 20 6e 6f 74 20 65 ue.if.the.two.bindings.are.not.e
64a0 71 75 61 6c 2e 3c 2f 72 65 74 75 72 6e 73 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 65 qual.</returns>..........///.<se
64c0 65 61 6c 73 6f 20 63 72 65 66 3d 22 45 71 75 61 6c 73 28 49 6e 70 75 74 42 69 6e 64 69 6e 67 29 ealso.cref="Equals(InputBinding)
64e0 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 73 74 61 74 69 63 20 62 6f 6f 6c 20 "/>..........public.static.bool.
6500 6f 70 65 72 61 74 6f 72 21 3d 28 49 6e 70 75 74 42 69 6e 64 69 6e 67 20 6c 65 66 74 2c 20 49 6e operator!=(InputBinding.left,.In
6520 70 75 74 42 69 6e 64 69 6e 67 20 72 69 67 68 74 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 putBinding.right)..........{....
6540 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 21 28 6c 65 66 74 20 3d 3d 20 72 69 67 68 74 ..........return.!(left.==.right
6560 29 3b 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 );..........}............///.<su
6580 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 43 6f 6d 70 75 74 65 20 61 20 68 61 mmary>..........///.Compute.a.ha
65a0 73 68 20 63 6f 64 65 20 66 6f 72 20 74 68 65 20 62 69 6e 64 69 6e 67 2e 0d 0a 20 20 20 20 20 20 sh.code.for.the.binding.........
65c0 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 20 3c 72 ..///.</summary>..........///.<r
65e0 65 74 75 72 6e 73 3e 41 20 68 61 73 68 20 63 6f 64 65 2e 3c 2f 72 65 74 75 72 6e 73 3e 0d 0a 20 eturns>A.hash.code.</returns>...
6600 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 6f 76 65 72 72 69 64 65 20 69 6e 74 20 47 65 74 48 61 .......public.override.int.GetHa
6620 73 68 43 6f 64 65 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 shCode()..........{.............
6640 20 75 6e 63 68 65 63 6b 65 64 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 .unchecked..............{.......
6660 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 68 61 73 68 43 6f 64 65 20 3d 20 28 65 66 66 65 63 ...........var.hashCode.=.(effec
6680 74 69 76 65 50 61 74 68 20 21 3d 20 6e 75 6c 6c 20 3f 20 65 66 66 65 63 74 69 76 65 50 61 74 68 tivePath.!=.null.?.effectivePath
66a0 2e 47 65 74 48 61 73 68 43 6f 64 65 28 29 20 3a 20 30 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 .GetHashCode().:.0);............
66c0 20 20 20 20 20 20 68 61 73 68 43 6f 64 65 20 3d 20 28 68 61 73 68 43 6f 64 65 20 2a 20 33 39 37 ......hashCode.=.(hashCode.*.397
66e0 29 20 5e 20 28 65 66 66 65 63 74 69 76 65 49 6e 74 65 72 61 63 74 69 6f 6e 73 20 21 3d 20 6e 75 ).^.(effectiveInteractions.!=.nu
6700 6c 6c 20 3f 20 65 66 66 65 63 74 69 76 65 49 6e 74 65 72 61 63 74 69 6f 6e 73 2e 47 65 74 48 61 ll.?.effectiveInteractions.GetHa
6720 73 68 43 6f 64 65 28 29 20 3a 20 30 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 shCode().:.0);..................
6740 68 61 73 68 43 6f 64 65 20 3d 20 28 68 61 73 68 43 6f 64 65 20 2a 20 33 39 37 29 20 5e 20 28 65 hashCode.=.(hashCode.*.397).^.(e
6760 66 66 65 63 74 69 76 65 50 72 6f 63 65 73 73 6f 72 73 20 21 3d 20 6e 75 6c 6c 20 3f 20 65 66 66 ffectiveProcessors.!=.null.?.eff
6780 65 63 74 69 76 65 50 72 6f 63 65 73 73 6f 72 73 2e 47 65 74 48 61 73 68 43 6f 64 65 28 29 20 3a ectiveProcessors.GetHashCode().:
67a0 20 30 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 68 61 73 68 43 6f 64 65 20 3d .0);..................hashCode.=
67c0 20 28 68 61 73 68 43 6f 64 65 20 2a 20 33 39 37 29 20 5e 20 28 67 72 6f 75 70 73 20 21 3d 20 6e .(hashCode.*.397).^.(groups.!=.n
67e0 75 6c 6c 20 3f 20 67 72 6f 75 70 73 2e 47 65 74 48 61 73 68 43 6f 64 65 28 29 20 3a 20 30 29 3b ull.?.groups.GetHashCode().:.0);
6800 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 68 61 73 68 43 6f 64 65 20 3d 20 28 68 61 ..................hashCode.=.(ha
6820 73 68 43 6f 64 65 20 2a 20 33 39 37 29 20 5e 20 28 61 63 74 69 6f 6e 20 21 3d 20 6e 75 6c 6c 20 shCode.*.397).^.(action.!=.null.
6840 3f 20 61 63 74 69 6f 6e 2e 47 65 74 48 61 73 68 43 6f 64 65 28 29 20 3a 20 30 29 3b 0d 0a 20 20 ?.action.GetHashCode().:.0);....
6860 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 68 61 73 68 43 6f 64 65 3b 0d 0a ..............return.hashCode;..
6880 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 ............}..........}........
68a0 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 52 ....///.<summary>..........///.R
68c0 65 74 75 72 6e 20 61 20 73 74 72 69 6e 67 20 72 65 70 72 65 73 65 6e 74 61 74 69 6f 6e 20 6f 66 eturn.a.string.representation.of
68e0 20 74 68 65 20 62 69 6e 64 69 6e 67 20 75 73 65 66 75 6c 20 66 6f 72 20 64 65 62 75 67 67 69 6e .the.binding.useful.for.debuggin
6900 67 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 g...........///.</summary>......
6920 20 20 20 20 2f 2f 2f 20 3c 72 65 74 75 72 6e 73 3e 41 20 73 74 72 69 6e 67 20 72 65 70 72 65 73 ....///.<returns>A.string.repres
6940 65 6e 74 61 74 69 6f 6e 20 6f 66 20 74 68 65 20 62 69 6e 64 69 6e 67 2e 3c 2f 72 65 74 75 72 6e entation.of.the.binding.</return
6960 73 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 65 78 61 6d 70 6c 65 3e 0d 0a 20 20 20 20 20 s>..........///.<example>.......
6980 20 20 20 2f 2f 2f 20 3c 63 6f 64 65 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 76 61 72 20 62 ...///.<code>..........///.var.b
69a0 69 6e 64 69 6e 67 20 3d 20 6e 65 77 20 49 6e 70 75 74 42 69 6e 64 69 6e 67 0d 0a 20 20 20 20 20 inding.=.new.InputBinding.......
69c0 20 20 20 2f 2f 2f 20 7b 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 20 20 20 20 61 63 74 69 6f 6e ...///.{..........///.....action
69e0 20 3d 20 22 66 69 72 65 22 2c 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 20 20 20 20 70 61 74 68 .=."fire",..........///.....path
6a00 20 3d 20 22 26 6c 74 3b 47 61 6d 65 70 61 64 26 67 74 3b 2f 62 75 74 74 6f 6e 53 6f 75 74 68 22 .=."&lt;Gamepad&gt;/buttonSouth"
6a20 2c 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 20 20 20 20 67 72 6f 75 70 73 20 3d 20 22 47 61 6d ,..........///.....groups.=."Gam
6a40 65 70 61 64 22 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 7d 3b 0d 0a 20 20 20 20 20 20 20 20 2f epad"..........///.};........../
6a60 2f 2f 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 2f 2f 20 52 65 74 75 72 6e 73 20 22 66 69 72 65 //..........///.//.Returns."fire
6a80 3a 20 26 6c 74 3b 47 61 6d 65 70 61 64 26 67 74 3b 2f 62 75 74 74 6f 6e 53 6f 75 74 68 20 5b 47 :.&lt;Gamepad&gt;/buttonSouth.[G
6aa0 61 6d 65 70 61 64 5d 22 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 62 69 6e 64 69 6e 67 2e 54 amepad]"...........///.binding.T
6ac0 6f 53 74 72 69 6e 67 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 63 6f 64 65 3e 0d oString();..........///.</code>.
6ae0 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 65 78 61 6d 70 6c 65 3e 0d 0a 20 20 20 20 20 20 20 .........///.</example>.........
6b00 20 70 75 62 6c 69 63 20 6f 76 65 72 72 69 64 65 20 73 74 72 69 6e 67 20 54 6f 53 74 72 69 6e 67 .public.override.string.ToString
6b20 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 76 61 72 20 62 ()..........{..............var.b
6b40 75 69 6c 64 65 72 20 3d 20 6e 65 77 20 53 74 72 69 6e 67 42 75 69 6c 64 65 72 28 29 3b 0d 0a 0d uilder.=.new.StringBuilder();...
6b60 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 41 64 64 20 61 63 74 69 6f 6e 2e 0d 0a 20 20 20 .............//.Add.action......
6b80 20 20 20 20 20 20 20 20 20 69 66 20 28 21 73 74 72 69 6e 67 2e 49 73 4e 75 6c 6c 4f 72 45 6d 70 .........if.(!string.IsNullOrEmp
6ba0 74 79 28 61 63 74 69 6f 6e 29 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 ty(action))..............{......
6bc0 20 20 20 20 20 20 20 20 20 20 20 20 62 75 69 6c 64 65 72 2e 41 70 70 65 6e 64 28 61 63 74 69 6f ............builder.Append(actio
6be0 6e 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 75 69 6c 64 65 72 2e 41 70 70 n);..................builder.App
6c00 65 6e 64 28 27 3a 27 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 end(':');..............}........
6c20 20 20 20 20 20 20 20 20 2f 2f 20 41 64 64 20 70 61 74 68 2e 0d 0a 20 20 20 20 20 20 20 20 20 20 ........//.Add.path.............
6c40 20 20 76 61 72 20 70 61 74 68 20 3d 20 65 66 66 65 63 74 69 76 65 50 61 74 68 3b 0d 0a 20 20 20 ..var.path.=.effectivePath;.....
6c60 20 20 20 20 20 20 20 20 20 69 66 20 28 21 73 74 72 69 6e 67 2e 49 73 4e 75 6c 6c 4f 72 45 6d 70 .........if.(!string.IsNullOrEmp
6c80 74 79 28 70 61 74 68 29 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 75 69 6c 64 ty(path))..................build
6ca0 65 72 2e 41 70 70 65 6e 64 28 70 61 74 68 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 er.Append(path);................
6cc0 2f 2f 20 41 64 64 20 67 72 6f 75 70 73 2e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 //.Add.groups...............if.(
6ce0 21 73 74 72 69 6e 67 2e 49 73 4e 75 6c 6c 4f 72 45 6d 70 74 79 28 67 72 6f 75 70 73 29 29 0d 0a !string.IsNullOrEmpty(groups))..
6d00 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 ............{..................b
6d20 75 69 6c 64 65 72 2e 41 70 70 65 6e 64 28 27 5b 27 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 uilder.Append('[');.............
6d40 20 20 20 20 20 62 75 69 6c 64 65 72 2e 41 70 70 65 6e 64 28 67 72 6f 75 70 73 29 3b 0d 0a 20 20 .....builder.Append(groups);....
6d60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 75 69 6c 64 65 72 2e 41 70 70 65 6e 64 28 27 5d 27 ..............builder.Append(']'
6d80 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 );..............}...............
6da0 20 72 65 74 75 72 6e 20 62 75 69 6c 64 65 72 2e 54 6f 53 74 72 69 6e 67 28 29 3b 0d 0a 20 20 20 .return.builder.ToString();.....
6dc0 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 6d 61 72 79 3e 0d .....}............///.<summary>.
6de0 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 41 20 73 65 74 20 6f 66 20 66 6c 61 67 73 20 74 6f 20 74 .........///.A.set.of.flags.to.t
6e00 75 72 6e 20 69 6e 64 69 76 69 64 75 61 6c 20 64 65 66 61 75 6c 74 20 62 65 68 61 76 69 6f 72 73 urn.individual.default.behaviors
6e20 20 6f 66 20 3c 73 65 65 20 63 72 65 66 3d 22 49 6e 70 75 74 42 69 6e 64 69 6e 67 2e 54 6f 44 69 .of.<see.cref="InputBinding.ToDi
6e40 73 70 6c 61 79 53 74 72 69 6e 67 28 44 69 73 70 6c 61 79 53 74 72 69 6e 67 4f 70 74 69 6f 6e 73 splayString(DisplayStringOptions
6e60 2c 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 29 22 2f 3e 20 6f 66 66 2e 0d 0a 20 20 20 20 20 20 20 20 ,InputControl)"/>.off...........
6e80 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 5b 46 6c 61 67 73 5d 0d ///.</summary>..........[Flags].
6ea0 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 65 6e 75 6d 20 44 69 73 70 6c 61 79 53 74 72 69 .........public.enum.DisplayStri
6ec0 6e 67 4f 70 74 69 6f 6e 73 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 ngOptions..........{............
6ee0 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 20 20 20 20 2f 2f 2f ..///.<summary>..............///
6f00 20 44 6f 20 6e 6f 74 20 75 73 65 20 73 68 6f 72 74 20 6e 61 6d 65 73 20 6f 66 20 63 6f 6e 74 72 .Do.not.use.short.names.of.contr
6f20 6f 6c 73 20 61 73 20 73 65 74 20 75 70 20 62 79 20 3c 73 65 65 20 63 72 65 66 3d 22 49 6e 70 75 ols.as.set.up.by.<see.cref="Inpu
6f40 74 43 6f 6e 74 72 6f 6c 41 74 74 72 69 62 75 74 65 2e 73 68 6f 72 74 44 69 73 70 6c 61 79 4e 61 tControlAttribute.shortDisplayNa
6f60 6d 65 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 2f 20 61 6e 64 20 74 68 65 20 3c me"/>..............///.and.the.<
6f80 63 3e 22 73 68 6f 72 74 44 69 73 70 6c 61 79 4e 61 6d 65 22 3c 2f 63 3e 20 70 72 6f 70 65 72 74 c>"shortDisplayName"</c>.propert
6fa0 79 20 69 6e 20 4a 53 4f 4e 2e 20 54 68 69 73 20 77 69 6c 6c 2c 20 66 6f 72 20 65 78 61 6d 70 6c y.in.JSON..This.will,.for.exampl
6fc0 65 2c 20 6e 6f 74 20 75 73 65 20 4c 4d 42 20 69 6e 73 74 65 61 64 20 6f 66 20 22 6c 65 66 74 20 e,.not.use.LMB.instead.of."left.
6fe0 42 75 74 74 6f 6e 22 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 2f 20 6f 6e 20 3c 73 65 65 Button"..............///.on.<see
7000 20 63 72 65 66 3d 22 4d 6f 75 73 65 2e 6c 65 66 74 42 75 74 74 6f 6e 22 2f 3e 2e 0d 0a 20 20 20 .cref="Mouse.leftButton"/>......
7020 20 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>.........
7040 20 20 20 20 20 44 6f 6e 74 55 73 65 53 68 6f 72 74 44 69 73 70 6c 61 79 4e 61 6d 65 73 20 3d 20 .....DontUseShortDisplayNames.=.
7060 31 20 3c 3c 20 30 2c 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 1.<<.0,................///.<summ
7080 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 2f 20 42 79 20 64 65 66 61 75 6c 74 ary>..............///.By.default
70a0 20 64 65 76 69 63 65 20 6e 61 6d 65 73 20 61 72 65 20 6f 6d 69 74 74 65 64 20 66 72 6f 6d 20 64 .device.names.are.omitted.from.d
70c0 69 73 70 6c 61 79 20 73 74 72 69 6e 67 73 2e 20 57 69 74 68 20 74 68 69 73 20 6f 70 74 69 6f 6e isplay.strings..With.this.option
70e0 2c 20 74 68 65 79 20 61 72 65 20 69 6e 63 6c 75 64 65 64 20 69 6e 73 74 65 61 64 2e 0d 0a 20 20 ,.they.are.included.instead.....
7100 20 20 20 20 20 20 20 20 20 20 2f 2f 2f 20 46 6f 72 20 65 78 61 6d 70 6c 65 2c 20 3c 63 3e 22 41 ..........///.For.example,.<c>"A
7120 22 3c 2f 63 3e 20 77 69 6c 6c 20 62 65 20 3c 63 3e 22 41 20 5b 47 61 6d 65 70 61 64 5d 22 3c 2f "</c>.will.be.<c>"A.[Gamepad]"</
7140 63 3e 20 69 6e 73 74 65 61 64 2e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 c>.instead...............///.</s
7160 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 44 6f 6e 74 4f 6d 69 74 44 65 76 ummary>..............DontOmitDev
7180 69 63 65 20 3d 20 31 20 3c 3c 20 31 2c 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 2f ice.=.1.<<.1,................///
71a0 20 3c 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 2f 20 42 79 20 64 .<summary>..............///.By.d
71c0 65 66 61 75 6c 74 2c 20 69 6e 74 65 72 61 63 74 69 6f 6e 73 20 6f 6e 20 62 69 6e 64 69 6e 67 73 efault,.interactions.on.bindings
71e0 20 61 72 65 20 69 6e 63 6c 75 64 65 64 20 69 6e 20 74 68 65 20 72 65 73 75 6c 74 69 6e 67 20 64 .are.included.in.the.resulting.d
7200 69 73 70 6c 61 79 20 73 74 72 69 6e 67 2e 20 46 6f 72 20 65 78 61 6d 70 6c 65 2c 20 61 20 62 69 isplay.string..For.example,.a.bi
7220 6e 64 69 6e 67 20 74 6f 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 2f 20 74 68 65 20 67 61 nding.to..............///.the.ga
7240 6d 65 70 61 64 27 73 20 41 20 62 75 74 74 6f 6e 20 74 68 61 74 20 68 61 73 20 61 20 22 48 6f 6c mepad's.A.button.that.has.a."Hol
7260 64 22 20 69 6e 74 65 72 61 63 74 69 6f 6e 20 6f 6e 20 69 74 2c 20 77 6f 75 6c 64 20 63 6f 6d 65 d".interaction.on.it,.would.come
7280 20 6f 75 74 20 61 73 20 22 48 6f 6c 64 20 41 22 2e 20 54 68 69 73 20 63 61 6e 20 62 65 20 73 75 .out.as."Hold.A"..This.can.be.su
72a0 70 70 72 65 73 73 65 64 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 2f 20 77 69 74 68 20 74 ppressed..............///.with.t
72c0 68 69 73 20 6f 70 74 69 6f 6e 20 69 6e 20 77 68 69 63 68 20 63 61 73 65 20 74 68 65 20 73 61 6d his.option.in.which.case.the.sam
72e0 65 20 73 65 74 75 70 20 77 6f 75 6c 64 20 63 6f 6d 65 20 6f 75 74 20 61 73 20 6a 75 73 74 20 22 e.setup.would.come.out.as.just."
7300 41 22 2e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0d A"...............///.</summary>.
7320 0a 20 20 20 20 20 20 20 20 20 20 20 20 44 6f 6e 74 49 6e 63 6c 75 64 65 49 6e 74 65 72 61 63 74 .............DontIncludeInteract
7340 69 6f 6e 73 20 3d 20 31 20 3c 3c 20 32 2c 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f ions.=.1.<<.2,................//
7360 2f 20 3c 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 2f 20 42 79 20 /.<summary>..............///.By.
7380 64 65 66 61 75 6c 74 2c 20 3c 73 65 65 20 63 72 65 66 3d 22 65 66 66 65 63 74 69 76 65 50 61 74 default,.<see.cref="effectivePat
73a0 68 22 2f 3e 20 69 73 20 75 73 65 64 20 66 6f 72 20 67 65 6e 65 72 61 74 69 6e 67 20 61 20 64 69 h"/>.is.used.for.generating.a.di
73c0 73 70 6c 61 79 20 6e 61 6d 65 2e 20 55 73 69 6e 67 20 74 68 69 73 20 6f 70 74 69 6f 6e 2c 20 74 splay.name..Using.this.option,.t
73e0 68 65 20 64 69 73 70 6c 61 79 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 2f 20 73 74 72 69 he.display..............///.stri
7400 6e 67 20 63 61 6e 20 62 65 20 66 6f 72 63 65 64 20 74 6f 20 3c 73 65 65 20 63 72 65 66 3d 22 70 ng.can.be.forced.to.<see.cref="p
7420 61 74 68 22 2f 3e 20 69 6e 73 74 65 61 64 2e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 2f ath"/>.instead...............///
7440 20 3c 2f 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 49 67 6e 6f 72 65 42 .</summary>..............IgnoreB
7460 69 6e 64 69 6e 67 4f 76 65 72 72 69 64 65 73 20 3d 20 31 20 3c 3c 20 33 2c 0d 0a 20 20 20 20 20 indingOverrides.=.1.<<.3,.......
7480 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>...
74a0 20 20 20 20 20 20 20 2f 2f 2f 20 54 75 72 6e 20 74 68 65 20 62 69 6e 64 69 6e 67 20 69 6e 74 6f .......///.Turn.the.binding.into
74c0 20 61 20 73 74 72 69 6e 67 20 73 75 69 74 61 62 6c 65 20 66 6f 72 20 64 69 73 70 6c 61 79 20 69 .a.string.suitable.for.display.i
74e0 6e 20 61 20 55 49 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 n.a.UI...........///.</summary>.
7500 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 6f 70 74 69 6f 6e .........///.<param.name="option
7520 73 22 3e 4f 70 74 69 6f 6e 61 6c 20 73 65 74 20 6f 66 20 66 6f 72 6d 61 74 74 69 6e 67 20 6f 70 s">Optional.set.of.formatting.op
7540 74 69 6f 6e 73 2e 3c 2f 70 61 72 61 6d 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 70 61 72 tions.</param>..........///.<par
7560 61 6d 20 6e 61 6d 65 3d 22 63 6f 6e 74 72 6f 6c 22 3e 4f 70 74 69 6f 6e 61 6c 20 63 6f 6e 74 72 am.name="control">Optional.contr
7580 6f 6c 20 74 6f 20 77 68 69 63 68 20 74 68 65 20 62 69 6e 64 69 6e 67 20 68 61 73 20 62 65 65 6e ol.to.which.the.binding.has.been
75a0 20 72 65 73 6f 6c 76 65 64 2e 20 49 66 20 74 68 69 73 20 69 73 20 73 75 70 70 6c 69 65 64 2c 0d .resolved..If.this.is.supplied,.
75c0 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 74 68 65 20 72 65 73 75 6c 74 69 6e 67 20 73 74 72 69 6e .........///.the.resulting.strin
75e0 67 20 63 61 6e 20 72 65 66 6c 65 63 74 20 74 68 69 6e 67 73 20 73 75 63 68 20 61 73 20 74 68 65 g.can.reflect.things.such.as.the
7600 20 63 75 72 72 65 6e 74 20 6b 65 79 62 6f 61 72 64 20 6c 61 79 6f 75 74 20 6f 72 20 68 61 72 64 .current.keyboard.layout.or.hard
7620 77 61 72 65 2f 70 6c 61 74 66 6f 72 6d 2d 73 70 65 63 69 66 69 63 0d 0a 20 20 20 20 20 20 20 20 ware/platform-specific..........
7640 2f 2f 2f 20 6e 61 6d 69 6e 67 20 6f 66 20 63 6f 6e 74 72 6f 6c 73 20 28 65 2e 67 2e 20 58 62 6f ///.naming.of.controls.(e.g..Xbo
7660 78 20 76 73 20 50 53 34 20 63 6f 6e 74 72 6f 6c 6c 65 72 73 20 61 73 20 6f 70 70 6f 73 65 64 20 x.vs.PS4.controllers.as.opposed.
7680 74 6f 20 6e 61 6d 69 6e 67 20 74 68 69 6e 67 73 20 67 65 6e 65 72 69 63 61 6c 6c 79 20 62 61 73 to.naming.things.generically.bas
76a0 65 64 20 6f 6e 20 74 68 65 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 65 65 20 63 72 65 66 ed.on.the..........///.<see.cref
76c0 3d 22 47 61 6d 65 70 61 64 22 2f 3e 20 6c 61 79 6f 75 74 29 2e 3c 2f 70 61 72 61 6d 3e 0d 0a 20 ="Gamepad"/>.layout).</param>...
76e0 20 20 20 20 20 20 20 2f 2f 2f 20 3c 72 65 74 75 72 6e 73 3e 41 20 73 74 72 69 6e 67 20 72 65 70 .......///.<returns>A.string.rep
7700 72 65 73 65 6e 74 61 74 69 6f 6e 20 6f 66 20 74 68 65 20 62 69 6e 64 69 6e 67 20 73 75 69 74 61 resentation.of.the.binding.suita
7720 62 6c 65 20 66 6f 72 20 64 69 73 70 6c 61 79 20 69 6e 20 61 20 55 49 2e 3c 2f 72 65 74 75 72 6e ble.for.display.in.a.UI.</return
7740 73 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 s>..........///.<remarks>.......
7760 20 20 20 2f 2f 2f 20 54 68 69 73 20 6d 65 74 68 6f 64 20 77 6f 72 6b 73 20 6f 6e 6c 79 20 66 6f ...///.This.method.works.only.fo
7780 72 20 62 69 6e 64 69 6e 67 73 20 74 68 61 74 20 61 72 65 20 6e 6f 74 20 63 6f 6d 70 6f 73 69 74 r.bindings.that.are.not.composit
77a0 65 73 2e 20 49 66 20 74 68 65 20 6d 65 74 68 6f 64 20 69 73 20 63 61 6c 6c 65 64 20 6f 6e 20 61 es..If.the.method.is.called.on.a
77c0 20 62 69 6e 64 69 6e 67 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 74 68 61 74 20 69 73 20 61 20 .binding..........///.that.is.a.
77e0 63 6f 6d 70 6f 73 69 74 65 20 28 3c 73 65 65 20 63 72 65 66 3d 22 69 73 43 6f 6d 70 6f 73 69 74 composite.(<see.cref="isComposit
7800 65 22 2f 3e 20 69 73 20 74 72 75 65 29 2c 20 61 6e 20 65 6d 70 74 79 20 73 74 72 69 6e 67 20 77 e"/>.is.true),.an.empty.string.w
7820 69 6c 6c 20 62 65 20 72 65 74 75 72 6e 65 64 2e 20 54 6f 20 61 75 74 6f 6d 61 74 69 63 61 6c 6c ill.be.returned..To.automaticall
7840 79 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 68 61 6e 64 6c 65 20 63 6f 6d 70 6f 73 69 74 65 73 y..........///.handle.composites
7860 2c 20 75 73 65 20 3c 73 65 65 20 63 72 65 66 3d 22 49 6e 70 75 74 41 63 74 69 6f 6e 52 65 62 69 ,.use.<see.cref="InputActionRebi
7880 6e 64 69 6e 67 45 78 74 65 6e 73 69 6f 6e 73 2e 47 65 74 42 69 6e 64 69 6e 67 44 69 73 70 6c 61 ndingExtensions.GetBindingDispla
78a0 79 53 74 72 69 6e 67 28 49 6e 70 75 74 41 63 74 69 6f 6e 2c 44 69 73 70 6c 61 79 53 74 72 69 6e yString(InputAction,DisplayStrin
78c0 67 4f 70 74 69 6f 6e 73 2c 73 74 72 69 6e 67 29 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f gOptions,string)"/>..........///
78e0 20 69 6e 73 74 65 61 64 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 0d 0a 20 20 20 20 20 20 20 20 .instead...........///..........
7900 2f 2f 2f 20 3c 65 78 61 6d 70 6c 65 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 63 6f 64 65 ///.<example>..........///.<code
7920 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 76 61 72 20 67 61 6d 65 70 61 64 42 69 6e 64 69 6e >..........///.var.gamepadBindin
7940 67 20 3d 20 6e 65 77 20 49 6e 70 75 74 42 69 6e 64 69 6e 67 28 22 26 6c 74 3b 47 61 6d 65 70 61 g.=.new.InputBinding("&lt;Gamepa
7960 64 26 67 74 3b 2f 62 75 74 74 6f 6e 53 6f 75 74 68 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 2f 2f d&gt;/buttonSouth");..........//
7980 2f 20 76 61 72 20 6d 6f 75 73 65 42 69 6e 64 69 6e 67 20 3d 20 6e 65 77 20 49 6e 70 75 74 42 69 /.var.mouseBinding.=.new.InputBi
79a0 6e 64 69 6e 67 28 22 26 6c 74 3b 4d 6f 75 73 65 26 67 74 3b 2f 6c 65 66 74 42 75 74 74 6f 6e 22 nding("&lt;Mouse&gt;/leftButton"
79c0 29 3b 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 76 61 72 20 6b 65 79 62 6f 61 72 64 42 69 6e 64 );..........///.var.keyboardBind
79e0 69 6e 67 20 3d 20 6e 65 77 20 49 6e 70 75 74 42 69 6e 64 69 6e 67 28 22 26 6c 74 3b 4b 65 79 62 ing.=.new.InputBinding("&lt;Keyb
7a00 6f 61 72 64 26 67 74 3b 2f 61 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 0d 0a 20 20 20 20 oard&gt;/a");..........///......
7a20 20 20 20 20 2f 2f 2f 20 2f 2f 20 50 72 69 6e 74 73 20 22 41 22 20 65 78 63 65 70 74 20 6f 6e 20 ....///.//.Prints."A".except.on.
7a40 50 53 34 20 77 68 65 72 65 20 69 74 20 70 72 69 6e 74 73 20 22 43 72 6f 73 73 22 2e 0d 0a 20 20 PS4.where.it.prints."Cross".....
7a60 20 20 20 20 20 20 2f 2f 2f 20 44 65 62 75 67 2e 4c 6f 67 28 67 61 6d 65 70 61 64 42 69 6e 64 69 ......///.Debug.Log(gamepadBindi
7a80 6e 67 2e 54 6f 44 69 73 70 6c 61 79 53 74 72 69 6e 67 28 29 29 3b 0d 0a 20 20 20 20 20 20 20 20 ng.ToDisplayString());..........
7aa0 2f 2f 2f 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 2f 2f 20 50 72 69 6e 74 73 20 22 4c 4d 42 22 ///..........///.//.Prints."LMB"
7ac0 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 44 65 62 75 67 2e 4c 6f 67 28 6d 6f 75 73 65 42 69 ...........///.Debug.Log(mouseBi
7ae0 6e 64 69 6e 67 2e 54 6f 44 69 73 70 6c 61 79 53 74 72 69 6e 67 28 29 29 3b 0d 0a 20 20 20 20 20 nding.ToDisplayString());.......
7b00 20 20 20 2f 2f 2f 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 2f 2f 20 50 72 69 6e 74 20 22 4c 65 ...///..........///.//.Print."Le
7b20 66 74 20 42 75 74 74 6f 6e 22 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 44 65 62 75 67 2e 4c ft.Button"...........///.Debug.L
7b40 6f 67 28 6d 6f 75 73 65 42 69 6e 64 69 6e 67 2e 54 6f 44 69 73 70 6c 61 79 53 74 72 69 6e 67 28 og(mouseBinding.ToDisplayString(
7b60 44 69 73 70 6c 61 79 53 74 72 69 6e 67 4f 70 74 69 6f 6e 73 2e 44 6f 6e 74 55 73 65 53 68 6f 72 DisplayStringOptions.DontUseShor
7b80 74 44 69 73 70 6c 61 79 4e 61 6d 65 73 29 29 3b 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 0d 0a 20 tDisplayNames));..........///...
7ba0 20 20 20 20 20 20 20 2f 2f 2f 20 2f 2f 20 50 72 69 6e 74 73 20 74 68 65 20 63 68 61 72 61 63 74 .......///.//.Prints.the.charact
7bc0 65 72 20 61 73 73 6f 63 69 61 74 65 64 20 77 69 74 68 20 74 68 65 20 22 41 22 20 6b 65 79 20 6f er.associated.with.the."A".key.o
7be0 6e 20 74 68 65 20 63 75 72 72 65 6e 74 20 6b 65 79 62 6f 61 72 64 20 6c 61 79 6f 75 74 2e 0d 0a n.the.current.keyboard.layout...
7c00 20 20 20 20 20 20 20 20 2f 2f 2f 20 44 65 62 75 67 2e 4c 6f 67 28 6b 65 79 62 6f 61 72 64 42 69 ........///.Debug.Log(keyboardBi
7c20 6e 64 69 6e 67 2c 20 63 6f 6e 74 72 6f 6c 3a 20 4b 65 79 62 6f 61 72 64 2e 63 75 72 72 65 6e 74 nding,.control:.Keyboard.current
7c40 29 3b 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 63 6f 64 65 3e 0d 0a 20 20 20 20 20 20 20 );..........///.</code>.........
7c60 20 2f 2f 2f 20 3c 2f 65 78 61 6d 70 6c 65 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 72 .///.</example>..........///.</r
7c80 65 6d 61 72 6b 73 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 emarks>..........///.<seealso.cr
7ca0 65 66 3d 22 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 50 61 74 68 2e 54 6f 48 75 6d 61 6e 52 65 61 64 ef="InputControlPath.ToHumanRead
7cc0 61 62 6c 65 53 74 72 69 6e 67 28 73 74 72 69 6e 67 2c 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 50 61 ableString(string,InputControlPa
7ce0 74 68 2e 48 75 6d 61 6e 52 65 61 64 61 62 6c 65 53 74 72 69 6e 67 4f 70 74 69 6f 6e 73 2c 49 6e th.HumanReadableStringOptions,In
7d00 70 75 74 43 6f 6e 74 72 6f 6c 29 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 65 65 putControl)"/>..........///.<see
7d20 61 6c 73 6f 20 63 72 65 66 3d 22 49 6e 70 75 74 41 63 74 69 6f 6e 52 65 62 69 6e 64 69 6e 67 45 also.cref="InputActionRebindingE
7d40 78 74 65 6e 73 69 6f 6e 73 2e 47 65 74 42 69 6e 64 69 6e 67 44 69 73 70 6c 61 79 53 74 72 69 6e xtensions.GetBindingDisplayStrin
7d60 67 28 49 6e 70 75 74 41 63 74 69 6f 6e 2c 69 6e 74 2c 49 6e 70 75 74 42 69 6e 64 69 6e 67 2e 44 g(InputAction,int,InputBinding.D
7d80 69 73 70 6c 61 79 53 74 72 69 6e 67 4f 70 74 69 6f 6e 73 29 22 2f 3e 0d 0a 20 20 20 20 20 20 20 isplayStringOptions)"/>.........
7da0 20 70 75 62 6c 69 63 20 73 74 72 69 6e 67 20 54 6f 44 69 73 70 6c 61 79 53 74 72 69 6e 67 28 44 .public.string.ToDisplayString(D
7dc0 69 73 70 6c 61 79 53 74 72 69 6e 67 4f 70 74 69 6f 6e 73 20 6f 70 74 69 6f 6e 73 20 3d 20 64 65 isplayStringOptions.options.=.de
7de0 66 61 75 6c 74 2c 20 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 20 63 6f 6e 74 72 6f 6c 20 3d 20 64 65 fault,.InputControl.control.=.de
7e00 66 61 75 6c 74 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 72 fault)..........{..............r
7e20 65 74 75 72 6e 20 54 6f 44 69 73 70 6c 61 79 53 74 72 69 6e 67 28 6f 75 74 20 76 61 72 20 5f 2c eturn.ToDisplayString(out.var._,
7e40 20 6f 75 74 20 76 61 72 20 5f 2c 20 6f 70 74 69 6f 6e 73 2c 20 63 6f 6e 74 72 6f 6c 29 3b 0d 0a .out.var._,.options,.control);..
7e60 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 6d 61 72 ........}............///.<summar
7e80 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 54 75 72 6e 20 74 68 65 20 62 69 6e 64 69 6e 67 y>..........///.Turn.the.binding
7ea0 20 69 6e 74 6f 20 61 20 73 74 72 69 6e 67 20 73 75 69 74 61 62 6c 65 20 66 6f 72 20 64 69 73 70 .into.a.string.suitable.for.disp
7ec0 6c 61 79 20 69 6e 20 61 20 55 49 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d lay.in.a.UI...........///.</summ
7ee0 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 3d 22 6f ary>..........///.<param.name="o
7f00 70 74 69 6f 6e 73 22 3e 4f 70 74 69 6f 6e 61 6c 20 73 65 74 20 6f 66 20 66 6f 72 6d 61 74 74 69 ptions">Optional.set.of.formatti
7f20 6e 67 20 6f 70 74 69 6f 6e 73 2e 3c 2f 70 61 72 61 6d 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f ng.options.</param>..........///
7f40 20 3c 70 61 72 61 6d 20 6e 61 6d 65 3d 22 63 6f 6e 74 72 6f 6c 22 3e 4f 70 74 69 6f 6e 61 6c 20 .<param.name="control">Optional.
7f60 63 6f 6e 74 72 6f 6c 20 74 6f 20 77 68 69 63 68 20 74 68 65 20 62 69 6e 64 69 6e 67 20 68 61 73 control.to.which.the.binding.has
7f80 20 62 65 65 6e 20 72 65 73 6f 6c 76 65 64 2e 20 49 66 20 74 68 69 73 20 69 73 20 73 75 70 70 6c .been.resolved..If.this.is.suppl
7fa0 69 65 64 2c 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 74 68 65 20 72 65 73 75 6c 74 69 6e 67 20 ied,..........///.the.resulting.
7fc0 73 74 72 69 6e 67 20 63 61 6e 20 72 65 66 6c 65 63 74 20 74 68 69 6e 67 73 20 73 75 63 68 20 61 string.can.reflect.things.such.a
7fe0 73 20 74 68 65 20 63 75 72 72 65 6e 74 20 6b 65 79 62 6f 61 72 64 20 6c 61 79 6f 75 74 20 6f 72 s.the.current.keyboard.layout.or
8000 20 68 61 72 64 77 61 72 65 2f 70 6c 61 74 66 6f 72 6d 2d 73 70 65 63 69 66 69 63 0d 0a 20 20 20 .hardware/platform-specific.....
8020 20 20 20 20 20 2f 2f 2f 20 6e 61 6d 69 6e 67 20 6f 66 20 63 6f 6e 74 72 6f 6c 73 20 28 65 2e 67 .....///.naming.of.controls.(e.g
8040 2e 20 58 62 6f 78 20 76 73 20 50 53 34 20 63 6f 6e 74 72 6f 6c 6c 65 72 73 20 61 73 20 6f 70 70 ..Xbox.vs.PS4.controllers.as.opp
8060 6f 73 65 64 20 74 6f 20 6e 61 6d 69 6e 67 20 74 68 69 6e 67 73 20 67 65 6e 65 72 69 63 61 6c 6c osed.to.naming.things.genericall
8080 79 20 62 61 73 65 64 20 6f 6e 20 74 68 65 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 65 65 y.based.on.the..........///.<see
80a0 20 63 72 65 66 3d 22 47 61 6d 65 70 61 64 22 2f 3e 20 6c 61 79 6f 75 74 29 2e 3c 2f 70 61 72 61 .cref="Gamepad"/>.layout).</para
80c0 6d 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 72 65 74 75 72 6e 73 3e 41 20 73 74 72 69 6e m>..........///.<returns>A.strin
80e0 67 20 72 65 70 72 65 73 65 6e 74 61 74 69 6f 6e 20 6f 66 20 74 68 65 20 62 69 6e 64 69 6e 67 20 g.representation.of.the.binding.
8100 73 75 69 74 61 62 6c 65 20 66 6f 72 20 64 69 73 70 6c 61 79 20 69 6e 20 61 20 55 49 2e 3c 2f 72 suitable.for.display.in.a.UI.</r
8120 65 74 75 72 6e 73 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 eturns>..........///.<remarks>..
8140 20 20 20 20 20 20 20 20 2f 2f 2f 20 54 68 69 73 20 6d 65 74 68 6f 64 20 69 73 20 74 68 65 20 73 ........///.This.method.is.the.s
8160 61 6d 65 20 61 73 20 3c 73 65 65 20 63 72 65 66 3d 22 54 6f 44 69 73 70 6c 61 79 53 74 72 69 6e ame.as.<see.cref="ToDisplayStrin
8180 67 28 44 69 73 70 6c 61 79 53 74 72 69 6e 67 4f 70 74 69 6f 6e 73 2c 49 6e 70 75 74 43 6f 6e 74 g(DisplayStringOptions,InputCont
81a0 72 6f 6c 29 22 2f 3e 20 65 78 63 65 70 74 20 74 68 61 74 20 69 74 0d 0a 20 20 20 20 20 20 20 20 rol)"/>.except.that.it..........
81c0 2f 2f 2f 20 77 69 6c 6c 20 61 6c 73 6f 20 72 65 74 75 72 6e 20 74 68 65 20 6e 61 6d 65 20 6f 66 ///.will.also.return.the.name.of
81e0 20 74 68 65 20 64 65 76 69 63 65 20 6c 61 79 6f 75 74 20 61 6e 64 20 70 61 74 68 20 6f 66 20 74 .the.device.layout.and.path.of.t
8200 68 65 20 63 6f 6e 74 72 6f 6c 2c 20 69 66 20 61 70 70 6c 69 63 61 62 6c 65 20 74 6f 20 74 68 65 he.control,.if.applicable.to.the
8220 20 62 69 6e 64 69 6e 67 2e 20 54 68 69 73 20 69 73 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 75 .binding..This.is..........///.u
8240 73 65 66 75 6c 20 77 68 65 6e 20 6e 65 65 64 69 6e 67 20 6d 6f 72 65 20 63 6f 6e 74 65 78 74 20 seful.when.needing.more.context.
8260 6f 6e 20 74 68 65 20 72 65 73 75 6c 74 69 6e 67 20 64 69 73 70 6c 61 79 20 73 74 72 69 6e 67 2c on.the.resulting.display.string,
8280 20 66 6f 72 20 65 78 61 6d 70 6c 65 20 74 6f 20 64 65 63 69 64 65 20 6f 6e 20 61 6e 20 69 63 6f .for.example.to.decide.on.an.ico
82a0 6e 20 74 6f 20 64 69 73 70 6c 61 79 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 69 6e 73 74 65 61 n.to.display..........///.instea
82c0 64 20 6f 66 20 74 68 65 20 74 65 78 74 75 61 6c 20 64 69 73 70 6c 61 79 20 73 74 72 69 6e 67 2e d.of.the.textual.display.string.
82e0 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 65 78 61 6d ..........///..........///.<exam
8300 70 6c 65 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 63 6f 64 65 3e 0d 0a 20 20 20 20 20 20 ple>..........///.<code>........
8320 20 20 2f 2f 2f 20 76 61 72 20 64 69 73 70 6c 61 79 53 74 72 69 6e 67 20 3d 20 6e 65 77 20 49 6e ..///.var.displayString.=.new.In
8340 70 75 74 42 69 6e 64 69 6e 67 28 22 26 6c 74 3b 47 61 6d 65 70 61 64 26 67 74 3b 2f 64 70 61 64 putBinding("&lt;Gamepad&gt;/dpad
8360 2f 75 70 22 29 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 20 20 20 20 2e 54 6f 44 69 73 70 6c 61 /up")..........///......ToDispla
8380 79 53 74 72 69 6e 67 28 6f 75 74 20 64 65 76 69 63 65 4c 61 79 6f 75 74 2c 20 6f 75 74 20 63 6f yString(out.deviceLayout,.out.co
83a0 6e 74 72 6f 6c 50 61 74 68 29 3b 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 0d 0a 20 20 20 20 20 20 ntrolPath);..........///........
83c0 20 20 2f 2f 2f 20 2f 2f 20 57 69 6c 6c 20 70 72 69 6e 74 20 22 44 2d 50 61 64 20 55 70 22 2e 0d ..///.//.Will.print."D-Pad.Up"..
83e0 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 44 65 62 75 67 2e 4c 6f 67 28 64 69 73 70 6c 61 79 53 74 .........///.Debug.Log(displaySt
8400 72 69 6e 67 29 3b 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f ring);..........///..........///
8420 20 2f 2f 20 57 69 6c 6c 20 70 72 69 6e 74 20 22 47 61 6d 65 70 61 64 22 2e 0d 0a 20 20 20 20 20 .//.Will.print."Gamepad"........
8440 20 20 20 2f 2f 2f 20 44 65 62 75 67 2e 4c 6f 67 28 64 65 76 69 63 65 4c 61 79 6f 75 74 29 3b 0d ...///.Debug.Log(deviceLayout);.
8460 0a 20 20 20 20 20 20 20 20 2f 2f 2f 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 2f 2f 20 57 69 6c .........///..........///.//.Wil
8480 6c 20 70 72 69 6e 74 20 22 64 70 61 64 2f 75 70 22 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 l.print."dpad/up"...........///.
84a0 44 65 62 75 67 2e 4c 6f 67 28 63 6f 6e 74 72 6f 6c 50 61 74 68 29 3b 0d 0a 20 20 20 20 20 20 20 Debug.Log(controlPath);.........
84c0 20 2f 2f 2f 20 3c 2f 63 6f 64 65 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 65 78 61 6d .///.</code>..........///.</exam
84e0 70 6c 65 3e 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 ple>..........///.</remarks>....
8500 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 43 6f ......///.<seealso.cref="InputCo
8520 6e 74 72 6f 6c 50 61 74 68 2e 54 6f 48 75 6d 61 6e 52 65 61 64 61 62 6c 65 53 74 72 69 6e 67 28 ntrolPath.ToHumanReadableString(
8540 73 74 72 69 6e 67 2c 6f 75 74 20 73 74 72 69 6e 67 2c 6f 75 74 20 73 74 72 69 6e 67 2c 49 6e 70 string,out.string,out.string,Inp
8560 75 74 43 6f 6e 74 72 6f 6c 50 61 74 68 2e 48 75 6d 61 6e 52 65 61 64 61 62 6c 65 53 74 72 69 6e utControlPath.HumanReadableStrin
8580 67 4f 70 74 69 6f 6e 73 2c 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 29 22 2f 3e 0d 0a 20 20 20 20 20 gOptions,InputControl)"/>.......
85a0 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 41 63 74 69 6f ...///.<seealso.cref="InputActio
85c0 6e 52 65 62 69 6e 64 69 6e 67 45 78 74 65 6e 73 69 6f 6e 73 2e 47 65 74 42 69 6e 64 69 6e 67 44 nRebindingExtensions.GetBindingD
85e0 69 73 70 6c 61 79 53 74 72 69 6e 67 28 49 6e 70 75 74 41 63 74 69 6f 6e 2c 69 6e 74 2c 6f 75 74 isplayString(InputAction,int,out
8600 20 73 74 72 69 6e 67 2c 6f 75 74 20 73 74 72 69 6e 67 2c 49 6e 70 75 74 42 69 6e 64 69 6e 67 2e .string,out.string,InputBinding.
8620 44 69 73 70 6c 61 79 53 74 72 69 6e 67 4f 70 74 69 6f 6e 73 29 22 2f 3e 0d 0a 20 20 20 20 20 20 DisplayStringOptions)"/>........
8640 20 20 70 75 62 6c 69 63 20 73 74 72 69 6e 67 20 54 6f 44 69 73 70 6c 61 79 53 74 72 69 6e 67 28 ..public.string.ToDisplayString(
8660 6f 75 74 20 73 74 72 69 6e 67 20 64 65 76 69 63 65 4c 61 79 6f 75 74 4e 61 6d 65 2c 20 6f 75 74 out.string.deviceLayoutName,.out
8680 20 73 74 72 69 6e 67 20 63 6f 6e 74 72 6f 6c 50 61 74 68 2c 20 44 69 73 70 6c 61 79 53 74 72 69 .string.controlPath,.DisplayStri
86a0 6e 67 4f 70 74 69 6f 6e 73 20 6f 70 74 69 6f 6e 73 20 3d 20 64 65 66 61 75 6c 74 2c 0d 0a 20 20 ngOptions.options.=.default,....
86c0 20 20 20 20 20 20 20 20 20 20 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 20 63 6f 6e 74 72 6f 6c 20 3d ..........InputControl.control.=
86e0 20 64 65 66 61 75 6c 74 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 .default)..........{............
8700 20 20 69 66 20 28 69 73 43 6f 6d 70 6f 73 69 74 65 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 ..if.(isComposite)..............
8720 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 65 76 69 63 65 4c 61 79 6f 75 74 4e {..................deviceLayoutN
8740 61 6d 65 20 3d 20 6e 75 6c 6c 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e ame.=.null;..................con
8760 74 72 6f 6c 50 61 74 68 20 3d 20 6e 75 6c 6c 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 trolPath.=.null;................
8780 20 20 72 65 74 75 72 6e 20 73 74 72 69 6e 67 2e 45 6d 70 74 79 3b 0d 0a 20 20 20 20 20 20 20 20 ..return.string.Empty;..........
87a0 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 72 65 61 64 61 62 6c ....}................var.readabl
87c0 65 53 74 72 69 6e 67 4f 70 74 69 6f 6e 73 20 3d 20 64 65 66 61 75 6c 74 28 49 6e 70 75 74 43 6f eStringOptions.=.default(InputCo
87e0 6e 74 72 6f 6c 50 61 74 68 2e 48 75 6d 61 6e 52 65 61 64 61 62 6c 65 53 74 72 69 6e 67 4f 70 74 ntrolPath.HumanReadableStringOpt
8800 69 6f 6e 73 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 28 6f 70 74 69 6f 6e 73 ions);..............if.((options
8820 20 26 20 44 69 73 70 6c 61 79 53 74 72 69 6e 67 4f 70 74 69 6f 6e 73 2e 44 6f 6e 74 4f 6d 69 74 .&.DisplayStringOptions.DontOmit
8840 44 65 76 69 63 65 29 20 3d 3d 20 30 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 Device).==.0)..................r
8860 65 61 64 61 62 6c 65 53 74 72 69 6e 67 4f 70 74 69 6f 6e 73 20 7c 3d 20 49 6e 70 75 74 43 6f 6e eadableStringOptions.|=.InputCon
8880 74 72 6f 6c 50 61 74 68 2e 48 75 6d 61 6e 52 65 61 64 61 62 6c 65 53 74 72 69 6e 67 4f 70 74 69 trolPath.HumanReadableStringOpti
88a0 6f 6e 73 2e 4f 6d 69 74 44 65 76 69 63 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 ons.OmitDevice;..............if.
88c0 28 28 6f 70 74 69 6f 6e 73 20 26 20 44 69 73 70 6c 61 79 53 74 72 69 6e 67 4f 70 74 69 6f 6e 73 ((options.&.DisplayStringOptions
88e0 2e 44 6f 6e 74 55 73 65 53 68 6f 72 74 44 69 73 70 6c 61 79 4e 61 6d 65 73 29 20 3d 3d 20 30 29 .DontUseShortDisplayNames).==.0)
8900 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 61 64 61 62 6c 65 53 74 72 69 6e 67 ..................readableString
8920 4f 70 74 69 6f 6e 73 20 7c 3d 20 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 50 61 74 68 2e 48 75 6d 61 Options.|=.InputControlPath.Huma
8940 6e 52 65 61 64 61 62 6c 65 53 74 72 69 6e 67 4f 70 74 69 6f 6e 73 2e 55 73 65 53 68 6f 72 74 4e nReadableStringOptions.UseShortN
8960 61 6d 65 73 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 70 61 74 68 54 6f 55 ames;................var.pathToU
8980 73 65 20 3d 20 28 6f 70 74 69 6f 6e 73 20 26 20 44 69 73 70 6c 61 79 53 74 72 69 6e 67 4f 70 74 se.=.(options.&.DisplayStringOpt
89a0 69 6f 6e 73 2e 49 67 6e 6f 72 65 42 69 6e 64 69 6e 67 4f 76 65 72 72 69 64 65 73 29 20 21 3d 20 ions.IgnoreBindingOverrides).!=.
89c0 30 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3f 20 70 61 74 68 0d 0a 20 20 20 20 20 0..................?.path.......
89e0 20 20 20 20 20 20 20 20 20 20 20 3a 20 65 66 66 65 63 74 69 76 65 50 61 74 68 3b 0d 0a 0d 0a 20 ...........:.effectivePath;.....
8a00 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 72 65 73 75 6c 74 20 3d 20 49 6e 70 75 74 43 6f 6e ...........var.result.=.InputCon
8a20 74 72 6f 6c 50 61 74 68 2e 54 6f 48 75 6d 61 6e 52 65 61 64 61 62 6c 65 53 74 72 69 6e 67 28 70 trolPath.ToHumanReadableString(p
8a40 61 74 68 54 6f 55 73 65 2c 20 6f 75 74 20 64 65 76 69 63 65 4c 61 79 6f 75 74 4e 61 6d 65 2c 20 athToUse,.out.deviceLayoutName,.
8a60 6f 75 74 20 63 6f 6e 74 72 6f 6c 50 61 74 68 2c 20 72 65 61 64 61 62 6c 65 53 74 72 69 6e 67 4f out.controlPath,.readableStringO
8a80 70 74 69 6f 6e 73 2c 20 63 6f 6e 74 72 6f 6c 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 ptions,.control);...............
8aa0 20 69 66 20 28 21 73 74 72 69 6e 67 2e 49 73 4e 75 6c 6c 4f 72 45 6d 70 74 79 28 65 66 66 65 63 .if.(!string.IsNullOrEmpty(effec
8ac0 74 69 76 65 49 6e 74 65 72 61 63 74 69 6f 6e 73 29 20 26 26 20 28 6f 70 74 69 6f 6e 73 20 26 20 tiveInteractions).&&.(options.&.
8ae0 44 69 73 70 6c 61 79 53 74 72 69 6e 67 4f 70 74 69 6f 6e 73 2e 44 6f 6e 74 49 6e 63 6c 75 64 65 DisplayStringOptions.DontInclude
8b00 49 6e 74 65 72 61 63 74 69 6f 6e 73 29 20 3d 3d 20 30 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 Interactions).==.0).............
8b20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 69 6e 74 65 72 61 63 74 .{..................var.interact
8b40 69 6f 6e 53 74 72 69 6e 67 20 3d 20 73 74 72 69 6e 67 2e 45 6d 70 74 79 3b 0d 0a 20 20 20 20 20 ionString.=.string.Empty;.......
8b60 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 70 61 72 73 65 64 49 6e 74 65 72 61 63 74 69 6f 6e ...........var.parsedInteraction
8b80 73 20 3d 20 4e 61 6d 65 41 6e 64 50 61 72 61 6d 65 74 65 72 73 2e 50 61 72 73 65 4d 75 6c 74 69 s.=.NameAndParameters.ParseMulti
8ba0 70 6c 65 28 65 66 66 65 63 74 69 76 65 49 6e 74 65 72 61 63 74 69 6f 6e 73 29 3b 0d 0a 0d 0a 20 ple(effectiveInteractions);.....
8bc0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 65 61 63 68 20 28 76 61 72 20 65 6c 65 6d ...............foreach.(var.elem
8be0 65 6e 74 20 69 6e 20 70 61 72 73 65 64 49 6e 74 65 72 61 63 74 69 6f 6e 73 29 0d 0a 20 20 20 20 ent.in.parsedInteractions)......
8c00 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ............{...................
8c20 20 20 20 76 61 72 20 69 6e 74 65 72 61 63 74 69 6f 6e 20 3d 20 65 6c 65 6d 65 6e 74 2e 6e 61 6d ...var.interaction.=.element.nam
8c40 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 69 6e 74 65 e;......................var.inte
8c60 72 61 63 74 69 6f 6e 44 69 73 70 6c 61 79 4e 61 6d 65 20 3d 20 49 6e 70 75 74 49 6e 74 65 72 61 ractionDisplayName.=.InputIntera
8c80 63 74 69 6f 6e 2e 47 65 74 44 69 73 70 6c 61 79 4e 61 6d 65 28 69 6e 74 65 72 61 63 74 69 6f 6e ction.GetDisplayName(interaction
8ca0 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 41 6e 20 );........................//.An.
8cc0 69 6e 74 65 72 61 63 74 69 6f 6e 20 63 61 6e 20 61 76 6f 69 64 20 62 65 69 6e 67 20 6d 65 6e 74 interaction.can.avoid.being.ment
8ce0 69 6f 6e 65 64 20 65 78 70 6c 69 63 69 74 6c 79 20 62 79 20 6a 75 73 74 20 73 65 74 74 69 6e 67 ioned.explicitly.by.just.setting
8d00 20 69 74 73 20 64 69 73 70 6c 61 79 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .its.display....................
8d20 20 20 2f 2f 20 6e 61 6d 65 20 74 6f 20 61 6e 20 65 6d 70 74 79 20 73 74 72 69 6e 67 2e 0d 0a 20 ..//.name.to.an.empty.string....
8d40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 73 74 72 69 6e 67 2e 49 73 ...................if.(string.Is
8d60 4e 75 6c 6c 4f 72 45 6d 70 74 79 28 69 6e 74 65 72 61 63 74 69 6f 6e 44 69 73 70 6c 61 79 4e 61 NullOrEmpty(interactionDisplayNa
8d80 6d 65 29 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 63 6f me))..........................co
8da0 6e 74 69 6e 75 65 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f ntinue;......................../
8dc0 2f 2f 2f 54 4f 44 4f 3a 20 74 68 69 73 20 77 69 6c 6c 20 6e 65 65 64 20 73 75 70 70 6f 72 74 20 ///TODO:.this.will.need.support.
8de0 66 6f 72 20 6c 6f 63 61 6c 69 7a 61 74 69 6f 6e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 for.localization................
8e00 20 20 20 20 20 20 69 66 20 28 21 73 74 72 69 6e 67 2e 49 73 4e 75 6c 6c 4f 72 45 6d 70 74 79 28 ......if.(!string.IsNullOrEmpty(
8e20 69 6e 74 65 72 61 63 74 69 6f 6e 53 74 72 69 6e 67 29 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 interactionString)).............
8e40 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 74 65 72 61 63 74 69 6f 6e 53 74 72 69 6e 67 20 3d .............interactionString.=
8e60 20 24 22 7b 69 6e 74 65 72 61 63 74 69 6f 6e 53 74 72 69 6e 67 7d 20 6f 72 20 7b 69 6e 74 65 72 .$"{interactionString}.or.{inter
8e80 61 63 74 69 6f 6e 44 69 73 70 6c 61 79 4e 61 6d 65 7d 22 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 actionDisplayName}";............
8ea0 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 20 20 20 20 20 ..........else..................
8ec0 20 20 20 20 20 20 20 20 69 6e 74 65 72 61 63 74 69 6f 6e 53 74 72 69 6e 67 20 3d 20 69 6e 74 65 ........interactionString.=.inte
8ee0 72 61 63 74 69 6f 6e 44 69 73 70 6c 61 79 4e 61 6d 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 ractionDisplayName;.............
8f00 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 73 .....}....................if.(!s
8f20 74 72 69 6e 67 2e 49 73 4e 75 6c 6c 4f 72 45 6d 70 74 79 28 69 6e 74 65 72 61 63 74 69 6f 6e 53 tring.IsNullOrEmpty(interactionS
8f40 74 72 69 6e 67 29 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 73 tring))......................res
8f60 75 6c 74 20 3d 20 24 22 7b 69 6e 74 65 72 61 63 74 69 6f 6e 53 74 72 69 6e 67 7d 20 7b 72 65 73 ult.=.$"{interactionString}.{res
8f80 75 6c 74 7d 22 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 ult}";..............}...........
8fa0 20 20 20 20 20 72 65 74 75 72 6e 20 72 65 73 75 6c 74 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a .....return.result;..........}..
8fc0 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 2f 54 4f 44 4f 3a 20 61 6c 73 6f 20 73 75 70 70 6f 72 74 ..........////TODO:.also.support
8fe0 20 6d 61 74 63 68 69 6e 67 20 62 79 20 6e 61 6d 65 20 28 74 61 6b 69 6e 67 20 74 68 65 20 62 69 .matching.by.name.(taking.the.bi
9000 6e 64 69 6e 67 20 74 72 65 65 20 69 6e 74 6f 20 61 63 63 6f 75 6e 74 20 73 6f 20 74 68 61 74 20 nding.tree.into.account.so.that.
9020 63 6f 6d 70 6f 6e 65 6e 74 73 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 2f 20 20 20 20 20 20 6f 66 components..........////......of
9040 20 63 6f 6d 70 6f 73 69 74 65 73 20 63 61 6e 20 62 65 20 72 65 66 65 72 65 6e 63 65 64 20 74 68 .composites.can.be.referenced.th
9060 72 6f 75 67 68 20 74 68 65 69 72 20 70 61 72 65 6e 74 29 0d 0a 0d 0a 20 20 20 20 20 20 20 20 2f rough.their.parent)............/
9080 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 68 65 63 6b 20 //.<summary>..........///.Check.
90a0 77 68 65 74 68 65 72 20 3c 70 61 72 61 6d 72 65 66 20 6e 61 6d 65 3d 22 62 69 6e 64 69 6e 67 22 whether.<paramref.name="binding"
90c0 2f 3e 20 6d 61 74 63 68 65 73 20 74 68 65 20 6d 61 73 6b 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f />.matches.the.mask..........///
90e0 20 72 65 70 72 65 73 65 6e 74 65 64 20 62 79 20 74 68 65 20 63 75 72 72 65 6e 74 20 62 69 6e 64 .represented.by.the.current.bind
9100 69 6e 67 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 ing...........///.</summary>....
9120 20 20 20 20 20 20 2f 2f 2f 20 3c 70 61 72 61 6d 20 6e 61 6d 65 3d 22 62 69 6e 64 69 6e 67 22 3e ......///.<param.name="binding">
9140 41 6e 20 69 6e 70 75 74 20 62 69 6e 64 69 6e 67 2e 3c 2f 70 61 72 61 6d 3e 0d 0a 20 20 20 20 20 An.input.binding.</param>.......
9160 20 20 20 2f 2f 2f 20 3c 72 65 74 75 72 6e 73 3e 54 72 75 65 20 69 66 20 3c 70 61 72 61 6d 72 65 ...///.<returns>True.if.<paramre
9180 66 20 6e 61 6d 65 3d 22 62 69 6e 64 69 6e 67 22 2f 3e 20 69 73 20 6d 61 74 63 68 65 64 20 62 79 f.name="binding"/>.is.matched.by
91a0 20 74 68 65 20 6d 61 73 6b 20 72 65 70 72 65 73 65 6e 74 65 64 0d 0a 20 20 20 20 20 20 20 20 2f .the.mask.represented........../
91c0 2f 2f 20 62 79 20 3c 63 3e 74 68 69 73 3c 2f 63 3e 2e 3c 2f 72 65 74 75 72 6e 73 3e 0d 0a 20 20 //.by.<c>this</c>.</returns>....
91e0 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 20 20 2f 2f 2f ......///.<remarks>..........///
9200 20 49 6e 20 74 68 69 73 20 6d 65 74 68 6f 64 2c 20 74 68 65 20 63 75 72 72 65 6e 74 20 62 69 6e .In.this.method,.the.current.bin
9220 64 69 6e 67 20 61 63 74 73 20 61 73 20 61 20 22 6d 61 73 6b 22 2e 20 57 68 65 6e 20 75 73 65 64 ding.acts.as.a."mask"..When.used
9240 20 74 68 69 73 20 77 61 79 2c 20 6f 6e 6c 79 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 74 68 72 .this.way,.only..........///.thr
9260 65 65 20 70 72 6f 70 65 72 74 69 65 73 20 6f 66 20 74 68 65 20 62 69 6e 64 69 6e 67 20 61 72 65 ee.properties.of.the.binding.are
9280 20 74 61 6b 65 6e 20 69 6e 74 6f 20 61 63 63 6f 75 6e 74 3a 20 3c 73 65 65 20 63 72 65 66 3d 22 .taken.into.account:.<see.cref="
92a0 70 61 74 68 22 2f 3e 2c 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 65 65 20 63 72 65 66 3d path"/>,..........///.<see.cref=
92c0 22 67 72 6f 75 70 73 22 2f 3e 2c 20 61 6e 64 20 3c 73 65 65 20 63 72 65 66 3d 22 61 63 74 69 6f "groups"/>,.and.<see.cref="actio
92e0 6e 22 2f 3e 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 n"/>...........///..........///.
9300 46 6f 72 20 65 61 63 68 20 6f 66 20 74 68 65 73 65 20 70 72 6f 70 65 72 74 69 65 73 2c 20 74 68 For.each.of.these.properties,.th
9320 65 20 6d 65 74 68 6f 64 20 63 68 65 63 6b 73 20 77 68 65 74 68 65 72 20 74 68 65 79 20 61 72 65 e.method.checks.whether.they.are
9340 20 73 65 74 20 6f 6e 20 74 68 65 20 63 75 72 72 65 6e 74 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f .set.on.the.current..........///
9360 20 62 69 6e 64 69 6e 67 20 61 6e 64 2c 20 69 66 20 73 6f 2c 20 6d 61 74 63 68 65 73 20 74 68 65 .binding.and,.if.so,.matches.the
9380 6d 20 61 67 61 69 6e 73 74 20 74 68 65 20 72 65 73 70 65 63 74 69 76 65 20 70 72 6f 70 65 72 74 m.against.the.respective.propert
93a0 79 20 69 6e 20 3c 70 61 72 61 6d 72 65 66 20 6e 61 6d 65 3d 22 62 69 6e 64 69 6e 67 22 2f 3e 2e y.in.<paramref.name="binding"/>.
93c0 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 54 68 65 20 77 ..........///..........///.The.w
93e0 61 79 20 74 68 69 73 20 6d 61 74 63 68 69 6e 67 20 77 6f 72 6b 73 20 69 73 20 74 68 61 74 20 74 ay.this.matching.works.is.that.t
9400 68 65 20 76 61 6c 75 65 20 6f 66 20 74 68 65 20 70 72 6f 70 65 72 74 79 20 69 6e 20 74 68 65 20 he.value.of.the.property.in.the.
9420 63 75 72 72 65 6e 74 20 62 69 6e 64 69 6e 67 20 69 73 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 current.binding.is..........///.
9440 61 6c 6c 6f 77 65 64 20 74 6f 20 62 65 20 61 20 73 65 6d 69 63 6f 6c 6f 6e 2d 73 65 70 61 72 61 allowed.to.be.a.semicolon-separa
9460 74 65 64 20 6c 69 73 74 20 77 68 65 72 65 20 65 61 63 68 20 65 6c 65 6d 65 6e 74 20 73 70 65 63 ted.list.where.each.element.spec
9480 69 66 69 65 73 20 6f 6e 65 20 70 6f 73 73 69 62 6c 65 20 76 61 6c 75 65 0d 0a 20 20 20 20 20 20 ifies.one.possible.value........
94a0 20 20 2f 2f 2f 20 74 68 61 74 20 77 69 6c 6c 20 70 72 6f 64 75 63 65 20 61 20 6d 61 74 63 68 2e ..///.that.will.produce.a.match.
94c0 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 4e 6f 74 65 20 ..........///..........///.Note.
94e0 74 68 61 74 20 61 6c 6c 20 63 6f 6d 70 61 72 69 73 6f 6e 73 20 61 72 65 20 63 61 73 65 2d 69 6e that.all.comparisons.are.case-in
9500 73 65 6e 73 69 74 69 76 65 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 0d 0a 20 20 20 20 20 20 20 sensitive...........///.........
9520 20 2f 2f 2f 20 3c 65 78 61 6d 70 6c 65 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 63 6f 64 .///.<example>..........///.<cod
9540 65 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 2f 2f 20 43 72 65 61 74 65 20 61 20 63 6f 75 70 e>..........///.//.Create.a.coup
9560 6c 65 20 62 69 6e 64 69 6e 67 73 20 77 68 69 63 68 20 77 65 20 63 61 6e 20 74 65 73 74 20 61 67 le.bindings.which.we.can.test.ag
9580 61 69 6e 73 74 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 76 61 72 20 6b 65 79 62 6f 61 72 64 ainst...........///.var.keyboard
95a0 42 69 6e 64 69 6e 67 20 3d 20 6e 65 77 20 49 6e 70 75 74 42 69 6e 64 69 6e 67 0d 0a 20 20 20 20 Binding.=.new.InputBinding......
95c0 20 20 20 20 2f 2f 2f 20 7b 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 20 20 20 20 70 61 74 68 20 ....///.{..........///.....path.
95e0 3d 20 22 26 6c 74 3b 4b 65 79 62 6f 61 72 64 26 67 74 3b 2f 73 70 61 63 65 22 2c 0d 0a 20 20 20 =."&lt;Keyboard&gt;/space",.....
9600 20 20 20 20 20 2f 2f 2f 20 20 20 20 20 67 72 6f 75 70 73 20 3d 20 22 4b 65 79 62 6f 61 72 64 22 .....///.....groups.=."Keyboard"
9620 2c 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 20 20 20 20 61 63 74 69 6f 6e 20 3d 20 22 46 69 72 ,..........///.....action.=."Fir
9640 65 22 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 7d 3b 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 e"..........///.};..........///.
9660 76 61 72 20 67 61 6d 65 70 61 64 42 69 6e 64 69 6e 67 20 3d 20 6e 65 77 20 49 6e 70 75 74 42 69 var.gamepadBinding.=.new.InputBi
9680 6e 64 69 6e 67 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 7b 0d 0a 20 20 20 20 20 20 20 20 2f 2f nding..........///.{..........//
96a0 2f 20 20 20 20 20 70 61 74 68 20 3d 20 22 26 6c 74 3b 47 61 6d 65 70 61 64 26 67 74 3b 2f 62 75 /.....path.=."&lt;Gamepad&gt;/bu
96c0 74 74 6f 6e 53 6f 75 74 68 22 2c 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 20 20 20 20 67 72 6f ttonSouth",..........///.....gro
96e0 75 70 73 20 3d 20 22 47 61 6d 65 70 61 64 22 2c 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 20 20 ups.=."Gamepad",..........///...
9700 20 20 61 63 74 69 6f 6e 20 3d 20 22 4a 75 6d 70 22 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 7d ..action.=."Jump"..........///.}
9720 3b 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 76 61 72 20 74 6f 75 63 68 42 69 6e 64 69 6e 67 20 ;..........///.var.touchBinding.
9740 3d 20 6e 65 77 20 49 6e 70 75 74 42 69 6e 64 69 6e 67 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 =.new.InputBinding..........///.
9760 7b 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 20 20 20 20 70 61 74 68 20 3d 20 22 26 6c 74 3b 54 {..........///.....path.=."&lt;T
9780 6f 75 63 68 73 63 72 65 65 6e 26 67 74 3b 2f 2a 2f 74 61 70 22 2c 0d 0a 20 20 20 20 20 20 20 20 ouchscreen&gt;/*/tap",..........
97a0 2f 2f 2f 20 20 20 20 20 67 72 6f 75 70 73 20 3d 20 22 54 6f 75 63 68 22 2c 0d 0a 20 20 20 20 20 ///.....groups.=."Touch",.......
97c0 20 20 20 2f 2f 2f 20 20 20 20 20 61 63 74 69 6f 6e 20 3d 20 22 4a 75 6d 70 22 0d 0a 20 20 20 20 ...///.....action.=."Jump"......
97e0 20 20 20 20 2f 2f 2f 20 7d 3b 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 0d 0a 20 20 20 20 20 20 20 ....///.};..........///.........
9800 20 2f 2f 2f 20 2f 2f 20 45 78 61 6d 70 6c 65 20 31 3a 20 4d 61 74 63 68 20 61 6e 79 20 62 69 6e .///.//.Example.1:.Match.any.bin
9820 64 69 6e 67 20 69 6e 20 74 68 65 20 22 4b 65 79 62 6f 61 72 64 22 20 6f 72 20 22 47 61 6d 65 70 ding.in.the."Keyboard".or."Gamep
9840 61 64 22 20 67 72 6f 75 70 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 76 61 72 20 6d 61 73 6b ad".group...........///.var.mask
9860 31 20 3d 20 6e 65 77 20 49 6e 70 75 74 42 69 6e 64 69 6e 67 0d 0a 20 20 20 20 20 20 20 20 2f 2f 1.=.new.InputBinding..........//
9880 2f 20 7b 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 20 20 20 20 2f 2f 20 57 65 20 70 75 74 20 74 /.{..........///.....//.We.put.t
98a0 77 6f 20 65 6c 65 6d 65 6e 74 73 20 69 6e 20 74 68 65 20 6c 69 73 74 20 68 65 72 65 20 61 6e 64 wo.elements.in.the.list.here.and
98c0 20 73 65 70 61 72 61 74 65 20 74 68 65 6d 20 77 69 74 68 20 61 20 73 65 6d 69 63 6f 6c 6f 6e 2e .separate.them.with.a.semicolon.
98e0 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 20 20 20 20 67 72 6f 75 70 73 20 3d 20 22 4b 65 79 62 ..........///.....groups.=."Keyb
9900 6f 61 72 64 3b 47 61 6d 65 70 61 64 22 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 7d 3b 0d 0a 20 oard;Gamepad"..........///.};...
9920 20 20 20 20 20 20 20 2f 2f 2f 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 6d 61 73 6b 31 2e 4d 61 .......///..........///.mask1.Ma
9940 74 63 68 65 73 28 6b 65 79 62 6f 61 72 64 42 69 6e 64 69 6e 67 29 3b 20 2f 2f 20 54 72 75 65 0d tches(keyboardBinding);.//.True.
9960 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 6d 61 73 6b 31 2e 4d 61 74 63 68 65 73 28 67 61 6d 65 70 .........///.mask1.Matches(gamep
9980 61 64 42 69 6e 64 69 6e 67 29 3b 20 2f 2f 20 54 72 75 65 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f adBinding);.//.True..........///
99a0 20 6d 61 73 6b 31 2e 4d 61 74 63 68 65 73 28 74 6f 75 63 68 42 69 6e 64 69 6e 67 29 3b 20 2f 2f .mask1.Matches(touchBinding);.//
99c0 20 46 61 6c 73 65 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f .False..........///..........///
99e0 20 2f 2f 20 45 78 61 6d 70 6c 65 20 32 3a 20 4d 61 74 63 68 20 61 6e 79 20 62 69 6e 64 69 6e 67 .//.Example.2:.Match.any.binding
9a00 20 74 6f 20 74 68 65 20 22 4a 75 6d 70 22 20 6f 72 20 74 68 65 20 22 52 6f 6c 6c 22 20 61 63 74 .to.the."Jump".or.the."Roll".act
9a20 69 6f 6e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 2f 2f 20 20 20 20 20 20 20 20 20 20 20 20 28 ion..........///.//............(
9a40 74 68 65 20 6c 61 74 74 65 72 20 77 65 20 64 6f 6e 27 74 20 61 63 74 75 61 6c 6c 79 20 68 61 76 the.latter.we.don't.actually.hav
9a60 65 20 61 20 62 69 6e 64 69 6e 67 20 66 6f 72 29 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 76 61 e.a.binding.for)..........///.va
9a80 72 20 6d 61 73 6b 32 20 3d 20 6e 65 77 20 49 6e 70 75 74 42 69 6e 64 69 6e 67 0d 0a 20 20 20 20 r.mask2.=.new.InputBinding......
9aa0 20 20 20 20 2f 2f 2f 20 7b 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 20 20 20 20 61 63 74 69 6f ....///.{..........///.....actio
9ac0 6e 20 3d 20 22 4a 75 6d 70 3b 52 6f 6c 6c 22 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 7d 3b 0d n.=."Jump;Roll"..........///.};.
9ae0 0a 20 20 20 20 20 20 20 20 2f 2f 2f 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 6d 61 73 6b 32 2e .........///..........///.mask2.
9b00 4d 61 74 63 68 65 73 28 6b 65 79 62 6f 61 72 64 42 69 6e 64 69 6e 67 29 3b 20 2f 2f 20 46 61 6c Matches(keyboardBinding);.//.Fal
9b20 73 65 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 6d 61 73 6b 32 2e 4d 61 74 63 68 65 73 28 67 61 se..........///.mask2.Matches(ga
9b40 6d 65 70 61 64 42 69 6e 64 69 6e 67 29 3b 20 2f 2f 20 54 72 75 65 0d 0a 20 20 20 20 20 20 20 20 mepadBinding);.//.True..........
9b60 2f 2f 2f 20 6d 61 73 6b 32 2e 4d 61 74 63 68 65 73 28 74 6f 75 63 68 42 69 6e 64 69 6e 67 29 3b ///.mask2.Matches(touchBinding);
9b80 20 2f 2f 20 54 72 75 65 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 0d 0a 20 20 20 20 20 20 20 20 2f .//.True..........///........../
9ba0 2f 2f 20 2f 2f 20 45 78 61 6d 70 6c 65 3a 20 4d 61 74 63 68 20 61 6e 79 20 62 69 6e 64 69 6e 67 //.//.Example:.Match.any.binding
9bc0 20 74 6f 20 74 68 65 20 73 70 61 63 65 20 6f 72 20 65 6e 74 65 72 20 6b 65 79 20 69 6e 20 74 68 .to.the.space.or.enter.key.in.th
9be0 65 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 2f 2f 20 20 20 20 20 20 20 20 20 20 22 4b 65 79 62 e..........///.//.........."Keyb
9c00 6f 61 72 64 22 20 67 72 6f 75 70 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 76 61 72 20 6d 61 oard".group...........///.var.ma
9c20 73 6b 33 20 3d 20 6e 65 77 20 49 6e 70 75 74 42 69 6e 64 69 6e 67 0d 0a 20 20 20 20 20 20 20 20 sk3.=.new.InputBinding..........
9c40 2f 2f 2f 20 7b 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 20 20 20 20 70 61 74 68 20 3d 20 22 26 ///.{..........///.....path.=."&
9c60 6c 74 3b 4b 65 79 62 6f 61 72 64 26 67 74 3b 2f 73 70 61 63 65 3b 26 6c 74 3b 4b 65 79 62 6f 61 lt;Keyboard&gt;/space;&lt;Keyboa
9c80 72 64 26 67 74 3b 2f 65 6e 74 65 72 22 2c 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 20 20 20 20 rd&gt;/enter",..........///.....
9ca0 67 72 6f 75 70 73 20 3d 20 22 4b 65 79 62 6f 61 72 64 22 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f groups.=."Keyboard"..........///
9cc0 20 7d 3b 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 6d 61 .};..........///..........///.ma
9ce0 73 6b 33 2e 4d 61 74 63 68 65 73 28 6b 65 79 62 6f 61 72 64 42 69 6e 64 69 6e 67 29 3b 20 2f 2f sk3.Matches(keyboardBinding);.//
9d00 20 54 72 75 65 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 6d 61 73 6b 33 2e 4d 61 74 63 68 65 73 .True..........///.mask3.Matches
9d20 28 67 61 6d 65 70 61 64 42 69 6e 64 69 6e 67 29 3b 20 2f 2f 20 46 61 6c 73 65 0d 0a 20 20 20 20 (gamepadBinding);.//.False......
9d40 20 20 20 20 2f 2f 2f 20 6d 61 73 6b 33 2e 4d 61 74 63 68 65 73 28 74 6f 75 63 68 42 69 6e 64 69 ....///.mask3.Matches(touchBindi
9d60 6e 67 29 3b 20 2f 2f 20 46 61 6c 73 65 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 63 6f 64 ng);.//.False..........///.</cod
9d80 65 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 65 78 61 6d 70 6c 65 3e 0d 0a 20 20 20 20 e>..........///.</example>......
9da0 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 20 20 70 75 62 6c ....///.</remarks>..........publ
9dc0 69 63 20 62 6f 6f 6c 20 4d 61 74 63 68 65 73 28 49 6e 70 75 74 42 69 6e 64 69 6e 67 20 62 69 6e ic.bool.Matches(InputBinding.bin
9de0 64 69 6e 67 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 ding)..........{..............re
9e00 74 75 72 6e 20 4d 61 74 63 68 65 73 28 72 65 66 20 62 69 6e 64 69 6e 67 29 3b 0d 0a 20 20 20 20 turn.Matches(ref.binding);......
9e20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 2f 2f 20 49 6e 74 65 72 6e 61 6c 6c 79 20 77 ....}............//.Internally.w
9e40 65 20 70 61 73 73 20 62 79 20 72 65 66 65 72 65 6e 63 65 20 74 6f 20 6e 6f 74 20 75 6e 6e 65 63 e.pass.by.reference.to.not.unnec
9e60 65 73 73 61 72 69 6c 79 20 63 6f 70 79 20 74 68 65 20 73 74 72 75 63 74 2e 0d 0a 20 20 20 20 20 essarily.copy.the.struct........
9e80 20 20 20 69 6e 74 65 72 6e 61 6c 20 62 6f 6f 6c 20 4d 61 74 63 68 65 73 28 72 65 66 20 49 6e 70 ...internal.bool.Matches(ref.Inp
9ea0 75 74 42 69 6e 64 69 6e 67 20 62 69 6e 64 69 6e 67 2c 20 4d 61 74 63 68 4f 70 74 69 6f 6e 73 20 utBinding.binding,.MatchOptions.
9ec0 6f 70 74 69 6f 6e 73 20 3d 20 64 65 66 61 75 6c 74 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 options.=.default)..........{...
9ee0 20 20 20 20 20 20 20 20 20 20 20 2f 2f 2f 2f 54 4f 44 4f 3a 20 61 64 64 20 6d 61 74 63 68 69 6e ...........////TODO:.add.matchin
9f00 67 20 62 79 20 49 44 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 70 61 74 68 20 g.by.ID................if.(path.
9f20 21 3d 20 6e 75 6c 6c 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 !=.null)..............{.........
9f40 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 74 68 69 73 .........////REVIEW:.should.this
9f60 20 75 73 65 20 62 69 6e 64 69 6e 67 2e 65 66 66 65 63 74 69 76 65 50 61 74 68 3f 0d 0a 20 20 20 .use.binding.effectivePath?.....
9f80 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.
9fa0 74 68 69 73 20 73 75 70 70 6f 72 74 20 6d 61 74 63 68 69 6e 67 20 62 79 20 70 72 65 66 69 78 20 this.support.matching.by.prefix.
9fc0 6f 6e 6c 79 3f 20 73 68 6f 75 6c 64 20 74 68 69 73 20 75 73 65 20 63 6f 6e 74 72 6f 6c 20 70 61 only?.should.this.use.control.pa
9fe0 74 68 20 6d 61 74 63 68 69 6e 67 20 69 6e 73 74 65 61 64 20 6f 66 20 6a 75 73 74 20 73 74 72 69 th.matching.instead.of.just.stri
a000 6e 67 20 63 6f 6d 70 61 72 69 73 6f 6e 73 3f 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ng.comparisons?.................
a020 20 2f 2f 2f 2f 54 4f 44 4f 3a 20 68 61 6e 64 6c 65 20 74 68 69 6e 67 73 20 6c 69 6b 65 20 69 67 .////TODO:.handle.things.like.ig
a040 6e 6f 72 69 6e 67 20 6c 65 61 64 69 6e 67 20 27 2f 27 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 noring.leading.'/'..............
a060 20 20 20 20 69 66 20 28 62 69 6e 64 69 6e 67 2e 70 61 74 68 20 3d 3d 20 6e 75 6c 6c 0d 0a 20 20 ....if.(binding.path.==.null....
a080 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7c 7c 20 21 53 74 72 69 6e 67 48 65 6c 70 ..................||.!StringHelp
a0a0 65 72 73 2e 43 68 61 72 61 63 74 65 72 53 65 70 61 72 61 74 65 64 4c 69 73 74 73 48 61 76 65 41 ers.CharacterSeparatedListsHaveA
a0c0 74 4c 65 61 73 74 4f 6e 65 43 6f 6d 6d 6f 6e 45 6c 65 6d 65 6e 74 28 70 61 74 68 2c 20 62 69 6e tLeastOneCommonElement(path,.bin
a0e0 64 69 6e 67 2e 70 61 74 68 2c 20 53 65 70 61 72 61 74 6f 72 29 29 0d 0a 20 20 20 20 20 20 20 20 ding.path,.Separator))..........
a100 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0d 0a 20 20 20 20 20 ............return.false;.......
a120 20 20 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 61 63 74 69 .......}................if.(acti
a140 6f 6e 20 21 3d 20 6e 75 6c 6c 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 on.!=.null)..............{......
a160 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 2f 2f 54 4f 44 4f 3a 20 68 61 6e 64 6c 65 20 22 6d 61 ............////TODO:.handle."ma
a180 70 2f 61 63 74 69 6f 6e 22 20 66 6f 72 6d 61 74 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 p/action".format................
a1a0 20 20 2f 2f 2f 2f 54 4f 44 4f 3a 20 68 61 6e 64 6c 65 20 22 6d 61 70 2f 2a 22 20 66 6f 72 6d 61 ..////TODO:.handle."map/*".forma
a1c0 74 0d 0a 20 20 20 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 74 t..................////REVIEW:.t
a1e0 68 69 73 20 77 69 6c 6c 20 6e 6f 74 20 62 65 20 61 62 6c 65 20 74 6f 20 68 61 6e 64 6c 65 20 63 his.will.not.be.able.to.handle.c
a200 61 73 65 73 20 77 68 65 72 65 20 6f 6e 65 20 62 69 6e 64 69 6e 67 20 72 65 66 65 72 65 6e 63 65 ases.where.one.binding.reference
a220 73 20 61 6e 20 61 63 74 69 6f 6e 20 62 79 20 49 44 20 61 6e 64 20 74 68 65 20 6f 74 68 65 72 20 s.an.action.by.ID.and.the.other.
a240 62 79 20 6e 61 6d 65 20 62 75 74 20 62 6f 74 68 20 64 6f 20 6d 65 61 6e 20 74 68 65 20 73 61 6d by.name.but.both.do.mean.the.sam
a260 65 20 61 63 74 69 6f 6e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 62 69 e.action..................if.(bi
a280 6e 64 69 6e 67 2e 61 63 74 69 6f 6e 20 3d 3d 20 6e 75 6c 6c 0d 0a 20 20 20 20 20 20 20 20 20 20 nding.action.==.null............
a2a0 20 20 20 20 20 20 20 20 20 20 7c 7c 20 21 53 74 72 69 6e 67 48 65 6c 70 65 72 73 2e 43 68 61 72 ..........||.!StringHelpers.Char
a2c0 61 63 74 65 72 53 65 70 61 72 61 74 65 64 4c 69 73 74 73 48 61 76 65 41 74 4c 65 61 73 74 4f 6e acterSeparatedListsHaveAtLeastOn
a2e0 65 43 6f 6d 6d 6f 6e 45 6c 65 6d 65 6e 74 28 61 63 74 69 6f 6e 2c 20 62 69 6e 64 69 6e 67 2e 61 eCommonElement(action,.binding.a
a300 63 74 69 6f 6e 2c 20 53 65 70 61 72 61 74 6f 72 29 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 ction,.Separator))..............
a320 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 ........return.false;...........
a340 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 67 72 6f 75 70 73 20 21 ...}................if.(groups.!
a360 3d 20 6e 75 6c 6c 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 =.null)..............{..........
a380 20 20 20 20 20 20 20 20 76 61 72 20 68 61 76 65 47 72 6f 75 70 73 4f 6e 42 69 6e 64 69 6e 67 20 ........var.haveGroupsOnBinding.
a3a0 3d 20 21 73 74 72 69 6e 67 2e 49 73 4e 75 6c 6c 4f 72 45 6d 70 74 79 28 62 69 6e 64 69 6e 67 2e =.!string.IsNullOrEmpty(binding.
a3c0 67 72 6f 75 70 73 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 21 68 groups);..................if.(!h
a3e0 61 76 65 47 72 6f 75 70 73 4f 6e 42 69 6e 64 69 6e 67 20 26 26 20 28 6f 70 74 69 6f 6e 73 20 26 aveGroupsOnBinding.&&.(options.&
a400 20 4d 61 74 63 68 4f 70 74 69 6f 6e 73 2e 45 6d 70 74 79 47 72 6f 75 70 4d 61 74 63 68 65 73 41 .MatchOptions.EmptyGroupMatchesA
a420 6e 79 29 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 ny).==.0)......................r
a440 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 20 20 20 20 eturn.false;....................
a460 69 66 20 28 68 61 76 65 47 72 6f 75 70 73 4f 6e 42 69 6e 64 69 6e 67 0d 0a 20 20 20 20 20 20 20 if.(haveGroupsOnBinding.........
a480 20 20 20 20 20 20 20 20 20 20 20 20 20 26 26 20 21 53 74 72 69 6e 67 48 65 6c 70 65 72 73 2e 43 .............&&.!StringHelpers.C
a4a0 68 61 72 61 63 74 65 72 53 65 70 61 72 61 74 65 64 4c 69 73 74 73 48 61 76 65 41 74 4c 65 61 73 haracterSeparatedListsHaveAtLeas
a4c0 74 4f 6e 65 43 6f 6d 6d 6f 6e 45 6c 65 6d 65 6e 74 28 67 72 6f 75 70 73 2c 20 62 69 6e 64 69 6e tOneCommonElement(groups,.bindin
a4e0 67 2e 67 72 6f 75 70 73 2c 20 53 65 70 61 72 61 74 6f 72 29 29 0d 0a 20 20 20 20 20 20 20 20 20 g.groups,.Separator))...........
a500 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0d 0a 20 20 20 20 20 20 ...........return.false;........
a520 20 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 21 73 74 72 69 ......}................if.(!stri
a540 6e 67 2e 49 73 4e 75 6c 6c 4f 72 45 6d 70 74 79 28 6d 5f 49 64 29 29 0d 0a 20 20 20 20 20 20 20 ng.IsNullOrEmpty(m_Id)).........
a560 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 62 69 6e 64 .....{..................if.(bind
a580 69 6e 67 2e 69 64 20 21 3d 20 69 64 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ing.id.!=.id)...................
a5a0 20 20 20 72 65 74 75 72 6e 20 66 61 6c 73 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d ...return.false;..............}.
a5c0 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 3b 0d 0a 20 20 20 ...............return.true;.....
a5e0 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 5b 46 6c 61 67 73 5d 0d 0a 20 20 20 20 20 .....}............[Flags].......
a600 20 20 20 69 6e 74 65 72 6e 61 6c 20 65 6e 75 6d 20 4d 61 74 63 68 4f 70 74 69 6f 6e 73 0d 0a 20 ...internal.enum.MatchOptions...
a620 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 45 6d 70 74 79 47 72 6f 75 70 .......{..............EmptyGroup
a640 4d 61 74 63 68 65 73 41 6e 79 20 3d 20 31 20 3c 3c 20 30 2c 0d 0a 20 20 20 20 20 20 20 20 7d 0d MatchesAny.=.1.<<.0,..........}.
a660 0a 0d 0a 20 20 20 20 20 20 20 20 5b 46 6c 61 67 73 5d 0d 0a 20 20 20 20 20 20 20 20 69 6e 74 65 ...........[Flags]..........inte
a680 72 6e 61 6c 20 65 6e 75 6d 20 46 6c 61 67 73 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 rnal.enum.Flags..........{......
a6a0 20 20 20 20 20 20 20 20 4e 6f 6e 65 20 3d 20 30 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 43 ........None.=.0,..............C
a6c0 6f 6d 70 6f 73 69 74 65 20 3d 20 31 20 3c 3c 20 32 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 omposite.=.1.<<.2,..............
a6e0 50 61 72 74 4f 66 43 6f 6d 70 6f 73 69 74 65 20 3d 20 31 20 3c 3c 20 33 2c 0d 0a 20 20 20 20 20 PartOfComposite.=.1.<<.3,.......
a700 20 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 ...}......}..}..................
a720 00 00 00 00 0c 00 00 00 49 6e 70 75 74 42 69 6e 64 69 6e 67 00 00 00 00 ........InputBinding....