summaryrefslogtreecommitdiff
path: root/Library/Artifacts/f1/f1b4430fcf40d65b9b69de69528eca0e
blob: b694b5189673ae61af6504fde46e5628ee4b36dc (plain)
ofshex dumpascii
0000 00 00 0f 81 00 00 35 fc 00 00 00 15 00 00 10 00 00 00 00 00 32 30 31 39 2e 33 2e 36 66 31 00 fe ......5.............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 9c 25 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 14 00 00 00 49 6e 70 75 74 41 63 74 69 6f 6e 52 65 66 65 72 65 6e 63 65 ............InputActionReference
10a0 0d 25 00 00 75 73 69 6e 67 20 53 79 73 74 65 6d 3b 0d 0a 75 73 69 6e 67 20 53 79 73 74 65 6d 2e .%..using.System;..using.System.
10c0 4c 69 6e 71 3b 0d 0a 0d 0a 2f 2f 2f 2f 52 45 56 49 45 57 3a 20 43 61 6e 20 77 65 20 73 6f 6d 65 Linq;....////REVIEW:.Can.we.some
10e0 68 6f 77 20 6d 61 6b 65 20 74 68 69 73 20 61 20 73 69 6d 70 6c 65 20 73 74 72 75 63 74 3f 20 54 how.make.this.a.simple.struct?.T
1100 68 65 20 6f 6e 65 20 70 72 6f 62 6c 65 6d 20 77 65 20 68 61 76 65 20 69 73 20 74 68 61 74 20 77 he.one.problem.we.have.is.that.w
1120 65 20 63 61 6e 27 74 20 70 75 74 20 73 74 72 75 63 74 20 69 6e 73 74 61 6e 63 65 73 20 61 73 20 e.can't.put.struct.instances.as.
1140 73 75 62 2d 61 73 73 65 74 73 20 69 6e 74 6f 0d 0a 2f 2f 2f 2f 20 20 20 20 20 20 20 20 74 68 65 sub-assets.into..////........the
1160 20 69 6d 70 6f 72 74 20 28 69 2e 65 2e 20 49 6e 70 75 74 41 63 74 69 6f 6e 49 6d 70 6f 72 74 65 .import.(i.e..InputActionImporte
1180 72 20 63 61 6e 27 74 20 64 6f 20 41 64 64 4f 62 6a 65 63 74 54 6f 41 73 73 65 74 20 77 69 74 68 r.can't.do.AddObjectToAsset.with
11a0 20 74 68 65 6d 29 2e 20 48 6f 77 65 76 65 72 2c 20 6d 61 79 62 65 20 74 68 65 72 65 27 73 20 61 .them)..However,.maybe.there's.a
11c0 20 77 61 79 20 61 72 6f 75 6e 64 20 74 68 61 74 2e 20 54 68 65 20 74 68 69 6e 67 0d 0a 2f 2f 2f .way.around.that..The.thing..///
11e0 2f 20 20 20 20 20 20 20 20 69 73 20 74 68 61 74 20 77 65 20 72 65 61 6c 6c 79 20 77 61 6e 74 20 /........is.that.we.really.want.
1200 74 6f 20 73 74 6f 72 65 20 74 68 65 20 61 73 73 65 74 20 72 65 66 65 72 65 6e 63 65 20 70 6c 75 to.store.the.asset.reference.plu
1220 73 20 74 68 65 20 61 63 74 69 6f 6e 20 47 55 49 44 20 6f 6e 20 74 68 65 20 2a 75 73 65 72 2a 20 s.the.action.GUID.on.the.*user*.
1240 73 69 64 65 2c 20 69 2e 65 2e 20 74 68 65 20 72 65 66 65 72 65 6e 63 69 6e 67 20 73 69 64 65 2e side,.i.e..the.referencing.side.
1260 20 52 69 67 68 74 0d 0a 2f 2f 2f 2f 20 20 20 20 20 20 20 20 6e 6f 77 2c 20 77 68 61 74 20 68 61 .Right..////........now,.what.ha
1280 70 70 65 6e 73 20 69 73 20 74 68 61 74 20 49 6e 70 75 74 41 63 74 69 6f 6e 49 6d 70 6f 72 74 65 ppens.is.that.InputActionImporte
12a0 72 20 70 75 74 73 20 74 68 65 73 65 20 6f 62 6a 65 63 74 73 20 61 6c 6f 6e 67 20 77 69 74 68 20 r.puts.these.objects.along.with.
12c0 74 68 65 20 72 65 66 65 72 65 6e 63 65 20 61 6e 64 20 47 55 49 44 20 74 68 65 79 20 63 6f 6e 74 the.reference.and.GUID.they.cont
12e0 61 69 6e 20 69 6e 20 74 68 65 0d 0a 2f 2f 2f 2f 20 20 20 20 20 20 20 20 2a 69 6d 70 6f 72 74 65 ain.in.the..////........*importe
1300 64 2a 20 6f 62 6a 65 63 74 2c 20 69 2e 65 2e 20 72 69 67 68 74 20 77 69 74 68 20 74 68 65 20 61 d*.object,.i.e..right.with.the.a
1320 73 73 65 74 2e 20 54 68 69 73 20 70 61 72 74 69 61 6c 6c 79 20 64 65 66 65 61 74 73 20 74 68 65 sset..This.partially.defeats.the
1340 20 77 68 6f 6c 65 20 70 75 72 70 6f 73 65 20 6f 66 20 68 61 76 69 6e 67 20 74 68 65 73 65 20 6f .whole.purpose.of.having.these.o
1360 62 6a 65 63 74 73 20 61 6e 64 20 69 74 20 6d 65 61 6e 73 0d 0a 2f 2f 2f 2f 20 20 20 20 20 20 20 bjects.and.it.means..////.......
1380 20 74 68 61 74 20 6e 6f 77 20 74 68 65 20 47 55 49 44 20 64 6f 65 73 6e 27 74 20 72 65 61 6c 6c .that.now.the.GUID.doesn't.reall
13a0 79 20 6d 61 74 74 65 72 20 61 6e 79 6d 6f 72 65 2e 20 52 61 74 68 65 72 2c 20 69 74 27 73 20 74 y.matter.anymore..Rather,.it's.t
13c0 68 65 20 66 69 6c 65 20 49 44 20 74 68 61 74 20 6e 6f 77 20 68 61 73 20 74 6f 20 62 65 20 73 74 he.file.ID.that.now.has.to.be.st
13e0 61 62 6c 65 2e 0d 0a 2f 2f 2f 2f 0d 0a 2f 2f 2f 2f 20 20 20 20 20 20 20 20 49 66 20 77 65 20 61 able...////..////........If.we.a
1400 6c 77 61 79 73 20 73 74 6f 72 65 20 74 68 65 20 47 55 49 44 20 61 6e 64 20 61 73 73 65 74 20 72 lways.store.the.GUID.and.asset.r
1420 65 66 65 72 65 6e 63 65 20 6f 6e 20 74 68 65 20 75 73 65 72 20 73 69 64 65 2c 20 77 65 20 63 61 eference.on.the.user.side,.we.ca
1440 6e 20 70 75 74 20 74 68 65 20 73 65 72 69 61 6c 69 7a 65 64 20 64 61 74 61 20 2a 61 6e 79 77 68 n.put.the.serialized.data.*anywh
1460 65 72 65 2a 20 61 6e 64 20 69 74 27 6c 6c 20 72 65 6d 61 69 6e 0d 0a 2f 2f 2f 2f 20 20 20 20 20 ere*.and.it'll.remain..////.....
1480 20 20 20 73 61 76 65 20 61 6e 64 20 70 72 6f 70 65 72 20 6e 6f 20 6d 61 74 74 65 72 20 77 68 61 ...save.and.proper.no.matter.wha
14a0 74 20 77 65 20 64 6f 20 69 6e 20 49 6e 70 75 74 41 63 74 69 6f 6e 49 6d 70 6f 72 74 65 72 2e 0d t.we.do.in.InputActionImporter..
14c0 0a 0d 0a 2f 2f 2f 2f 52 45 56 49 45 57 3a 20 73 68 6f 75 6c 64 20 74 68 69 73 20 74 68 72 6f 77 ...////REVIEW:.should.this.throw
14e0 20 69 66 20 79 6f 75 20 74 72 79 20 74 6f 20 61 73 73 69 67 6e 20 61 6e 20 61 63 74 69 6f 6e 20 .if.you.try.to.assign.an.action.
1500 74 68 61 74 20 69 73 20 6e 6f 74 20 61 20 73 69 6e 67 6c 65 74 6f 6e 3f 0d 0a 0d 0a 2f 2f 2f 2f that.is.not.a.singleton?....////
1520 52 45 56 49 45 57 3a 20 61 6b 69 6e 20 74 6f 20 74 68 69 73 2c 20 61 6c 73 6f 20 68 61 76 65 20 REVIEW:.akin.to.this,.also.have.
1540 61 6e 20 49 6e 70 75 74 41 63 74 69 6f 6e 4d 61 70 52 65 66 65 72 65 6e 63 65 3f 0d 0a 0d 0a 6e an.InputActionMapReference?....n
1560 61 6d 65 73 70 61 63 65 20 55 6e 69 74 79 45 6e 67 69 6e 65 2e 49 6e 70 75 74 53 79 73 74 65 6d amespace.UnityEngine.InputSystem
1580 0d 0a 7b 0d 0a 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 2f 2f 2f 20 ..{......///.<summary>......///.
15a0 52 65 66 65 72 65 6e 63 65 73 20 61 20 73 70 65 63 69 66 69 63 20 3c 73 65 65 20 63 72 65 66 3d References.a.specific.<see.cref=
15c0 22 49 6e 70 75 74 41 63 74 69 6f 6e 22 2f 3e 20 69 6e 20 61 6e 20 3c 73 65 65 20 63 72 65 66 3d "InputAction"/>.in.an.<see.cref=
15e0 22 49 6e 70 75 74 41 63 74 69 6f 6e 4d 61 70 22 2f 3e 0d 0a 20 20 20 20 2f 2f 2f 20 73 74 6f 72 "InputActionMap"/>......///.stor
1600 65 64 20 69 6e 73 69 64 65 20 61 6e 20 3c 73 65 65 20 63 72 65 66 3d 22 49 6e 70 75 74 41 63 74 ed.inside.an.<see.cref="InputAct
1620 69 6f 6e 41 73 73 65 74 22 2f 3e 2e 0d 0a 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e ionAsset"/>.......///.</summary>
1640 0d 0a 20 20 20 20 2f 2f 2f 20 3c 72 65 6d 61 72 6b 73 3e 0d 0a 20 20 20 20 2f 2f 2f 20 54 68 65 ......///.<remarks>......///.The
1660 20 64 69 66 66 65 72 65 6e 63 65 20 74 6f 20 61 20 70 6c 61 69 6e 20 72 65 66 65 72 65 6e 63 65 .difference.to.a.plain.reference
1680 20 64 69 72 65 63 74 6c 79 20 74 6f 20 61 6e 20 3c 73 65 65 20 63 72 65 66 3d 22 49 6e 70 75 74 .directly.to.an.<see.cref="Input
16a0 41 63 74 69 6f 6e 22 2f 3e 20 6f 62 6a 65 63 74 20 69 73 0d 0a 20 20 20 20 2f 2f 2f 20 74 68 61 Action"/>.object.is......///.tha
16c0 74 20 61 6e 20 49 6e 70 75 74 41 63 74 69 6f 6e 52 65 66 65 72 65 6e 63 65 20 63 61 6e 20 62 65 t.an.InputActionReference.can.be
16e0 20 73 65 72 69 61 6c 69 7a 65 64 20 77 69 74 68 6f 75 74 20 63 61 75 73 69 6e 67 20 74 68 65 20 .serialized.without.causing.the.
1700 72 65 66 65 72 65 6e 63 65 64 20 3c 73 65 65 20 63 72 65 66 3d 22 49 6e 70 75 74 41 63 74 69 6f referenced.<see.cref="InputActio
1720 6e 22 2f 3e 0d 0a 20 20 20 20 2f 2f 2f 20 74 6f 20 62 65 20 73 65 72 69 61 6c 69 7a 65 64 20 61 n"/>......///.to.be.serialized.a
1740 73 20 77 65 6c 6c 2e 20 54 68 65 20 72 65 66 65 72 65 6e 63 65 20 77 69 6c 6c 20 72 65 6d 61 69 s.well..The.reference.will.remai
1760 6e 20 69 6e 74 61 63 74 20 65 76 65 6e 20 69 66 20 74 68 65 20 61 63 74 69 6f 6e 20 6f 72 20 74 n.intact.even.if.the.action.or.t
1780 68 65 20 6d 61 70 0d 0a 20 20 20 20 2f 2f 2f 20 74 68 61 74 20 63 6f 6e 74 61 69 6e 73 20 74 68 he.map......///.that.contains.th
17a0 65 20 61 63 74 69 6f 6e 20 69 73 20 72 65 6e 61 6d 65 64 2e 0d 0a 20 20 20 20 2f 2f 2f 0d 0a 20 e.action.is.renamed.......///...
17c0 20 20 20 2f 2f 2f 20 52 65 66 65 72 65 6e 63 65 73 20 63 61 6e 20 62 65 20 73 65 74 20 75 70 20 ...///.References.can.be.set.up.
17e0 67 72 61 70 68 69 63 61 6c 6c 79 20 69 6e 20 74 68 65 20 65 64 69 74 6f 72 20 62 79 20 64 72 6f graphically.in.the.editor.by.dro
1800 70 70 69 6e 67 20 69 6e 64 69 76 69 64 75 61 6c 20 61 63 74 69 6f 6e 73 20 66 72 6f 6d 20 74 68 pping.individual.actions.from.th
1820 65 20 70 72 6f 6a 65 63 74 0d 0a 20 20 20 20 2f 2f 2f 20 62 72 6f 77 73 65 72 20 6f 6e 74 6f 20 e.project......///.browser.onto.
1840 61 20 72 65 66 65 72 65 6e 63 65 20 66 69 65 6c 64 2e 0d 0a 20 20 20 20 2f 2f 2f 20 3c 2f 72 65 a.reference.field.......///.</re
1860 6d 61 72 6b 73 3e 0d 0a 20 20 20 20 2f 2f 2f 20 3c 73 65 65 61 6c 73 6f 20 63 72 65 66 3d 22 49 marks>......///.<seealso.cref="I
1880 6e 70 75 74 41 63 74 69 6f 6e 50 72 6f 70 65 72 74 79 22 2f 3e 0d 0a 20 20 20 20 2f 2f 2f 20 3c nputActionProperty"/>......///.<
18a0 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 22 2f 3e 0d 0a 20 20 seealso.cref="InputAction"/>....
18c0 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 6e ..///.<seealso.cref="InputAction
18e0 41 73 73 65 74 22 2f 3e 0d 0a 20 20 20 20 70 75 62 6c 69 63 20 63 6c 61 73 73 20 49 6e 70 75 74 Asset"/>......public.class.Input
1900 41 63 74 69 6f 6e 52 65 66 65 72 65 6e 63 65 20 3a 20 53 63 72 69 70 74 61 62 6c 65 4f 62 6a 65 ActionReference.:.ScriptableObje
1920 63 74 0d 0a 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e ct......{..........///.<summary>
1940 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 54 68 65 20 61 73 73 65 74 20 74 68 61 74 20 74 68 65 ..........///.The.asset.that.the
1960 20 72 65 66 65 72 65 6e 63 65 64 20 61 63 74 69 6f 6e 20 69 73 20 70 61 72 74 20 6f 66 2e 20 4e .referenced.action.is.part.of..N
1980 75 6c 6c 20 69 66 20 74 68 65 20 72 65 66 65 72 65 6e 63 65 0d 0a 20 20 20 20 20 20 20 20 2f 2f ull.if.the.reference..........//
19a0 2f 20 69 73 20 6e 6f 74 20 69 6e 69 74 69 61 6c 69 7a 65 64 20 6f 72 20 69 66 20 74 68 65 20 61 /.is.not.initialized.or.if.the.a
19c0 73 73 65 74 20 68 61 73 20 62 65 65 6e 20 64 65 6c 65 74 65 64 2e 0d 0a 20 20 20 20 20 20 20 20 sset.has.been.deleted...........
19e0 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 76 61 6c ///.</summary>..........///.<val
1a00 75 65 3e 49 6e 70 75 74 41 63 74 69 6f 6e 41 73 73 65 74 20 6f 66 20 74 68 65 20 72 65 66 65 72 ue>InputActionAsset.of.the.refer
1a20 65 6e 63 65 64 20 61 63 74 69 6f 6e 2e 3c 2f 76 61 6c 75 65 3e 0d 0a 20 20 20 20 20 20 20 20 70 enced.action.</value>..........p
1a40 75 62 6c 69 63 20 49 6e 70 75 74 41 63 74 69 6f 6e 41 73 73 65 74 20 61 73 73 65 74 20 3d 3e 20 ublic.InputActionAsset.asset.=>.
1a60 6d 5f 41 73 73 65 74 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 m_Asset;............///.<summary
1a80 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 54 68 65 20 61 63 74 69 6f 6e 20 74 68 61 74 20 74 >..........///.The.action.that.t
1aa0 68 65 20 72 65 66 65 72 65 6e 63 65 20 72 65 73 6f 6c 76 65 73 20 74 6f 2e 20 4e 75 6c 6c 20 69 he.reference.resolves.to..Null.i
1ac0 66 20 74 68 65 20 61 63 74 69 6f 6e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 63 61 6e 6e 6f 74 f.the.action..........///.cannot
1ae0 20 62 65 20 66 6f 75 6e 64 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 .be.found...........///.</summar
1b00 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 76 61 6c 75 65 3e 54 68 65 20 61 63 74 69 6f y>..........///.<value>The.actio
1b20 6e 20 74 68 61 74 20 72 65 66 65 72 65 6e 63 65 20 70 6f 69 6e 74 73 20 74 6f 2e 3c 2f 76 61 6c n.that.reference.points.to.</val
1b40 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 0d 0a 20 20 20 20 ue>..........///.<remarks>......
1b60 20 20 20 20 2f 2f 2f 20 41 63 74 69 6f 6e 73 20 61 72 65 20 72 65 73 6f 6c 76 65 64 20 6f 6e 20 ....///.Actions.are.resolved.on.
1b80 64 65 6d 61 6e 64 20 62 61 73 65 64 20 6f 6e 20 74 68 65 69 72 20 69 6e 74 65 72 6e 61 6c 6c 79 demand.based.on.their.internally
1ba0 20 73 74 6f 72 65 64 20 49 44 73 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 72 65 6d 61 .stored.IDs...........///.</rema
1bc0 72 6b 73 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 49 6e 70 75 74 41 63 74 69 6f 6e rks>..........public.InputAction
1be0 20 61 63 74 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 .action..........{..............
1c00 67 65 74 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 get..............{..............
1c20 20 20 20 20 69 66 20 28 6d 5f 41 63 74 69 6f 6e 20 3d 3d 20 6e 75 6c 6c 29 0d 0a 20 20 20 20 20 ....if.(m_Action.==.null).......
1c40 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 20 ...........{....................
1c60 20 20 69 66 20 28 6d 5f 41 73 73 65 74 20 3d 3d 20 6e 75 6c 6c 29 0d 0a 20 20 20 20 20 20 20 20 ..if.(m_Asset.==.null)..........
1c80 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 0d 0a ................return.null;....
1ca0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 41 63 74 69 6f 6e 20 3d 20 6d ....................m_Action.=.m
1cc0 5f 41 73 73 65 74 2e 46 69 6e 64 41 63 74 69 6f 6e 28 6e 65 77 20 47 75 69 64 28 6d 5f 41 63 74 _Asset.FindAction(new.Guid(m_Act
1ce0 69 6f 6e 49 64 29 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 ionId));..................}.....
1d00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 6d 5f 41 63 74 69 6f 6e 3b 0d ...............return.m_Action;.
1d20 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 .............}..........}.......
1d40 20 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 .....///.<summary>..........///.
1d60 49 6e 69 74 69 61 6c 69 7a 65 20 74 68 65 20 72 65 66 65 72 65 6e 63 65 20 74 6f 20 72 65 66 65 Initialize.the.reference.to.refe
1d80 72 20 74 6f 20 74 68 65 20 67 69 76 65 6e 20 61 63 74 69 6f 6e 2e 0d 0a 20 20 20 20 20 20 20 20 r.to.the.given.action...........
1da0 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 72 ///.</summary>..........///.<par
1dc0 61 6d 20 6e 61 6d 65 3d 22 61 63 74 69 6f 6e 22 3e 41 6e 20 69 6e 70 75 74 20 61 63 74 69 6f 6e am.name="action">An.input.action
1de0 2e 20 4d 75 73 74 20 62 65 20 63 6f 6e 74 61 69 6e 65 64 20 69 6e 20 61 6e 20 3c 73 65 65 20 63 ..Must.be.contained.in.an.<see.c
1e00 72 65 66 3d 22 49 6e 70 75 74 41 63 74 69 6f 6e 4d 61 70 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 ref="InputActionMap"/>..........
1e20 2f 2f 2f 20 74 68 61 74 20 69 73 20 69 74 73 65 6c 66 20 63 6f 6e 74 61 69 6e 65 64 20 69 6e 20 ///.that.is.itself.contained.in.
1e40 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 41 73 73 65 74 22 2f an.<see.cref="InputActionAsset"/
1e60 3e 2e 20 43 61 6e 20 62 65 20 3c 63 3e 6e 75 6c 6c 3c 2f 63 3e 20 69 6e 20 77 68 69 63 68 0d 0a >..Can.be.<c>null</c>.in.which..
1e80 20 20 20 20 20 20 20 20 2f 2f 2f 20 63 61 73 65 20 74 68 65 20 72 65 66 65 72 65 6e 63 65 20 69 ........///.case.the.reference.i
1ea0 73 20 72 65 73 65 74 20 74 6f 20 69 74 73 20 64 65 66 61 75 6c 74 20 73 74 61 74 65 20 77 68 69 s.reset.to.its.default.state.whi
1ec0 63 68 20 64 6f 65 73 20 6e 6f 74 20 72 65 66 65 72 65 6e 63 65 20 61 6e 20 61 63 74 69 6f 6e 2e ch.does.not.reference.an.action.
1ee0 3c 2f 70 61 72 61 6d 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 65 78 63 65 70 74 69 6f 6e </param>..........///.<exception
1f00 20 63 72 65 66 3d 22 49 6e 76 61 6c 69 64 4f 70 65 72 61 74 69 6f 6e 45 78 63 65 70 74 69 6f 6e .cref="InvalidOperationException
1f20 22 3e 3c 70 61 72 61 6d 72 65 66 20 6e 61 6d 65 3d 22 61 63 74 69 6f 6e 22 2f 3e 20 69 73 20 6e "><paramref.name="action"/>.is.n
1f40 6f 74 20 63 6f 6e 74 61 69 6e 65 64 20 69 6e 20 61 6e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 ot.contained.in.an..........///.
1f60 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 22 2f 3e 20 74 68 61 <see.cref="InputActionMap"/>.tha
1f80 74 20 69 73 20 69 74 73 65 6c 66 20 63 6f 6e 74 61 69 6e 65 64 20 69 6e 20 61 6e 20 3c 73 65 65 t.is.itself.contained.in.an.<see
1fa0 20 63 72 65 66 3d 22 49 6e 70 75 74 41 63 74 69 6f 6e 41 73 73 65 74 22 2f 3e 2e 3c 2f 65 78 63 .cref="InputActionAsset"/>.</exc
1fc0 65 70 74 69 6f 6e 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 76 6f 69 64 20 53 65 74 eption>..........public.void.Set
1fe0 28 49 6e 70 75 74 41 63 74 69 6f 6e 20 61 63 74 69 6f 6e 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d (InputAction.action)..........{.
2000 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 61 63 74 69 6f 6e 20 3d 3d 20 6e 75 6c 6c 29 .............if.(action.==.null)
2020 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 ..............{.................
2040 20 6d 5f 41 73 73 65 74 20 3d 20 64 65 66 61 75 6c 74 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 .m_Asset.=.default;.............
2060 20 20 20 20 20 6d 5f 41 63 74 69 6f 6e 49 64 20 3d 20 64 65 66 61 75 6c 74 3b 0d 0a 20 20 20 20 .....m_ActionId.=.default;......
2080 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 ............return;.............
20a0 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 6d 61 70 20 3d 20 61 63 74 69 .}................var.map.=.acti
20c0 6f 6e 2e 61 63 74 69 6f 6e 4d 61 70 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 6d on.actionMap;..............if.(m
20e0 61 70 20 3d 3d 20 6e 75 6c 6c 20 7c 7c 20 6d 61 70 2e 61 73 73 65 74 20 3d 3d 20 6e 75 6c 6c 29 ap.==.null.||.map.asset.==.null)
2100 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 72 6f 77 20 6e 65 77 20 49 6e 76 61 ..................throw.new.Inva
2120 6c 69 64 4f 70 65 72 61 74 69 6f 6e 45 78 63 65 70 74 69 6f 6e 28 0d 0a 20 20 20 20 20 20 20 20 lidOperationException(..........
2140 20 20 20 20 20 20 20 20 20 20 20 20 24 22 41 63 74 69 6f 6e 20 27 7b 61 63 74 69 6f 6e 7d 27 20 ............$"Action.'{action}'.
2160 6d 75 73 74 20 62 65 20 70 61 72 74 20 6f 66 20 61 6e 20 49 6e 70 75 74 41 63 74 69 6f 6e 41 73 must.be.part.of.an.InputActionAs
2180 73 65 74 20 69 6e 20 6f 72 64 65 72 20 74 6f 20 62 65 20 61 62 6c 65 20 74 6f 20 63 72 65 61 74 set.in.order.to.be.able.to.creat
21a0 65 20 61 6e 20 49 6e 70 75 74 41 63 74 69 6f 6e 52 65 66 65 72 65 6e 63 65 20 66 6f 72 20 69 74 e.an.InputActionReference.for.it
21c0 22 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 53 65 74 49 6e 74 65 72 6e 61 6c 28 6d ");................SetInternal(m
21e0 61 70 2e 61 73 73 65 74 2c 20 61 63 74 69 6f 6e 29 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d ap.asset,.action);..........}...
2200 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>..........
2220 2f 2f 2f 20 4c 6f 6f 6b 20 75 70 20 61 6e 20 61 63 74 69 6f 6e 20 69 6e 20 74 68 65 20 67 69 76 ///.Look.up.an.action.in.the.giv
2240 65 6e 20 61 73 73 65 74 20 61 6e 64 20 69 6e 69 74 69 61 6c 69 7a 65 20 74 68 65 20 72 65 66 65 en.asset.and.initialize.the.refe
2260 72 65 6e 63 65 20 74 6f 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 70 6f 69 6e 74 20 74 6f 20 69 rence.to..........///.point.to.i
2280 74 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 t...........///.</summary>......
22a0 20 20 20 20 2f 2f 2f 20 3c 70 61 72 61 6d 20 6e 61 6d 65 3d 22 61 73 73 65 74 22 3e 41 6e 20 2e ....///.<param.name="asset">An..
22c0 69 6e 70 75 74 61 63 74 69 6f 6e 73 20 61 73 73 65 74 2e 3c 2f 70 61 72 61 6d 3e 0d 0a 20 20 20 inputactions.asset.</param>.....
22e0 20 20 20 20 20 2f 2f 2f 20 3c 70 61 72 61 6d 20 6e 61 6d 65 3d 22 6d 61 70 4e 61 6d 65 22 3e 4e .....///.<param.name="mapName">N
2300 61 6d 65 20 6f 66 20 74 68 65 20 3c 73 65 65 20 63 72 65 66 3d 22 49 6e 70 75 74 41 63 74 69 6f ame.of.the.<see.cref="InputActio
2320 6e 4d 61 70 22 2f 3e 20 69 6e 20 3c 70 61 72 61 6d 72 65 66 20 6e 61 6d 65 3d 22 61 73 73 65 74 nMap"/>.in.<paramref.name="asset
2340 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 28 73 65 65 20 3c 73 65 65 20 63 72 65 66 3d "/>..........///.(see.<see.cref=
2360 22 49 6e 70 75 74 41 63 74 69 6f 6e 41 73 73 65 74 2e 61 63 74 69 6f 6e 4d 61 70 73 22 2f 3e 29 "InputActionAsset.actionMaps"/>)
2380 2e 20 43 61 73 65 2d 69 6e 73 65 6e 73 69 74 69 76 65 2e 3c 2f 70 61 72 61 6d 3e 0d 0a 20 20 20 ..Case-insensitive.</param>.....
23a0 20 20 20 20 20 2f 2f 2f 20 3c 70 61 72 61 6d 20 6e 61 6d 65 3d 22 61 63 74 69 6f 6e 4e 61 6d 65 .....///.<param.name="actionName
23c0 22 3e 4e 61 6d 65 20 6f 66 20 74 68 65 20 61 63 74 69 6f 6e 20 69 6e 20 3c 70 61 72 61 6d 72 65 ">Name.of.the.action.in.<paramre
23e0 66 20 6e 61 6d 65 3d 22 6d 61 70 4e 61 6d 65 22 2f 3e 2e 20 43 61 73 65 2d 69 6e 73 65 6e 73 69 f.name="mapName"/>..Case-insensi
2400 74 69 76 65 2e 3c 2f 70 61 72 61 6d 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 65 78 63 65 tive.</param>..........///.<exce
2420 70 74 69 6f 6e 20 63 72 65 66 3d 22 41 72 67 75 6d 65 6e 74 4e 75 6c 6c 45 78 63 65 70 74 69 6f ption.cref="ArgumentNullExceptio
2440 6e 22 3e 3c 70 61 72 61 6d 72 65 66 20 6e 61 6d 65 3d 22 61 73 73 65 74 22 2f 3e 20 69 73 20 3c n"><paramref.name="asset"/>.is.<
2460 63 3e 6e 75 6c 6c 3c 2f 63 3e 20 2d 6f 72 2d 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 70 61 c>null</c>.-or-..........///.<pa
2480 72 61 6d 72 65 66 20 6e 61 6d 65 3d 22 6d 61 70 4e 61 6d 65 22 2f 3e 20 69 73 20 3c 63 3e 6e 75 ramref.name="mapName"/>.is.<c>nu
24a0 6c 6c 3c 2f 63 3e 20 6f 72 20 65 6d 70 74 79 20 2d 6f 72 2d 20 3c 70 61 72 61 6d 72 65 66 20 6e ll</c>.or.empty.-or-.<paramref.n
24c0 61 6d 65 3d 22 61 63 74 69 6f 6e 4e 61 6d 65 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 ame="actionName"/>..........///.
24e0 69 73 20 3c 63 3e 6e 75 6c 6c 3c 2f 63 3e 20 6f 72 20 65 6d 70 74 79 2e 3c 2f 65 78 63 65 70 74 is.<c>null</c>.or.empty.</except
2500 69 6f 6e 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 65 78 63 65 70 74 69 6f 6e 20 63 72 65 ion>..........///.<exception.cre
2520 66 3d 22 41 72 67 75 6d 65 6e 74 45 78 63 65 70 74 69 6f 6e 22 3e 4e 6f 20 61 63 74 69 6f 6e 20 f="ArgumentException">No.action.
2540 6d 61 70 20 63 61 6c 6c 65 64 20 3c 70 61 72 61 6d 72 65 66 20 6e 61 6d 65 3d 22 6d 61 70 4e 61 map.called.<paramref.name="mapNa
2560 6d 65 22 2f 3e 20 63 6f 75 6c 64 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 62 65 20 66 6f 75 6e me"/>.could..........///.be.foun
2580 64 20 69 6e 20 3c 70 61 72 61 6d 72 65 66 20 6e 61 6d 65 3d 22 61 73 73 65 74 22 2f 3e 20 2d 6f d.in.<paramref.name="asset"/>.-o
25a0 72 2d 20 6e 6f 20 61 63 74 69 6f 6e 20 63 61 6c 6c 65 64 20 3c 70 61 72 61 6d 72 65 66 20 6e 61 r-.no.action.called.<paramref.na
25c0 6d 65 3d 22 61 63 74 69 6f 6e 4e 61 6d 65 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 63 me="actionName"/>..........///.c
25e0 6f 75 6c 64 20 62 65 20 66 6f 75 6e 64 20 69 6e 20 74 68 65 20 61 63 74 69 6f 6e 20 6d 61 70 20 ould.be.found.in.the.action.map.
2600 63 61 6c 6c 65 64 20 3c 70 61 72 61 6d 72 65 66 20 6e 61 6d 65 3d 22 6d 61 70 4e 61 6d 65 22 2f called.<paramref.name="mapName"/
2620 3e 20 69 6e 20 3c 70 61 72 61 6d 72 65 66 20 6e 61 6d 65 3d 22 61 73 73 65 74 22 2f 3e 2e 3c 2f >.in.<paramref.name="asset"/>.</
2640 65 78 63 65 70 74 69 6f 6e 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 76 6f 69 64 20 exception>..........public.void.
2660 53 65 74 28 49 6e 70 75 74 41 63 74 69 6f 6e 41 73 73 65 74 20 61 73 73 65 74 2c 20 73 74 72 69 Set(InputActionAsset.asset,.stri
2680 6e 67 20 6d 61 70 4e 61 6d 65 2c 20 73 74 72 69 6e 67 20 61 63 74 69 6f 6e 4e 61 6d 65 29 0d 0a ng.mapName,.string.actionName)..
26a0 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 61 73 73 65 74 ........{..............if.(asset
26c0 20 3d 3d 20 6e 75 6c 6c 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 72 6f 77 .==.null)..................throw
26e0 20 6e 65 77 20 41 72 67 75 6d 65 6e 74 4e 75 6c 6c 45 78 63 65 70 74 69 6f 6e 28 6e 61 6d 65 6f .new.ArgumentNullException(nameo
2700 66 28 61 73 73 65 74 29 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 73 74 72 69 f(asset));..............if.(stri
2720 6e 67 2e 49 73 4e 75 6c 6c 4f 72 45 6d 70 74 79 28 6d 61 70 4e 61 6d 65 29 29 0d 0a 20 20 20 20 ng.IsNullOrEmpty(mapName))......
2740 20 20 20 20 20 20 20 20 20 20 20 20 74 68 72 6f 77 20 6e 65 77 20 41 72 67 75 6d 65 6e 74 4e 75 ............throw.new.ArgumentNu
2760 6c 6c 45 78 63 65 70 74 69 6f 6e 28 6e 61 6d 65 6f 66 28 6d 61 70 4e 61 6d 65 29 29 3b 0d 0a 20 llException(nameof(mapName));...
2780 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 73 74 72 69 6e 67 2e 49 73 4e 75 6c 6c 4f 72 45 6d ...........if.(string.IsNullOrEm
27a0 70 74 79 28 61 63 74 69 6f 6e 4e 61 6d 65 29 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 pty(actionName))................
27c0 20 20 74 68 72 6f 77 20 6e 65 77 20 41 72 67 75 6d 65 6e 74 4e 75 6c 6c 45 78 63 65 70 74 69 6f ..throw.new.ArgumentNullExceptio
27e0 6e 28 6e 61 6d 65 6f 66 28 61 63 74 69 6f 6e 4e 61 6d 65 29 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 n(nameof(actionName));..........
2800 20 20 20 20 20 20 76 61 72 20 61 63 74 69 6f 6e 4d 61 70 20 3d 20 61 73 73 65 74 2e 46 69 6e 64 ......var.actionMap.=.asset.Find
2820 41 63 74 69 6f 6e 4d 61 70 28 6d 61 70 4e 61 6d 65 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 ActionMap(mapName);.............
2840 20 69 66 20 28 61 63 74 69 6f 6e 4d 61 70 20 3d 3d 20 6e 75 6c 6c 29 0d 0a 20 20 20 20 20 20 20 .if.(actionMap.==.null).........
2860 20 20 20 20 20 20 20 20 20 74 68 72 6f 77 20 6e 65 77 20 41 72 67 75 6d 65 6e 74 45 78 63 65 70 .........throw.new.ArgumentExcep
2880 74 69 6f 6e 28 24 22 4e 6f 20 61 63 74 69 6f 6e 20 6d 61 70 20 27 7b 6d 61 70 4e 61 6d 65 7d 27 tion($"No.action.map.'{mapName}'
28a0 20 69 6e 20 27 7b 61 73 73 65 74 7d 27 22 2c 20 6e 61 6d 65 6f 66 28 6d 61 70 4e 61 6d 65 29 29 .in.'{asset}'",.nameof(mapName))
28c0 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 61 63 74 69 6f 6e 20 3d 20 61 63 ;................var.action.=.ac
28e0 74 69 6f 6e 4d 61 70 2e 46 69 6e 64 41 63 74 69 6f 6e 28 61 63 74 69 6f 6e 4e 61 6d 65 29 3b 0d tionMap.FindAction(actionName);.
2900 0a 20 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 61 63 74 69 6f 6e 20 3d 3d 20 6e 75 6c 6c 29 .............if.(action.==.null)
2920 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 72 6f 77 20 6e 65 77 20 41 72 67 75 ..................throw.new.Argu
2940 6d 65 6e 74 45 78 63 65 70 74 69 6f 6e 28 24 22 4e 6f 20 61 63 74 69 6f 6e 20 27 7b 61 63 74 69 mentException($"No.action.'{acti
2960 6f 6e 4e 61 6d 65 7d 27 20 69 6e 20 6d 61 70 20 27 7b 6d 61 70 4e 61 6d 65 7d 27 20 6f 66 20 61 onName}'.in.map.'{mapName}'.of.a
2980 73 73 65 74 20 27 7b 61 73 73 65 74 7d 27 22 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 sset.'{asset}'",................
29a0 20 20 20 20 20 20 6e 61 6d 65 6f 66 28 61 63 74 69 6f 6e 4e 61 6d 65 29 29 3b 0d 0a 0d 0a 20 20 ......nameof(actionName));......
29c0 20 20 20 20 20 20 20 20 20 20 53 65 74 49 6e 74 65 72 6e 61 6c 28 61 73 73 65 74 2c 20 61 63 74 ..........SetInternal(asset,.act
29e0 69 6f 6e 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 70 72 69 76 ion);..........}............priv
2a00 61 74 65 20 76 6f 69 64 20 53 65 74 49 6e 74 65 72 6e 61 6c 28 49 6e 70 75 74 41 63 74 69 6f 6e ate.void.SetInternal(InputAction
2a20 41 73 73 65 74 20 61 73 73 65 74 2c 20 49 6e 70 75 74 41 63 74 69 6f 6e 20 61 63 74 69 6f 6e 29 Asset.asset,.InputAction.action)
2a40 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 61 63 74 ..........{..............var.act
2a60 69 6f 6e 4d 61 70 20 3d 20 61 63 74 69 6f 6e 2e 61 63 74 69 6f 6e 4d 61 70 3b 0d 0a 20 20 20 20 ionMap.=.action.actionMap;......
2a80 20 20 20 20 20 20 20 20 69 66 20 28 21 61 73 73 65 74 2e 61 63 74 69 6f 6e 4d 61 70 73 2e 43 6f ........if.(!asset.actionMaps.Co
2aa0 6e 74 61 69 6e 73 28 61 63 74 69 6f 6e 4d 61 70 29 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 ntains(actionMap))..............
2ac0 20 20 20 20 74 68 72 6f 77 20 6e 65 77 20 41 72 67 75 6d 65 6e 74 45 78 63 65 70 74 69 6f 6e 28 ....throw.new.ArgumentException(
2ae0 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 24 22 41 63 74 69 6f 6e 20 27 ......................$"Action.'
2b00 7b 61 63 74 69 6f 6e 7d 27 20 69 73 20 6e 6f 74 20 63 6f 6e 74 61 69 6e 65 64 20 69 6e 20 61 73 {action}'.is.not.contained.in.as
2b20 73 65 74 20 27 7b 61 73 73 65 74 7d 27 22 2c 20 6e 61 6d 65 6f 66 28 61 63 74 69 6f 6e 29 29 3b set.'{asset}'",.nameof(action));
2b40 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 41 73 73 65 74 20 3d 20 61 73 73 65 74 3b ................m_Asset.=.asset;
2b60 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 5f 41 63 74 69 6f 6e 49 64 20 3d 20 61 63 74 69 6f ..............m_ActionId.=.actio
2b80 6e 2e 69 64 2e 54 6f 53 74 72 69 6e 67 28 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 n.id.ToString();................
2ba0 2f 2f 2f 2f 52 45 56 49 45 57 3a 20 73 68 6f 75 6c 64 20 74 68 69 73 20 64 69 72 74 79 20 74 68 ////REVIEW:.should.this.dirty.th
2bc0 65 20 61 73 73 65 74 20 69 66 20 49 44 73 20 68 61 64 20 6e 6f 74 20 62 65 65 6e 20 67 65 6e 65 e.asset.if.IDs.had.not.been.gene
2be0 72 61 74 65 64 20 79 65 74 3f 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 rated.yet?..........}...........
2c00 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 65 74 75 .///.<summary>..........///.Retu
2c20 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 20 74 68 rn.a.string.representation.of.th
2c40 65 20 72 65 66 65 72 65 6e 63 65 20 75 73 65 66 75 6c 20 66 6f 72 20 64 65 62 75 67 67 69 6e 67 e.reference.useful.for.debugging
2c60 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 ...........///.</summary>.......
2c80 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 65 ...///.<returns>A.string.represe
2ca0 6e 74 61 74 69 6f 6e 20 6f 66 20 74 68 65 20 72 65 66 65 72 65 6e 63 65 2e 3c 2f 72 65 74 75 72 ntation.of.the.reference.</retur
2cc0 6e 73 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 6f 76 65 72 72 69 64 65 20 73 74 72 ns>..........public.override.str
2ce0 69 6e 67 20 54 6f 53 74 72 69 6e 67 28 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 ing.ToString()..........{.......
2d00 20 20 20 20 20 20 20 74 72 79 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 .......try..............{.......
2d20 20 20 20 20 20 20 20 20 20 20 20 76 61 72 20 61 63 74 69 6f 6e 20 3d 20 74 68 69 73 2e 61 63 74 ...........var.action.=.this.act
2d40 69 6f 6e 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 24 22 7b ion;..................return.$"{
2d60 6d 5f 41 73 73 65 74 2e 6e 61 6d 65 7d 3a 7b 61 63 74 69 6f 6e 2e 61 63 74 69 6f 6e 4d 61 70 2e m_Asset.name}:{action.actionMap.
2d80 6e 61 6d 65 7d 2f 7b 61 63 74 69 6f 6e 2e 6e 61 6d 65 7d 22 3b 0d 0a 20 20 20 20 20 20 20 20 20 name}/{action.name}";...........
2da0 20 20 20 7d 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 61 74 63 68 0d 0a 20 20 20 20 20 20 20 ...}..............catch.........
2dc0 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 6d 5f 41 73 .....{..................if.(m_As
2de0 73 65 74 20 21 3d 20 6e 75 6c 6c 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 set.!=.null)....................
2e00 20 20 72 65 74 75 72 6e 20 24 22 7b 6d 5f 41 73 73 65 74 2e 6e 61 6d 65 7d 3a 7b 6d 5f 41 63 74 ..return.$"{m_Asset.name}:{m_Act
2e20 69 6f 6e 49 64 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 ionId}";..............}.........
2e40 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 62 61 73 65 2e 54 6f 53 74 72 69 6e 67 28 29 3b 0d 0a .......return.base.ToString();..
2e60 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
2e80 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 43 6f 6e 76 65 72 74 20 61 6e 20 49 6e 70 75 74 y>..........///.Convert.an.Input
2ea0 41 63 74 69 6f 6e 52 65 66 65 72 65 6e 63 65 20 74 6f 20 74 68 65 20 49 6e 70 75 74 41 63 74 69 ActionReference.to.the.InputActi
2ec0 6f 6e 20 69 74 20 70 6f 69 6e 74 73 20 74 6f 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f on.it.points.to...........///.</
2ee0 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 61 6d summary>..........///.<param.nam
2f00 65 3d 22 72 65 66 65 72 65 6e 63 65 22 3e 41 6e 20 49 6e 70 75 74 41 63 74 69 6f 6e 52 65 66 65 e="reference">An.InputActionRefe
2f20 72 65 6e 63 65 20 6f 62 6a 65 63 74 2e 20 43 61 6e 20 62 65 20 6e 75 6c 6c 2e 3c 2f 70 61 72 61 rence.object..Can.be.null.</para
2f40 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 68 65 20 76 61 6c m>..........///.<returns>The.val
2f60 75 65 20 6f 66 20 3c 73 65 65 20 63 72 65 66 3d 22 61 63 74 69 6f 6e 22 2f 3e 20 66 72 6f 6d 20 ue.of.<see.cref="action"/>.from.
2f80 3c 70 61 72 61 6d 72 65 66 20 6e 61 6d 65 3d 22 72 65 66 65 72 65 6e 63 65 22 2f 3e 2e 20 43 61 <paramref.name="reference"/>..Ca
2fa0 6e 20 62 65 20 6e 75 6c 6c 2e 3c 2f 72 65 74 75 72 6e 73 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 n.be.null.</returns>..........pu
2fc0 62 6c 69 63 20 73 74 61 74 69 63 20 69 6d 70 6c 69 63 69 74 20 6f 70 65 72 61 74 6f 72 20 49 6e blic.static.implicit.operator.In
2fe0 70 75 74 41 63 74 69 6f 6e 28 49 6e 70 75 74 41 63 74 69 6f 6e 52 65 66 65 72 65 6e 63 65 20 72 putAction(InputActionReference.r
3000 65 66 65 72 65 6e 63 65 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 eference)..........{............
3020 20 20 72 65 74 75 72 6e 20 72 65 66 65 72 65 6e 63 65 3f 2e 61 63 74 69 6f 6e 3b 0d 0a 20 20 20 ..return.reference?.action;.....
3040 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>.
3060 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 43 72 65 61 74 65 20 61 20 6e 65 77 20 49 6e 70 75 74 41 .........///.Create.a.new.InputA
3080 63 74 69 6f 6e 52 65 66 65 72 65 6e 63 65 20 6f 62 6a 65 63 74 20 74 68 61 74 20 72 65 66 65 72 ctionReference.object.that.refer
30a0 65 6e 63 65 73 20 74 68 65 20 67 69 76 65 6e 20 61 63 74 69 6f 6e 2e 0d 0a 20 20 20 20 20 20 20 ences.the.given.action..........
30c0 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
30e0 72 61 6d 20 6e 61 6d 65 3d 22 61 63 74 69 6f 6e 22 3e 41 6e 20 69 6e 70 75 74 20 61 63 74 69 6f ram.name="action">An.input.actio
3100 6e 2e 20 4d 75 73 74 20 62 65 20 63 6f 6e 74 61 69 6e 65 64 20 69 6e 20 61 6e 20 3c 73 65 65 20 n..Must.be.contained.in.an.<see.
3120 63 72 65 66 3d 22 49 6e 70 75 74 41 63 74 69 6f 6e 4d 61 70 22 2f 3e 0d 0a 20 20 20 20 20 20 20 cref="InputActionMap"/>.........
3140 20 2f 2f 2f 20 74 68 61 74 20 69 73 20 69 74 73 65 6c 66 20 63 6f 6e 74 61 69 6e 65 64 20 69 6e .///.that.is.itself.contained.in
3160 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 41 73 73 65 74 22 .an.<see.cref="InputActionAsset"
3180 2f 3e 2e 20 43 61 6e 20 62 65 20 3c 63 3e 6e 75 6c 6c 3c 2f 63 3e 20 69 6e 20 77 68 69 63 68 0d />..Can.be.<c>null</c>.in.which.
31a0 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 63 61 73 65 20 74 68 65 20 72 65 66 65 72 65 6e 63 65 20 .........///.case.the.reference.
31c0 69 73 20 72 65 73 65 74 20 74 6f 20 69 74 73 20 64 65 66 61 75 6c 74 20 73 74 61 74 65 20 77 68 is.reset.to.its.default.state.wh
31e0 69 63 68 20 64 6f 65 73 20 6e 6f 74 20 72 65 66 65 72 65 6e 63 65 20 61 6e 20 61 63 74 69 6f 6e ich.does.not.reference.an.action
3200 2e 3c 2f 70 61 72 61 6d 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 72 65 74 75 72 6e 73 3e .</param>..........///.<returns>
3220 41 20 6e 65 77 20 49 6e 70 75 74 41 63 74 69 6f 6e 52 65 66 65 72 65 6e 63 65 20 72 65 66 65 72 A.new.InputActionReference.refer
3240 65 6e 63 69 6e 67 20 3c 70 61 72 61 6d 72 65 66 20 6e 61 6d 65 3d 22 61 63 74 69 6f 6e 22 2f 3e encing.<paramref.name="action"/>
3260 2e 3c 2f 72 65 74 75 72 6e 73 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 73 74 61 74 .</returns>..........public.stat
3280 69 63 20 49 6e 70 75 74 41 63 74 69 6f 6e 52 65 66 65 72 65 6e 63 65 20 43 72 65 61 74 65 28 49 ic.InputActionReference.Create(I
32a0 6e 70 75 74 41 63 74 69 6f 6e 20 61 63 74 69 6f 6e 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 nputAction.action)..........{...
32c0 20 20 20 20 20 20 20 20 20 20 20 69 66 20 28 61 63 74 69 6f 6e 20 3d 3d 20 6e 75 6c 6c 29 0d 0a ...........if.(action.==.null)..
32e0 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 20 20 ................return.null;....
3300 20 20 20 20 20 20 20 20 20 20 76 61 72 20 72 65 66 65 72 65 6e 63 65 20 3d 20 43 72 65 61 74 65 ..........var.reference.=.Create
3320 49 6e 73 74 61 6e 63 65 3c 49 6e 70 75 74 41 63 74 69 6f 6e 52 65 66 65 72 65 6e 63 65 3e 28 29 Instance<InputActionReference>()
3340 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 66 65 72 65 6e 63 65 2e 53 65 74 28 61 63 74 ;..............reference.Set(act
3360 69 6f 6e 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 72 65 66 65 72 65 ion);..............return.refere
3380 6e 63 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 5b 53 65 72 69 nce;..........}............[Seri
33a0 61 6c 69 7a 65 46 69 65 6c 64 5d 20 69 6e 74 65 72 6e 61 6c 20 49 6e 70 75 74 41 63 74 69 6f 6e alizeField].internal.InputAction
33c0 41 73 73 65 74 20 6d 5f 41 73 73 65 74 3b 0d 0a 20 20 20 20 20 20 20 20 2f 2f 20 43 61 6e 27 74 Asset.m_Asset;..........//.Can't
33e0 20 73 65 72 69 61 6c 69 7a 65 20 53 79 73 74 65 6d 2e 47 75 69 64 20 61 6e 64 20 55 6e 69 74 79 .serialize.System.Guid.and.Unity
3400 27 73 20 47 55 49 44 20 69 73 20 65 64 69 74 6f 72 20 6f 6e 6c 79 20 73 6f 20 74 68 65 73 65 0d 's.GUID.is.editor.only.so.these.
3420 0a 20 20 20 20 20 20 20 20 2f 2f 20 67 6f 20 6f 75 74 20 61 73 20 73 74 72 69 6e 67 73 2e 0d 0a .........//.go.out.as.strings...
3440 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 69 6e 74 65 72 6e 61 ........[SerializeField].interna
3460 6c 20 73 74 72 69 6e 67 20 6d 5f 41 63 74 69 6f 6e 49 64 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 l.string.m_ActionId;............
3480 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 54 68 65 20 72 ///.<summary>..........///.The.r
34a0 65 73 6f 6c 76 65 64 2c 20 63 61 63 68 65 64 20 69 6e 70 75 74 20 61 63 74 69 6f 6e 2e 0d 0a 20 esolved,.cached.input.action....
34c0 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 5b .......///.</summary>..........[
34e0 4e 6f 6e 53 65 72 69 61 6c 69 7a 65 64 5d 20 70 72 69 76 61 74 65 20 49 6e 70 75 74 41 63 74 69 NonSerialized].private.InputActi
3500 6f 6e 20 6d 5f 41 63 74 69 6f 6e 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 2f 2f 20 4d 61 6b 65 20 on.m_Action;............//.Make.
3520 61 6e 6e 6f 79 69 6e 67 20 4d 69 63 72 6f 73 6f 66 74 20 63 6f 64 65 20 61 6e 61 6c 79 7a 65 72 annoying.Microsoft.code.analyzer
3540 20 68 61 70 70 79 2e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 49 6e 70 75 74 41 63 74 .happy...........public.InputAct
3560 69 6f 6e 20 54 6f 49 6e 70 75 74 41 63 74 69 6f 6e 28 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a ion.ToInputAction()..........{..
3580 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 61 63 74 69 6f 6e 3b 0d 0a 20 20 20 20 ............return.action;......
35a0 20 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 ....}......}..}.................
35c0 00 00 00 00 00 00 00 00 14 00 00 00 49 6e 70 75 74 41 63 74 69 6f 6e 52 65 66 65 72 65 6e 63 65 ............InputActionReference
35e0 17 00 00 00 55 6e 69 74 79 45 6e 67 69 6e 65 2e 49 6e 70 75 74 53 79 73 74 65 6d 00 ....UnityEngine.InputSystem.