| ofs | hex dump | ascii |
|---|
| 0000 | 00 00 0f 81 00 00 40 a4 00 00 00 15 00 00 10 00 00 00 00 00 32 30 31 39 2e 33 2e 36 66 31 00 fe | ......@.............2019.3.6f1.. |
| 0020 | ff ff ff 01 02 00 00 00 0b 04 00 00 00 ff ff 66 9a 86 21 eb 14 35 98 39 dd 34 1d 51 0e c1 f3 42 | ...............f..!..5.9.4.Q...B |
| 0040 | 00 00 00 ed 00 00 00 02 00 00 00 00 00 00 00 37 00 00 80 ff ff ff ff 00 00 00 00 00 80 00 00 00 | ...............7................ |
| 0060 | 00 00 00 00 00 00 00 01 00 01 00 a6 03 00 80 b2 01 00 80 04 00 00 00 01 00 00 00 01 00 00 00 00 | ................................ |
| 0080 | 00 00 00 00 00 00 00 01 00 01 00 0d 00 00 00 45 04 00 80 0c 00 00 00 02 00 00 00 01 00 00 00 00 | ...............E................ |
| 00a0 | 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 23 00 00 00 04 00 00 00 03 00 00 00 01 00 80 00 00 | ...............#................ |
| 00c0 | 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 2c 00 00 00 08 00 00 00 04 00 00 00 01 00 80 00 00 | ...............,................ |
| 00e0 | 00 00 00 00 00 00 00 01 00 01 00 35 00 00 00 61 04 00 80 0c 00 00 00 05 00 00 00 01 00 00 00 00 | ...........5...a................ |
| 0100 | 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 23 00 00 00 04 00 00 00 06 00 00 00 01 00 80 00 00 | ...............#................ |
| 0120 | 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 2c 00 00 00 08 00 00 00 07 00 00 00 01 00 80 00 00 | ...............,................ |
| 0140 | 00 00 00 00 00 00 00 01 00 01 00 86 02 00 80 72 04 00 80 0c 00 00 00 08 00 00 00 01 00 00 00 00 | ...............r................ |
| 0160 | 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 23 00 00 00 04 00 00 00 09 00 00 00 01 00 80 00 00 | ...............#................ |
| 0180 | 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 2c 00 00 00 08 00 00 00 0a 00 00 00 01 00 80 00 00 | ...............,................ |
| 01a0 | 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 ab 01 00 80 ff ff ff ff 0b 00 00 00 01 80 08 00 00 | ...........H.................... |
| 01c0 | 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 0c 00 00 00 01 40 08 00 00 | ...........1...1............@... |
| 01e0 | 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 0d 00 00 00 01 00 08 00 00 | ................................ |
| 0200 | 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a 00 00 80 01 00 00 00 0e 00 00 00 01 00 08 00 00 | ...........Q...j................ |
| 0220 | 00 00 00 00 00 00 00 01 00 01 00 f1 00 00 80 4a 00 00 00 ff ff ff ff 0f 00 00 00 00 c0 00 00 00 | ...............J................ |
| 0240 | 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 10 00 00 00 00 80 00 00 00 | ...........1...1................ |
| 0260 | 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 11 00 00 00 00 00 00 00 00 | ................................ |
| 0280 | 00 00 00 00 00 00 00 01 00 03 00 1f 02 00 80 6a 00 00 80 ff ff ff ff 12 00 00 00 00 80 00 00 00 | ...............j................ |
| 02a0 | 00 00 00 00 00 00 00 01 00 04 00 5c 00 00 00 9b 00 00 80 ff ff ff ff 13 00 00 00 00 80 00 00 00 | ...........\.................... |
| 02c0 | 00 00 00 00 00 00 00 01 00 05 00 48 03 00 80 72 00 00 00 ff ff ff ff 14 00 00 00 00 80 00 00 00 | ...........H...r................ |
| 02e0 | 00 00 00 00 00 00 00 01 00 06 01 31 00 00 80 31 00 00 80 ff ff ff ff 15 00 00 00 01 40 00 00 00 | ...........1...1............@... |
| 0300 | 00 00 00 00 00 00 00 01 00 07 00 de 00 00 80 1b 03 00 80 04 00 00 00 16 00 00 00 01 00 00 00 00 | ................................ |
| 0320 | 00 00 00 00 00 00 00 01 00 07 00 51 00 00 80 6a 00 00 80 01 00 00 00 17 00 00 00 01 00 00 00 00 | ...........Q...j................ |
| 0340 | 00 00 00 00 00 00 00 01 00 05 00 48 03 00 80 77 00 00 00 ff ff ff ff 18 00 00 00 00 80 00 00 00 | ...........H...w................ |
| 0360 | 00 00 00 00 00 00 00 01 00 06 01 31 00 00 80 31 00 00 80 ff ff ff ff 19 00 00 00 01 40 00 00 00 | ...........1...1............@... |
| 0380 | 00 00 00 00 00 00 00 01 00 07 00 de 00 00 80 1b 03 00 80 04 00 00 00 1a 00 00 00 01 00 00 00 00 | ................................ |
| 03a0 | 00 00 00 00 00 00 00 01 00 07 00 51 00 00 80 6a 00 00 80 01 00 00 00 1b 00 00 00 01 00 00 00 00 | ...........Q...j................ |
| 03c0 | 00 00 00 00 00 00 00 01 00 05 00 48 03 00 80 80 00 00 00 ff ff ff ff 1c 00 00 00 00 80 00 00 00 | ...........H.................... |
| 03e0 | 00 00 00 00 00 00 00 01 00 06 01 31 00 00 80 31 00 00 80 ff ff ff ff 1d 00 00 00 01 40 00 00 00 | ...........1...1............@... |
| 0400 | 00 00 00 00 00 00 00 01 00 07 00 de 00 00 80 1b 03 00 80 04 00 00 00 1e 00 00 00 01 00 00 00 00 | ................................ |
| 0420 | 00 00 00 00 00 00 00 01 00 07 00 51 00 00 80 6a 00 00 80 01 00 00 00 1f 00 00 00 01 00 00 00 00 | ...........Q...j................ |
| 0440 | 00 00 00 00 00 00 00 01 00 04 00 79 02 00 80 0a 03 00 80 0c 00 00 00 20 00 00 00 00 00 00 00 00 | ...........y.................... |
| 0460 | 00 00 00 00 00 00 00 01 00 05 00 de 00 00 80 23 00 00 00 04 00 00 00 21 00 00 00 01 00 80 00 00 | ...............#.......!........ |
| 0480 | 00 00 00 00 00 00 00 01 00 05 00 2e 03 00 80 2c 00 00 00 08 00 00 00 22 00 00 00 01 00 80 00 00 | ...............,......."........ |
| 04a0 | 00 00 00 00 00 00 00 01 00 01 00 11 03 00 80 85 00 00 00 ff ff ff ff 23 00 00 00 01 40 08 00 00 | .......................#....@... |
| 04c0 | 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 24 00 00 00 01 00 08 00 00 | ...........1...1.......$........ |
| 04e0 | 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 25 00 00 00 01 00 08 00 00 | .......................%........ |
| 0500 | 00 00 00 00 00 00 00 01 00 03 00 2e 03 00 80 6a 00 00 80 08 00 00 00 26 00 00 00 01 00 08 00 00 | ...............j.......&........ |
| 0520 | 00 00 00 00 00 00 00 01 00 01 00 d5 03 00 80 93 00 00 00 ff ff ff ff 27 00 00 00 00 80 00 00 00 | .......................'........ |
| 0540 | 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 28 00 00 00 00 c0 00 00 00 | ...........1...1.......(........ |
| 0560 | 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 29 00 00 00 00 00 00 00 00 | .......................)........ |
| 0580 | 00 00 00 00 00 00 00 01 00 03 00 1f 02 00 80 6a 00 00 80 ff ff ff ff 2a 00 00 00 00 80 00 00 00 | ...............j.......*........ |
| 05a0 | 00 00 00 00 00 00 00 01 00 04 00 48 03 00 80 9b 00 00 80 ff ff ff ff 2b 00 00 00 00 80 00 00 00 | ...........H...........+........ |
| 05c0 | 00 00 00 00 00 00 00 01 00 05 01 31 00 00 80 31 00 00 80 ff ff ff ff 2c 00 00 00 01 40 00 00 00 | ...........1...1.......,....@... |
| 05e0 | 00 00 00 00 00 00 00 01 00 06 00 de 00 00 80 1b 03 00 80 04 00 00 00 2d 00 00 00 01 00 00 00 00 | .......................-........ |
| 0600 | 00 00 00 00 00 00 00 01 00 06 00 51 00 00 80 6a 00 00 80 01 00 00 00 2e 00 00 00 01 00 00 00 00 | ...........Q...j................ |
| 0620 | 00 00 00 00 00 00 00 01 00 04 00 79 02 00 80 0a 03 00 80 0c 00 00 00 2f 00 00 00 00 00 00 00 00 | ...........y.........../........ |
| 0640 | 00 00 00 00 00 00 00 01 00 05 00 de 00 00 80 23 00 00 00 04 00 00 00 30 00 00 00 01 00 80 00 00 | ...............#.......0........ |
| 0660 | 00 00 00 00 00 00 00 01 00 05 00 2e 03 00 80 2c 00 00 00 08 00 00 00 31 00 00 00 01 00 80 00 00 | ...............,.......1........ |
| 0680 | 00 00 00 00 00 00 00 01 00 01 00 20 03 00 80 a7 00 00 00 02 00 00 00 32 00 00 00 00 40 00 00 00 | .......................2....@... |
| 06a0 | 00 00 00 00 00 00 00 01 00 01 00 be 02 00 80 b6 00 00 00 0c 00 00 00 33 00 00 00 00 40 00 00 00 | .......................3....@... |
| 06c0 | 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 23 00 00 00 04 00 00 00 34 00 00 00 01 00 80 00 00 | ...............#.......4........ |
| 06e0 | 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 2c 00 00 00 08 00 00 00 35 00 00 00 01 00 80 00 00 | ...............,.......5........ |
| 0700 | 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 bb 00 00 00 ff ff ff ff 36 00 00 00 01 80 00 00 00 | ...........H...........6........ |
| 0720 | 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 37 00 00 00 01 40 00 00 00 | ...........1...1.......7....@... |
| 0740 | 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 38 00 00 00 01 00 00 00 00 | .......................8........ |
| 0760 | 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a 00 00 80 01 00 00 00 39 00 00 00 01 00 00 00 00 | ...........Q...j.......9........ |
| 0780 | 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 c6 00 00 00 ff ff ff ff 3a 00 00 00 01 80 00 00 00 | ...........H...........:........ |
| 07a0 | 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 3b 00 00 00 01 40 00 00 00 | ...........1...1.......;....@... |
| 07c0 | 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 3c 00 00 00 01 00 00 00 00 | .......................<........ |
| 07e0 | 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a 00 00 80 01 00 00 00 3d 00 00 00 01 00 00 00 00 | ...........Q...j.......=........ |
| 0800 | 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 d8 00 00 00 ff ff ff ff 3e 00 00 00 01 80 00 00 00 | ...........H...........>........ |
| 0820 | 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 3f 00 00 00 01 40 00 00 00 | ...........1...1.......?....@... |
| 0840 | 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 40 00 00 00 01 00 00 00 00 | .......................@........ |
| 0860 | 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a 00 00 80 01 00 00 00 41 00 00 00 01 00 00 00 00 | ...........Q...j.......A........ |
| 0880 | 00 00 00 00 00 00 00 4d 6f 6e 6f 49 6d 70 6f 72 74 65 72 00 50 50 74 72 3c 45 64 69 74 6f 72 45 | .......MonoImporter.PPtr<EditorE |
| 08a0 | 78 74 65 6e 73 69 6f 6e 3e 00 6d 5f 46 69 6c 65 49 44 00 6d 5f 50 61 74 68 49 44 00 50 50 74 72 | xtension>.m_FileID.m_PathID.PPtr |
| 08c0 | 3c 50 72 65 66 61 62 49 6e 73 74 61 6e 63 65 3e 00 6d 5f 45 78 74 65 72 6e 61 6c 4f 62 6a 65 63 | <PrefabInstance>.m_ExternalObjec |
| 08e0 | 74 73 00 53 6f 75 72 63 65 41 73 73 65 74 49 64 65 6e 74 69 66 69 65 72 00 74 79 70 65 00 61 73 | ts.SourceAssetIdentifier.type.as |
| 0900 | 73 65 6d 62 6c 79 00 6e 61 6d 65 00 6d 5f 55 73 65 64 46 69 6c 65 49 44 73 00 6d 5f 44 65 66 61 | sembly.name.m_UsedFileIDs.m_Defa |
| 0920 | 75 6c 74 52 65 66 65 72 65 6e 63 65 73 00 65 78 65 63 75 74 69 6f 6e 4f 72 64 65 72 00 69 63 6f | ultReferences.executionOrder.ico |
| 0940 | 6e 00 6d 5f 55 73 65 72 44 61 74 61 00 6d 5f 41 73 73 65 74 42 75 6e 64 6c 65 4e 61 6d 65 00 6d | n.m_UserData.m_AssetBundleName.m |
| 0960 | 5f 41 73 73 65 74 42 75 6e 64 6c 65 56 61 72 69 61 6e 74 00 00 00 00 00 73 00 00 00 00 ff ff a3 | _AssetBundleVariant.....s....... |
| 0980 | 47 f1 d7 dc 8f 5a 35 36 a0 3a 21 40 69 c1 4a 2a 00 00 00 81 00 00 00 05 00 00 00 15 01 00 80 37 | G....Z56.:!@i.J*...............7 |
| 09a0 | 00 00 80 ff ff ff ff 00 00 00 00 00 80 00 00 00 00 00 00 00 00 00 00 01 00 01 00 a6 03 00 80 b2 | ................................ |
| 09c0 | 01 00 80 04 00 00 00 01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 01 00 00 00 00 00 45 | ...............................E |
| 09e0 | 04 00 80 0c 00 00 00 02 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 16 | ................................ |
| 0a00 | 00 00 00 04 00 00 00 03 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 1f | ................................ |
| 0a20 | 00 00 00 08 00 00 00 04 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 01 00 28 00 00 00 61 | ...........................(...a |
| 0a40 | 04 00 80 0c 00 00 00 05 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 16 | ................................ |
| 0a60 | 00 00 00 04 00 00 00 06 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 1f | ................................ |
| 0a80 | 00 00 00 08 00 00 00 07 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 01 00 86 02 00 80 72 | ...............................r |
| 0aa0 | 04 00 80 0c 00 00 00 08 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 16 | ................................ |
| 0ac0 | 00 00 00 04 00 00 00 09 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 1f | ................................ |
| 0ae0 | 00 00 00 08 00 00 00 0a 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 ab | ...........................H.... |
| 0b00 | 01 00 80 ff ff ff ff 0b 00 00 00 01 80 08 00 00 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 | ...........................1...1 |
| 0b20 | 00 00 80 ff ff ff ff 0c 00 00 00 01 40 08 00 00 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b | ............@................... |
| 0b40 | 03 00 80 04 00 00 00 0d 00 00 00 01 00 08 00 00 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a | ...........................Q...j |
| 0b60 | 00 00 80 01 00 00 00 0e 00 00 00 01 00 08 00 00 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 ea | ...........................H.... |
| 0b80 | 01 00 80 ff ff ff ff 0f 00 00 00 01 80 00 00 00 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 | ...........................1...1 |
| 0ba0 | 00 00 80 ff ff ff ff 10 00 00 00 01 40 00 00 00 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b | ............@................... |
| 0bc0 | 03 00 80 04 00 00 00 11 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a | ...........................Q...j |
| 0be0 | 00 00 80 01 00 00 00 12 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 01 00 f1 00 00 80 3d | ...............................= |
| 0c00 | 00 00 00 ff ff ff ff 13 00 00 00 01 80 00 00 00 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 | ...........................1...1 |
| 0c20 | 00 00 80 ff ff ff ff 14 00 00 00 01 80 00 00 00 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b | ................................ |
| 0c40 | 03 00 80 04 00 00 00 15 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 03 00 1f 02 00 80 6a | ...............................j |
| 0c60 | 00 00 80 ff ff ff ff 16 00 00 00 01 80 00 00 00 00 00 00 00 00 00 00 01 00 04 00 48 03 00 80 9b | ...........................H.... |
| 0c80 | 00 00 80 ff ff ff ff 17 00 00 00 01 80 00 00 00 00 00 00 00 00 00 00 01 00 05 01 31 00 00 80 31 | ...........................1...1 |
| 0ca0 | 00 00 80 ff ff ff ff 18 00 00 00 01 40 00 00 00 00 00 00 00 00 00 00 01 00 06 00 de 00 00 80 1b | ............@................... |
| 0cc0 | 03 00 80 04 00 00 00 19 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 06 00 51 00 00 80 6a | ...........................Q...j |
| 0ce0 | 00 00 80 01 00 00 00 1a 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 04 00 79 02 00 80 0a | ...........................y.... |
| 0d00 | 03 00 80 0c 00 00 00 1b 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 05 00 de 00 00 80 16 | ................................ |
| 0d20 | 00 00 00 04 00 00 00 1c 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 05 00 2e 03 00 80 1f | ................................ |
| 0d40 | 00 00 00 08 00 00 00 1d 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 01 00 79 02 00 80 51 | ...........................y...Q |
| 0d60 | 00 00 00 0c 00 00 00 1e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 16 | ................................ |
| 0d80 | 00 00 00 04 00 00 00 1f 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 1f | ................................ |
| 0da0 | 00 00 00 08 00 00 00 20 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 01 00 de 00 00 80 58 | ...............................X |
| 0dc0 | 00 00 00 04 00 00 00 21 00 00 00 10 00 00 00 00 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 69 | .......!...................H...i |
| 0de0 | 00 00 00 ff ff ff ff 22 00 00 00 10 80 00 00 00 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 | ......."...................1...1 |
| 0e00 | 00 00 80 ff ff ff ff 23 00 00 00 11 40 00 00 00 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b | .......#....@................... |
| 0e20 | 03 00 80 04 00 00 00 24 00 00 00 11 00 00 00 00 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a | .......$...................Q...j |
| 0e40 | 00 00 80 01 00 00 00 25 00 00 00 11 00 00 00 00 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 75 | .......%...................H...u |
| 0e60 | 00 00 00 ff ff ff ff 26 00 00 00 10 80 00 00 00 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 | .......&...................1...1 |
| 0e80 | 00 00 80 ff ff ff ff 27 00 00 00 11 40 00 00 00 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b | .......'....@................... |
| 0ea0 | 03 00 80 04 00 00 00 28 00 00 00 11 00 00 00 00 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a | .......(...................Q...j |
| 0ec0 | 00 00 80 01 00 00 00 29 00 00 00 11 00 00 00 00 00 00 00 00 00 00 00 50 50 74 72 3c 45 64 69 74 | .......)...............PPtr<Edit |
| 0ee0 | 6f 72 45 78 74 65 6e 73 69 6f 6e 3e 00 6d 5f 46 69 6c 65 49 44 00 6d 5f 50 61 74 68 49 44 00 50 | orExtension>.m_FileID.m_PathID.P |
| 0f00 | 50 74 72 3c 50 72 65 66 61 62 49 6e 73 74 61 6e 63 65 3e 00 6d 5f 44 65 66 61 75 6c 74 52 65 66 | Ptr<PrefabInstance>.m_DefaultRef |
| 0f20 | 65 72 65 6e 63 65 73 00 6d 5f 49 63 6f 6e 00 6d 5f 45 78 65 63 75 74 69 6f 6e 4f 72 64 65 72 00 | erences.m_Icon.m_ExecutionOrder. |
| 0f40 | 6d 5f 43 6c 61 73 73 4e 61 6d 65 00 6d 5f 4e 61 6d 65 73 70 61 63 65 00 00 00 00 00 02 00 00 00 | m_ClassName.m_Namespace......... |
| 0f60 | 03 00 00 00 00 00 00 00 00 00 00 00 5c 00 00 00 00 00 00 00 e0 79 af 00 00 00 00 00 60 00 00 00 | ............\........y......`... |
| 0f80 | 44 30 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 | D0.............................. |
| 0fa0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 0fc0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 0fe0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 1000 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 1020 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 e0 79 af 00 00 00 00 00 00 00 00 00 | .....................y.......... |
| 1040 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 1060 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 1080 | 00 00 00 00 00 00 00 00 06 00 00 00 4f 70 65 6e 56 52 00 00 e6 2f 00 00 23 69 66 20 55 4e 49 54 | ............OpenVR.../..#if.UNIT |
| 10a0 | 59 5f 49 4e 50 55 54 5f 53 59 53 54 45 4d 5f 45 4e 41 42 4c 45 5f 58 52 20 26 26 20 21 44 49 53 | Y_INPUT_SYSTEM_ENABLE_XR.&&.!DIS |
| 10c0 | 41 42 4c 45 5f 42 55 49 4c 54 49 4e 5f 49 4e 50 55 54 5f 53 59 53 54 45 4d 5f 4f 50 45 4e 56 52 | ABLE_BUILTIN_INPUT_SYSTEM_OPENVR |
| 10e0 | 20 26 26 20 21 50 41 43 4b 41 47 45 5f 44 4f 43 53 5f 47 45 4e 45 52 41 54 49 4f 4e 0d 0a 75 73 | .&&.!PACKAGE_DOCS_GENERATION..us |
| 1100 | 69 6e 67 20 55 6e 69 74 79 45 6e 67 69 6e 65 2e 49 6e 70 75 74 53 79 73 74 65 6d 3b 0d 0a 75 73 | ing.UnityEngine.InputSystem;..us |
| 1120 | 69 6e 67 20 55 6e 69 74 79 45 6e 67 69 6e 65 2e 49 6e 70 75 74 53 79 73 74 65 6d 2e 43 6f 6e 74 | ing.UnityEngine.InputSystem.Cont |
| 1140 | 72 6f 6c 73 3b 0d 0a 75 73 69 6e 67 20 55 6e 69 74 79 45 6e 67 69 6e 65 2e 49 6e 70 75 74 53 79 | rols;..using.UnityEngine.InputSy |
| 1160 | 73 74 65 6d 2e 4c 61 79 6f 75 74 73 3b 0d 0a 75 73 69 6e 67 20 55 6e 69 74 79 45 6e 67 69 6e 65 | stem.Layouts;..using.UnityEngine |
| 1180 | 2e 49 6e 70 75 74 53 79 73 74 65 6d 2e 58 52 3b 0d 0a 75 73 69 6e 67 20 55 6e 69 74 79 45 6e 67 | .InputSystem.XR;..using.UnityEng |
| 11a0 | 69 6e 65 2e 53 63 72 69 70 74 69 6e 67 3b 0d 0a 0d 0a 6e 61 6d 65 73 70 61 63 65 20 55 6e 69 74 | ine.Scripting;....namespace.Unit |
| 11c0 | 79 2e 58 52 2e 4f 70 65 6e 56 52 0d 0a 7b 0d 0a 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f | y.XR.OpenVR..{......[InputContro |
| 11e0 | 6c 4c 61 79 6f 75 74 28 64 69 73 70 6c 61 79 4e 61 6d 65 20 3d 20 22 4f 70 65 6e 56 52 20 48 65 | lLayout(displayName.=."OpenVR.He |
| 1200 | 61 64 73 65 74 22 29 5d 0d 0a 20 20 20 20 5b 50 72 65 73 65 72 76 65 5d 0d 0a 20 20 20 20 70 75 | adset")]......[Preserve]......pu |
| 1220 | 62 6c 69 63 20 63 6c 61 73 73 20 4f 70 65 6e 56 52 48 4d 44 20 3a 20 58 52 48 4d 44 0d 0a 20 20 | blic.class.OpenVRHMD.:.XRHMD.... |
| 1240 | 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 28 6e 6f 69 73 79 | ..{..........[InputControl(noisy |
| 1260 | 20 3d 20 74 72 75 65 29 5d 0d 0a 20 20 20 20 20 20 20 20 5b 50 72 65 73 65 72 76 65 5d 0d 0a 20 | .=.true)]..........[Preserve]... |
| 1280 | 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 56 65 63 74 6f 72 33 43 6f 6e 74 72 6f 6c 20 64 65 76 | .......public.Vector3Control.dev |
| 12a0 | 69 63 65 56 65 6c 6f 63 69 74 79 20 7b 20 67 65 74 3b 20 70 72 69 76 61 74 65 20 73 65 74 3b 20 | iceVelocity.{.get;.private.set;. |
| 12c0 | 7d 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 28 6e 6f 69 73 79 20 3d | }..........[InputControl(noisy.= |
| 12e0 | 20 74 72 75 65 29 5d 0d 0a 20 20 20 20 20 20 20 20 5b 50 72 65 73 65 72 76 65 5d 0d 0a 20 20 20 | .true)]..........[Preserve]..... |
| 1300 | 20 20 20 20 20 70 75 62 6c 69 63 20 56 65 63 74 6f 72 33 43 6f 6e 74 72 6f 6c 20 64 65 76 69 63 | .....public.Vector3Control.devic |
| 1320 | 65 41 6e 67 75 6c 61 72 56 65 6c 6f 63 69 74 79 20 7b 20 67 65 74 3b 20 70 72 69 76 61 74 65 20 | eAngularVelocity.{.get;.private. |
| 1340 | 73 65 74 3b 20 7d 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 28 6e 6f | set;.}..........[InputControl(no |
| 1360 | 69 73 79 20 3d 20 74 72 75 65 29 5d 0d 0a 20 20 20 20 20 20 20 20 5b 50 72 65 73 65 72 76 65 5d | isy.=.true)]..........[Preserve] |
| 1380 | 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 56 65 63 74 6f 72 33 43 6f 6e 74 72 6f 6c 20 | ..........public.Vector3Control. |
| 13a0 | 6c 65 66 74 45 79 65 56 65 6c 6f 63 69 74 79 20 7b 20 67 65 74 3b 20 70 72 69 76 61 74 65 20 73 | leftEyeVelocity.{.get;.private.s |
| 13c0 | 65 74 3b 20 7d 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 28 6e 6f 69 | et;.}..........[InputControl(noi |
| 13e0 | 73 79 20 3d 20 74 72 75 65 29 5d 0d 0a 20 20 20 20 20 20 20 20 5b 50 72 65 73 65 72 76 65 5d 0d | sy.=.true)]..........[Preserve]. |
| 1400 | 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 56 65 63 74 6f 72 33 43 6f 6e 74 72 6f 6c 20 6c | .........public.Vector3Control.l |
| 1420 | 65 66 74 45 79 65 41 6e 67 75 6c 61 72 56 65 6c 6f 63 69 74 79 20 7b 20 67 65 74 3b 20 70 72 69 | eftEyeAngularVelocity.{.get;.pri |
| 1440 | 76 61 74 65 20 73 65 74 3b 20 7d 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 | vate.set;.}..........[InputContr |
| 1460 | 6f 6c 28 6e 6f 69 73 79 20 3d 20 74 72 75 65 29 5d 0d 0a 20 20 20 20 20 20 20 20 5b 50 72 65 73 | ol(noisy.=.true)]..........[Pres |
| 1480 | 65 72 76 65 5d 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 56 65 63 74 6f 72 33 43 6f 6e | erve]..........public.Vector3Con |
| 14a0 | 74 72 6f 6c 20 72 69 67 68 74 45 79 65 56 65 6c 6f 63 69 74 79 20 7b 20 67 65 74 3b 20 70 72 69 | trol.rightEyeVelocity.{.get;.pri |
| 14c0 | 76 61 74 65 20 73 65 74 3b 20 7d 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 | vate.set;.}..........[InputContr |
| 14e0 | 6f 6c 28 6e 6f 69 73 79 20 3d 20 74 72 75 65 29 5d 0d 0a 20 20 20 20 20 20 20 20 5b 50 72 65 73 | ol(noisy.=.true)]..........[Pres |
| 1500 | 65 72 76 65 5d 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 56 65 63 74 6f 72 33 43 6f 6e | erve]..........public.Vector3Con |
| 1520 | 74 72 6f 6c 20 72 69 67 68 74 45 79 65 41 6e 67 75 6c 61 72 56 65 6c 6f 63 69 74 79 20 7b 20 67 | trol.rightEyeAngularVelocity.{.g |
| 1540 | 65 74 3b 20 70 72 69 76 61 74 65 20 73 65 74 3b 20 7d 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 | et;.private.set;.}..........[Inp |
| 1560 | 75 74 43 6f 6e 74 72 6f 6c 28 6e 6f 69 73 79 20 3d 20 74 72 75 65 29 5d 0d 0a 20 20 20 20 20 20 | utControl(noisy.=.true)]........ |
| 1580 | 20 20 5b 50 72 65 73 65 72 76 65 5d 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 56 65 63 | ..[Preserve]..........public.Vec |
| 15a0 | 74 6f 72 33 43 6f 6e 74 72 6f 6c 20 63 65 6e 74 65 72 45 79 65 56 65 6c 6f 63 69 74 79 20 7b 20 | tor3Control.centerEyeVelocity.{. |
| 15c0 | 67 65 74 3b 20 70 72 69 76 61 74 65 20 73 65 74 3b 20 7d 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e | get;.private.set;.}..........[In |
| 15e0 | 70 75 74 43 6f 6e 74 72 6f 6c 28 6e 6f 69 73 79 20 3d 20 74 72 75 65 29 5d 0d 0a 20 20 20 20 20 | putControl(noisy.=.true)]....... |
| 1600 | 20 20 20 5b 50 72 65 73 65 72 76 65 5d 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 56 65 | ...[Preserve]..........public.Ve |
| 1620 | 63 74 6f 72 33 43 6f 6e 74 72 6f 6c 20 63 65 6e 74 65 72 45 79 65 41 6e 67 75 6c 61 72 56 65 6c | ctor3Control.centerEyeAngularVel |
| 1640 | 6f 63 69 74 79 20 7b 20 67 65 74 3b 20 70 72 69 76 61 74 65 20 73 65 74 3b 20 7d 0d 0a 0d 0a 20 | ocity.{.get;.private.set;.}..... |
| 1660 | 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 6f 76 65 72 72 69 64 65 20 76 6f 69 64 20 46 | .......protected.override.void.F |
| 1680 | 69 6e 69 73 68 53 65 74 75 70 28 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 | inishSetup()..........{......... |
| 16a0 | 20 20 20 20 20 62 61 73 65 2e 46 69 6e 69 73 68 53 65 74 75 70 28 29 3b 0d 0a 0d 0a 20 20 20 20 | .....base.FinishSetup();........ |
| 16c0 | 20 20 20 20 20 20 20 20 64 65 76 69 63 65 56 65 6c 6f 63 69 74 79 20 3d 20 47 65 74 43 68 69 6c | ........deviceVelocity.=.GetChil |
| 16e0 | 64 43 6f 6e 74 72 6f 6c 3c 56 65 63 74 6f 72 33 43 6f 6e 74 72 6f 6c 3e 28 22 64 65 76 69 63 65 | dControl<Vector3Control>("device |
| 1700 | 56 65 6c 6f 63 69 74 79 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 64 65 76 69 63 65 41 | Velocity");..............deviceA |
| 1720 | 6e 67 75 6c 61 72 56 65 6c 6f 63 69 74 79 20 3d 20 47 65 74 43 68 69 6c 64 43 6f 6e 74 72 6f 6c | ngularVelocity.=.GetChildControl |
| 1740 | 3c 56 65 63 74 6f 72 33 43 6f 6e 74 72 6f 6c 3e 28 22 64 65 76 69 63 65 41 6e 67 75 6c 61 72 56 | <Vector3Control>("deviceAngularV |
| 1760 | 65 6c 6f 63 69 74 79 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6c 65 66 74 45 79 65 56 | elocity");..............leftEyeV |
| 1780 | 65 6c 6f 63 69 74 79 20 3d 20 47 65 74 43 68 69 6c 64 43 6f 6e 74 72 6f 6c 3c 56 65 63 74 6f 72 | elocity.=.GetChildControl<Vector |
| 17a0 | 33 43 6f 6e 74 72 6f 6c 3e 28 22 6c 65 66 74 45 79 65 56 65 6c 6f 63 69 74 79 22 29 3b 0d 0a 20 | 3Control>("leftEyeVelocity");... |
| 17c0 | 20 20 20 20 20 20 20 20 20 20 20 6c 65 66 74 45 79 65 41 6e 67 75 6c 61 72 56 65 6c 6f 63 69 74 | ...........leftEyeAngularVelocit |
| 17e0 | 79 20 3d 20 47 65 74 43 68 69 6c 64 43 6f 6e 74 72 6f 6c 3c 56 65 63 74 6f 72 33 43 6f 6e 74 72 | y.=.GetChildControl<Vector3Contr |
| 1800 | 6f 6c 3e 28 22 6c 65 66 74 45 79 65 41 6e 67 75 6c 61 72 56 65 6c 6f 63 69 74 79 22 29 3b 0d 0a | ol>("leftEyeAngularVelocity");.. |
| 1820 | 20 20 20 20 20 20 20 20 20 20 20 20 72 69 67 68 74 45 79 65 56 65 6c 6f 63 69 74 79 20 3d 20 47 | ............rightEyeVelocity.=.G |
| 1840 | 65 74 43 68 69 6c 64 43 6f 6e 74 72 6f 6c 3c 56 65 63 74 6f 72 33 43 6f 6e 74 72 6f 6c 3e 28 22 | etChildControl<Vector3Control>(" |
| 1860 | 72 69 67 68 74 45 79 65 56 65 6c 6f 63 69 74 79 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 | rightEyeVelocity");............. |
| 1880 | 20 72 69 67 68 74 45 79 65 41 6e 67 75 6c 61 72 56 65 6c 6f 63 69 74 79 20 3d 20 47 65 74 43 68 | .rightEyeAngularVelocity.=.GetCh |
| 18a0 | 69 6c 64 43 6f 6e 74 72 6f 6c 3c 56 65 63 74 6f 72 33 43 6f 6e 74 72 6f 6c 3e 28 22 72 69 67 68 | ildControl<Vector3Control>("righ |
| 18c0 | 74 45 79 65 41 6e 67 75 6c 61 72 56 65 6c 6f 63 69 74 79 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 | tEyeAngularVelocity");.......... |
| 18e0 | 20 20 20 20 63 65 6e 74 65 72 45 79 65 56 65 6c 6f 63 69 74 79 20 3d 20 47 65 74 43 68 69 6c 64 | ....centerEyeVelocity.=.GetChild |
| 1900 | 43 6f 6e 74 72 6f 6c 3c 56 65 63 74 6f 72 33 43 6f 6e 74 72 6f 6c 3e 28 22 63 65 6e 74 65 72 45 | Control<Vector3Control>("centerE |
| 1920 | 79 65 56 65 6c 6f 63 69 74 79 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 65 6e 74 65 | yeVelocity");..............cente |
| 1940 | 72 45 79 65 41 6e 67 75 6c 61 72 56 65 6c 6f 63 69 74 79 20 3d 20 47 65 74 43 68 69 6c 64 43 6f | rEyeAngularVelocity.=.GetChildCo |
| 1960 | 6e 74 72 6f 6c 3c 56 65 63 74 6f 72 33 43 6f 6e 74 72 6f 6c 3e 28 22 63 65 6e 74 65 72 45 79 65 | ntrol<Vector3Control>("centerEye |
| 1980 | 41 6e 67 75 6c 61 72 56 65 6c 6f 63 69 74 79 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 20 | AngularVelocity");..........}... |
| 19a0 | 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 4c 61 79 6f 75 74 28 | ...}........[InputControlLayout( |
| 19c0 | 64 69 73 70 6c 61 79 4e 61 6d 65 20 3d 20 22 57 69 6e 64 6f 77 73 20 4d 52 20 43 6f 6e 74 72 6f | displayName.=."Windows.MR.Contro |
| 19e0 | 6c 6c 65 72 20 28 4f 70 65 6e 56 52 29 22 2c 20 63 6f 6d 6d 6f 6e 55 73 61 67 65 73 20 3d 20 6e | ller.(OpenVR)",.commonUsages.=.n |
| 1a00 | 65 77 5b 5d 20 7b 20 22 4c 65 66 74 48 61 6e 64 22 2c 20 22 52 69 67 68 74 48 61 6e 64 22 20 7d | ew[].{."LeftHand",."RightHand".} |
| 1a20 | 29 5d 0d 0a 20 20 20 20 5b 50 72 65 73 65 72 76 65 5d 0d 0a 20 20 20 20 70 75 62 6c 69 63 20 63 | )]......[Preserve]......public.c |
| 1a40 | 6c 61 73 73 20 4f 70 65 6e 56 52 43 6f 6e 74 72 6f 6c 6c 65 72 57 4d 52 20 3a 20 58 52 43 6f 6e | lass.OpenVRControllerWMR.:.XRCon |
| 1a60 | 74 72 6f 6c 6c 65 72 0d 0a 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f | troller......{..........[InputCo |
| 1a80 | 6e 74 72 6f 6c 28 6e 6f 69 73 79 20 3d 20 74 72 75 65 29 5d 0d 0a 20 20 20 20 20 20 20 20 5b 50 | ntrol(noisy.=.true)]..........[P |
| 1aa0 | 72 65 73 65 72 76 65 5d 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 56 65 63 74 6f 72 33 | reserve]..........public.Vector3 |
| 1ac0 | 43 6f 6e 74 72 6f 6c 20 64 65 76 69 63 65 56 65 6c 6f 63 69 74 79 20 7b 20 67 65 74 3b 20 70 72 | Control.deviceVelocity.{.get;.pr |
| 1ae0 | 69 76 61 74 65 20 73 65 74 3b 20 7d 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 | ivate.set;.}..........[InputCont |
| 1b00 | 72 6f 6c 28 6e 6f 69 73 79 20 3d 20 74 72 75 65 29 5d 0d 0a 20 20 20 20 20 20 20 20 5b 50 72 65 | rol(noisy.=.true)]..........[Pre |
| 1b20 | 73 65 72 76 65 5d 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 56 65 63 74 6f 72 33 43 6f | serve]..........public.Vector3Co |
| 1b40 | 6e 74 72 6f 6c 20 64 65 76 69 63 65 41 6e 67 75 6c 61 72 56 65 6c 6f 63 69 74 79 20 7b 20 67 65 | ntrol.deviceAngularVelocity.{.ge |
| 1b60 | 74 3b 20 70 72 69 76 61 74 65 20 73 65 74 3b 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e | t;.private.set;.}............[In |
| 1b80 | 70 75 74 43 6f 6e 74 72 6f 6c 28 61 6c 69 61 73 65 73 20 3d 20 6e 65 77 5b 5d 20 7b 20 22 70 72 | putControl(aliases.=.new[].{."pr |
| 1ba0 | 69 6d 61 72 79 32 44 41 78 69 73 43 6c 69 63 6b 22 2c 20 22 6a 6f 79 73 74 69 63 6b 4f 72 50 61 | imary2DAxisClick",."joystickOrPa |
| 1bc0 | 64 50 72 65 73 73 65 64 22 20 7d 29 5d 0d 0a 20 20 20 20 20 20 20 20 5b 50 72 65 73 65 72 76 65 | dPressed".})]..........[Preserve |
| 1be0 | 5d 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 42 75 74 74 6f 6e 43 6f 6e 74 72 6f 6c 20 | ]..........public.ButtonControl. |
| 1c00 | 74 6f 75 63 68 70 61 64 43 6c 69 63 6b 20 7b 20 67 65 74 3b 20 70 72 69 76 61 74 65 20 73 65 74 | touchpadClick.{.get;.private.set |
| 1c20 | 3b 20 7d 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 28 61 6c 69 61 73 | ;.}..........[InputControl(alias |
| 1c40 | 65 73 20 3d 20 6e 65 77 5b 5d 20 7b 20 22 70 72 69 6d 61 72 79 32 44 41 78 69 73 54 6f 75 63 68 | es.=.new[].{."primary2DAxisTouch |
| 1c60 | 22 2c 20 22 6a 6f 79 73 74 69 63 6b 4f 72 50 61 64 54 6f 75 63 68 65 64 22 20 7d 29 5d 0d 0a 20 | ",."joystickOrPadTouched".})]... |
| 1c80 | 20 20 20 20 20 20 20 5b 50 72 65 73 65 72 76 65 5d 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 | .......[Preserve]..........publi |
| 1ca0 | 63 20 42 75 74 74 6f 6e 43 6f 6e 74 72 6f 6c 20 74 6f 75 63 68 70 61 64 54 6f 75 63 68 20 7b 20 | c.ButtonControl.touchpadTouch.{. |
| 1cc0 | 67 65 74 3b 20 70 72 69 76 61 74 65 20 73 65 74 3b 20 7d 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e | get;.private.set;.}..........[In |
| 1ce0 | 70 75 74 43 6f 6e 74 72 6f 6c 5d 0d 0a 20 20 20 20 20 20 20 20 5b 50 72 65 73 65 72 76 65 5d 0d | putControl]..........[Preserve]. |
| 1d00 | 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 42 75 74 74 6f 6e 43 6f 6e 74 72 6f 6c 20 67 72 | .........public.ButtonControl.gr |
| 1d20 | 69 70 50 72 65 73 73 65 64 20 7b 20 67 65 74 3b 20 70 72 69 76 61 74 65 20 73 65 74 3b 20 7d 0d | ipPressed.{.get;.private.set;.}. |
| 1d40 | 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 5d 0d 0a 20 20 20 20 20 20 20 | .........[InputControl]......... |
| 1d60 | 20 70 75 62 6c 69 63 20 42 75 74 74 6f 6e 43 6f 6e 74 72 6f 6c 20 74 72 69 67 67 65 72 50 72 65 | .public.ButtonControl.triggerPre |
| 1d80 | 73 73 65 64 20 7b 20 67 65 74 3b 20 70 72 69 76 61 74 65 20 73 65 74 3b 20 7d 0d 0a 20 20 20 20 | ssed.{.get;.private.set;.}...... |
| 1da0 | 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 28 61 6c 69 61 73 65 73 20 3d 20 6e 65 77 5b | ....[InputControl(aliases.=.new[ |
| 1dc0 | 5d 20 7b 20 22 70 72 69 6d 61 72 79 22 20 7d 29 5d 0d 0a 20 20 20 20 20 20 20 20 5b 50 72 65 73 | ].{."primary".})]..........[Pres |
| 1de0 | 65 72 76 65 5d 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 42 75 74 74 6f 6e 43 6f 6e 74 | erve]..........public.ButtonCont |
| 1e00 | 72 6f 6c 20 6d 65 6e 75 20 7b 20 67 65 74 3b 20 70 72 69 76 61 74 65 20 73 65 74 3b 20 7d 0d 0a | rol.menu.{.get;.private.set;.}.. |
| 1e20 | 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 5d 0d 0a 20 20 20 20 20 20 | ..........[InputControl]........ |
| 1e40 | 20 20 5b 50 72 65 73 65 72 76 65 5d 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 41 78 69 | ..[Preserve]..........public.Axi |
| 1e60 | 73 43 6f 6e 74 72 6f 6c 20 74 72 69 67 67 65 72 20 7b 20 67 65 74 3b 20 70 72 69 76 61 74 65 20 | sControl.trigger.{.get;.private. |
| 1e80 | 73 65 74 3b 20 7d 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 5d 0d 0a | set;.}..........[InputControl].. |
| 1ea0 | 20 20 20 20 20 20 20 20 5b 50 72 65 73 65 72 76 65 5d 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c | ........[Preserve]..........publ |
| 1ec0 | 69 63 20 41 78 69 73 43 6f 6e 74 72 6f 6c 20 67 72 69 70 20 7b 20 67 65 74 3b 20 70 72 69 76 61 | ic.AxisControl.grip.{.get;.priva |
| 1ee0 | 74 65 20 73 65 74 3b 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 | te.set;.}............[InputContr |
| 1f00 | 6f 6c 28 61 6c 69 61 73 65 73 20 3d 20 6e 65 77 5b 5d 20 7b 20 22 73 65 63 6f 6e 64 61 72 79 32 | ol(aliases.=.new[].{."secondary2 |
| 1f20 | 44 41 78 69 73 22 20 7d 29 5d 0d 0a 20 20 20 20 20 20 20 20 5b 50 72 65 73 65 72 76 65 5d 0d 0a | DAxis".})]..........[Preserve].. |
| 1f40 | 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 56 65 63 74 6f 72 32 43 6f 6e 74 72 6f 6c 20 74 6f | ........public.Vector2Control.to |
| 1f60 | 75 63 68 70 61 64 20 7b 20 67 65 74 3b 20 70 72 69 76 61 74 65 20 73 65 74 3b 20 7d 0d 0a 20 20 | uchpad.{.get;.private.set;.}.... |
| 1f80 | 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 28 61 6c 69 61 73 65 73 20 3d 20 6e 65 | ......[InputControl(aliases.=.ne |
| 1fa0 | 77 5b 5d 20 7b 20 22 70 72 69 6d 61 72 79 32 44 41 78 69 73 22 20 7d 29 5d 0d 0a 20 20 20 20 20 | w[].{."primary2DAxis".})]....... |
| 1fc0 | 20 20 20 5b 50 72 65 73 65 72 76 65 5d 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 56 65 | ...[Preserve]..........public.Ve |
| 1fe0 | 63 74 6f 72 32 43 6f 6e 74 72 6f 6c 20 6a 6f 79 73 74 69 63 6b 20 7b 20 67 65 74 3b 20 70 72 69 | ctor2Control.joystick.{.get;.pri |
| 2000 | 76 61 74 65 20 73 65 74 3b 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 | vate.set;.}............protected |
| 2020 | 20 6f 76 65 72 72 69 64 65 20 76 6f 69 64 20 46 69 6e 69 73 68 53 65 74 75 70 28 29 0d 0a 20 20 | .override.void.FinishSetup().... |
| 2040 | 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 61 73 65 2e 46 69 6e 69 73 68 | ......{..............base.Finish |
| 2060 | 53 65 74 75 70 28 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 64 65 76 69 63 65 56 65 | Setup();................deviceVe |
| 2080 | 6c 6f 63 69 74 79 20 3d 20 47 65 74 43 68 69 6c 64 43 6f 6e 74 72 6f 6c 3c 56 65 63 74 6f 72 33 | locity.=.GetChildControl<Vector3 |
| 20a0 | 43 6f 6e 74 72 6f 6c 3e 28 22 64 65 76 69 63 65 56 65 6c 6f 63 69 74 79 22 29 3b 0d 0a 20 20 20 | Control>("deviceVelocity");..... |
| 20c0 | 20 20 20 20 20 20 20 20 20 64 65 76 69 63 65 41 6e 67 75 6c 61 72 56 65 6c 6f 63 69 74 79 20 3d | .........deviceAngularVelocity.= |
| 20e0 | 20 47 65 74 43 68 69 6c 64 43 6f 6e 74 72 6f 6c 3c 56 65 63 74 6f 72 33 43 6f 6e 74 72 6f 6c 3e | .GetChildControl<Vector3Control> |
| 2100 | 28 22 64 65 76 69 63 65 41 6e 67 75 6c 61 72 56 65 6c 6f 63 69 74 79 22 29 3b 0d 0a 0d 0a 20 20 | ("deviceAngularVelocity");...... |
| 2120 | 20 20 20 20 20 20 20 20 20 20 74 6f 75 63 68 70 61 64 43 6c 69 63 6b 20 3d 20 47 65 74 43 68 69 | ..........touchpadClick.=.GetChi |
| 2140 | 6c 64 43 6f 6e 74 72 6f 6c 3c 42 75 74 74 6f 6e 43 6f 6e 74 72 6f 6c 3e 28 22 74 6f 75 63 68 70 | ldControl<ButtonControl>("touchp |
| 2160 | 61 64 43 6c 69 63 6b 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 6f 75 63 68 70 61 64 | adClick");..............touchpad |
| 2180 | 54 6f 75 63 68 20 3d 20 47 65 74 43 68 69 6c 64 43 6f 6e 74 72 6f 6c 3c 42 75 74 74 6f 6e 43 6f | Touch.=.GetChildControl<ButtonCo |
| 21a0 | 6e 74 72 6f 6c 3e 28 22 74 6f 75 63 68 70 61 64 54 6f 75 63 68 22 29 3b 0d 0a 20 20 20 20 20 20 | ntrol>("touchpadTouch");........ |
| 21c0 | 20 20 20 20 20 20 67 72 69 70 50 72 65 73 73 65 64 20 3d 20 47 65 74 43 68 69 6c 64 43 6f 6e 74 | ......gripPressed.=.GetChildCont |
| 21e0 | 72 6f 6c 3c 42 75 74 74 6f 6e 43 6f 6e 74 72 6f 6c 3e 28 22 67 72 69 70 50 72 65 73 73 65 64 22 | rol<ButtonControl>("gripPressed" |
| 2200 | 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 72 69 67 67 65 72 50 72 65 73 73 65 64 20 3d | );..............triggerPressed.= |
| 2220 | 20 47 65 74 43 68 69 6c 64 43 6f 6e 74 72 6f 6c 3c 42 75 74 74 6f 6e 43 6f 6e 74 72 6f 6c 3e 28 | .GetChildControl<ButtonControl>( |
| 2240 | 22 74 72 69 67 67 65 72 50 72 65 73 73 65 64 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 | "triggerPressed");.............. |
| 2260 | 6d 65 6e 75 20 3d 20 47 65 74 43 68 69 6c 64 43 6f 6e 74 72 6f 6c 3c 42 75 74 74 6f 6e 43 6f 6e | menu.=.GetChildControl<ButtonCon |
| 2280 | 74 72 6f 6c 3e 28 22 6d 65 6e 75 22 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 72 | trol>("menu");................tr |
| 22a0 | 69 67 67 65 72 20 3d 20 47 65 74 43 68 69 6c 64 43 6f 6e 74 72 6f 6c 3c 41 78 69 73 43 6f 6e 74 | igger.=.GetChildControl<AxisCont |
| 22c0 | 72 6f 6c 3e 28 22 74 72 69 67 67 65 72 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 67 72 | rol>("trigger");..............gr |
| 22e0 | 69 70 20 3d 20 47 65 74 43 68 69 6c 64 43 6f 6e 74 72 6f 6c 3c 41 78 69 73 43 6f 6e 74 72 6f 6c | ip.=.GetChildControl<AxisControl |
| 2300 | 3e 28 22 67 72 69 70 22 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 6f 75 63 68 70 | >("grip");................touchp |
| 2320 | 61 64 20 3d 20 47 65 74 43 68 69 6c 64 43 6f 6e 74 72 6f 6c 3c 56 65 63 74 6f 72 32 43 6f 6e 74 | ad.=.GetChildControl<Vector2Cont |
| 2340 | 72 6f 6c 3e 28 22 74 6f 75 63 68 70 61 64 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6a | rol>("touchpad");..............j |
| 2360 | 6f 79 73 74 69 63 6b 20 3d 20 47 65 74 43 68 69 6c 64 43 6f 6e 74 72 6f 6c 3c 56 65 63 74 6f 72 | oystick.=.GetChildControl<Vector |
| 2380 | 32 43 6f 6e 74 72 6f 6c 3e 28 22 6a 6f 79 73 74 69 63 6b 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 | 2Control>("joystick");.......... |
| 23a0 | 7d 0d 0a 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0d 0a 20 | }......}........///.<summary>... |
| 23c0 | 20 20 20 2f 2f 2f 20 41 6e 20 48 54 43 20 56 69 76 65 20 57 61 6e 64 20 63 6f 6e 74 72 6f 6c 6c | ...///.An.HTC.Vive.Wand.controll |
| 23e0 | 65 72 2e 0d 0a 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 5b 49 6e | er.......///.</summary>......[In |
| 2400 | 70 75 74 43 6f 6e 74 72 6f 6c 4c 61 79 6f 75 74 28 64 69 73 70 6c 61 79 4e 61 6d 65 20 3d 20 22 | putControlLayout(displayName.=." |
| 2420 | 56 69 76 65 20 57 61 6e 64 22 2c 20 63 6f 6d 6d 6f 6e 55 73 61 67 65 73 20 3d 20 6e 65 77 5b 5d | Vive.Wand",.commonUsages.=.new[] |
| 2440 | 20 7b 20 22 4c 65 66 74 48 61 6e 64 22 2c 20 22 52 69 67 68 74 48 61 6e 64 22 20 7d 29 5d 0d 0a | .{."LeftHand",."RightHand".})].. |
| 2460 | 20 20 20 20 5b 50 72 65 73 65 72 76 65 5d 0d 0a 20 20 20 20 70 75 62 6c 69 63 20 63 6c 61 73 73 | ....[Preserve]......public.class |
| 2480 | 20 56 69 76 65 57 61 6e 64 20 3a 20 58 52 43 6f 6e 74 72 6f 6c 6c 65 72 57 69 74 68 52 75 6d 62 | .ViveWand.:.XRControllerWithRumb |
| 24a0 | 6c 65 0d 0a 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c | le......{..........[InputControl |
| 24c0 | 5d 0d 0a 20 20 20 20 20 20 20 20 5b 50 72 65 73 65 72 76 65 5d 0d 0a 20 20 20 20 20 20 20 20 70 | ]..........[Preserve]..........p |
| 24e0 | 75 62 6c 69 63 20 41 78 69 73 43 6f 6e 74 72 6f 6c 20 67 72 69 70 20 7b 20 67 65 74 3b 20 70 72 | ublic.AxisControl.grip.{.get;.pr |
| 2500 | 69 76 61 74 65 20 73 65 74 3b 20 7d 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 | ivate.set;.}..........[InputCont |
| 2520 | 72 6f 6c 5d 0d 0a 20 20 20 20 20 20 20 20 5b 50 72 65 73 65 72 76 65 5d 0d 0a 20 20 20 20 20 20 | rol]..........[Preserve]........ |
| 2540 | 20 20 70 75 62 6c 69 63 20 42 75 74 74 6f 6e 43 6f 6e 74 72 6f 6c 20 67 72 69 70 50 72 65 73 73 | ..public.ButtonControl.gripPress |
| 2560 | 65 64 20 7b 20 67 65 74 3b 20 70 72 69 76 61 74 65 20 73 65 74 3b 20 7d 0d 0a 20 20 20 20 20 20 | ed.{.get;.private.set;.}........ |
| 2580 | 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 5d 0d 0a 20 20 20 20 20 20 20 20 5b 50 72 65 73 65 | ..[InputControl]..........[Prese |
| 25a0 | 72 76 65 5d 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 42 75 74 74 6f 6e 43 6f 6e 74 72 | rve]..........public.ButtonContr |
| 25c0 | 6f 6c 20 70 72 69 6d 61 72 79 20 7b 20 67 65 74 3b 20 70 72 69 76 61 74 65 20 73 65 74 3b 20 7d | ol.primary.{.get;.private.set;.} |
| 25e0 | 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 28 61 6c 69 61 73 65 73 20 | ..........[InputControl(aliases. |
| 2600 | 3d 20 6e 65 77 5b 5d 20 7b 20 22 70 72 69 6d 61 72 79 32 44 41 78 69 73 43 6c 69 63 6b 22 2c 20 | =.new[].{."primary2DAxisClick",. |
| 2620 | 22 6a 6f 79 73 74 69 63 6b 4f 72 50 61 64 50 72 65 73 73 65 64 22 20 7d 29 5d 0d 0a 20 20 20 20 | "joystickOrPadPressed".})]...... |
| 2640 | 20 20 20 20 5b 50 72 65 73 65 72 76 65 5d 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 42 | ....[Preserve]..........public.B |
| 2660 | 75 74 74 6f 6e 43 6f 6e 74 72 6f 6c 20 74 72 61 63 6b 70 61 64 50 72 65 73 73 65 64 20 7b 20 67 | uttonControl.trackpadPressed.{.g |
| 2680 | 65 74 3b 20 70 72 69 76 61 74 65 20 73 65 74 3b 20 7d 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 | et;.private.set;.}..........[Inp |
| 26a0 | 75 74 43 6f 6e 74 72 6f 6c 28 61 6c 69 61 73 65 73 20 3d 20 6e 65 77 5b 5d 20 7b 20 22 70 72 69 | utControl(aliases.=.new[].{."pri |
| 26c0 | 6d 61 72 79 32 44 41 78 69 73 54 6f 75 63 68 22 2c 20 22 6a 6f 79 73 74 69 63 6b 4f 72 50 61 64 | mary2DAxisTouch",."joystickOrPad |
| 26e0 | 54 6f 75 63 68 65 64 22 20 7d 29 5d 0d 0a 20 20 20 20 20 20 20 20 5b 50 72 65 73 65 72 76 65 5d | Touched".})]..........[Preserve] |
| 2700 | 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 42 75 74 74 6f 6e 43 6f 6e 74 72 6f 6c 20 74 | ..........public.ButtonControl.t |
| 2720 | 72 61 63 6b 70 61 64 54 6f 75 63 68 65 64 20 7b 20 67 65 74 3b 20 70 72 69 76 61 74 65 20 73 65 | rackpadTouched.{.get;.private.se |
| 2740 | 74 3b 20 7d 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 28 61 6c 69 61 | t;.}..........[InputControl(alia |
| 2760 | 73 65 73 20 3d 20 6e 65 77 5b 5d 20 7b 20 22 50 72 69 6d 61 72 79 32 44 41 78 69 73 22 20 7d 29 | ses.=.new[].{."Primary2DAxis".}) |
| 2780 | 5d 0d 0a 20 20 20 20 20 20 20 20 5b 50 72 65 73 65 72 76 65 5d 0d 0a 20 20 20 20 20 20 20 20 70 | ]..........[Preserve]..........p |
| 27a0 | 75 62 6c 69 63 20 56 65 63 74 6f 72 32 43 6f 6e 74 72 6f 6c 20 74 72 61 63 6b 70 61 64 20 7b 20 | ublic.Vector2Control.trackpad.{. |
| 27c0 | 67 65 74 3b 20 70 72 69 76 61 74 65 20 73 65 74 3b 20 7d 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e | get;.private.set;.}..........[In |
| 27e0 | 70 75 74 43 6f 6e 74 72 6f 6c 5d 0d 0a 20 20 20 20 20 20 20 20 5b 50 72 65 73 65 72 76 65 5d 0d | putControl]..........[Preserve]. |
| 2800 | 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 41 78 69 73 43 6f 6e 74 72 6f 6c 20 74 72 69 67 | .........public.AxisControl.trig |
| 2820 | 67 65 72 20 7b 20 67 65 74 3b 20 70 72 69 76 61 74 65 20 73 65 74 3b 20 7d 0d 0a 20 20 20 20 20 | ger.{.get;.private.set;.}....... |
| 2840 | 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 5d 0d 0a 20 20 20 20 20 20 20 20 5b 50 72 65 73 | ...[InputControl]..........[Pres |
| 2860 | 65 72 76 65 5d 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 42 75 74 74 6f 6e 43 6f 6e 74 | erve]..........public.ButtonCont |
| 2880 | 72 6f 6c 20 74 72 69 67 67 65 72 50 72 65 73 73 65 64 20 7b 20 67 65 74 3b 20 70 72 69 76 61 74 | rol.triggerPressed.{.get;.privat |
| 28a0 | 65 20 73 65 74 3b 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f | e.set;.}............[InputContro |
| 28c0 | 6c 28 6e 6f 69 73 79 20 3d 20 74 72 75 65 29 5d 0d 0a 20 20 20 20 20 20 20 20 5b 50 72 65 73 65 | l(noisy.=.true)]..........[Prese |
| 28e0 | 72 76 65 5d 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 56 65 63 74 6f 72 33 43 6f 6e 74 | rve]..........public.Vector3Cont |
| 2900 | 72 6f 6c 20 64 65 76 69 63 65 56 65 6c 6f 63 69 74 79 20 7b 20 67 65 74 3b 20 70 72 69 76 61 74 | rol.deviceVelocity.{.get;.privat |
| 2920 | 65 20 73 65 74 3b 20 7d 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 28 | e.set;.}..........[InputControl( |
| 2940 | 6e 6f 69 73 79 20 3d 20 74 72 75 65 29 5d 0d 0a 20 20 20 20 20 20 20 20 5b 50 72 65 73 65 72 76 | noisy.=.true)]..........[Preserv |
| 2960 | 65 5d 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 56 65 63 74 6f 72 33 43 6f 6e 74 72 6f | e]..........public.Vector3Contro |
| 2980 | 6c 20 64 65 76 69 63 65 41 6e 67 75 6c 61 72 56 65 6c 6f 63 69 74 79 20 7b 20 67 65 74 3b 20 70 | l.deviceAngularVelocity.{.get;.p |
| 29a0 | 72 69 76 61 74 65 20 73 65 74 3b 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 | rivate.set;.}............protect |
| 29c0 | 65 64 20 6f 76 65 72 72 69 64 65 20 76 6f 69 64 20 46 69 6e 69 73 68 53 65 74 75 70 28 29 0d 0a | ed.override.void.FinishSetup().. |
| 29e0 | 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 61 73 65 2e 46 69 6e 69 | ........{..............base.Fini |
| 2a00 | 73 68 53 65 74 75 70 28 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 67 72 69 70 20 3d | shSetup();................grip.= |
| 2a20 | 20 47 65 74 43 68 69 6c 64 43 6f 6e 74 72 6f 6c 3c 41 78 69 73 43 6f 6e 74 72 6f 6c 3e 28 22 67 | .GetChildControl<AxisControl>("g |
| 2a40 | 72 69 70 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 72 69 6d 61 72 79 20 3d 20 47 65 | rip");..............primary.=.Ge |
| 2a60 | 74 43 68 69 6c 64 43 6f 6e 74 72 6f 6c 3c 42 75 74 74 6f 6e 43 6f 6e 74 72 6f 6c 3e 28 22 70 72 | tChildControl<ButtonControl>("pr |
| 2a80 | 69 6d 61 72 79 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 67 72 69 70 50 72 65 73 73 65 | imary");..............gripPresse |
| 2aa0 | 64 20 3d 20 47 65 74 43 68 69 6c 64 43 6f 6e 74 72 6f 6c 3c 42 75 74 74 6f 6e 43 6f 6e 74 72 6f | d.=.GetChildControl<ButtonContro |
| 2ac0 | 6c 3e 28 22 67 72 69 70 50 72 65 73 73 65 64 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 | l>("gripPressed");.............. |
| 2ae0 | 74 72 61 63 6b 70 61 64 50 72 65 73 73 65 64 20 3d 20 47 65 74 43 68 69 6c 64 43 6f 6e 74 72 6f | trackpadPressed.=.GetChildContro |
| 2b00 | 6c 3c 42 75 74 74 6f 6e 43 6f 6e 74 72 6f 6c 3e 28 22 74 72 61 63 6b 70 61 64 50 72 65 73 73 65 | l<ButtonControl>("trackpadPresse |
| 2b20 | 64 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 72 61 63 6b 70 61 64 54 6f 75 63 68 65 | d");..............trackpadTouche |
| 2b40 | 64 20 3d 20 47 65 74 43 68 69 6c 64 43 6f 6e 74 72 6f 6c 3c 42 75 74 74 6f 6e 43 6f 6e 74 72 6f | d.=.GetChildControl<ButtonContro |
| 2b60 | 6c 3e 28 22 74 72 61 63 6b 70 61 64 54 6f 75 63 68 65 64 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 | l>("trackpadTouched");.......... |
| 2b80 | 20 20 20 20 74 72 61 63 6b 70 61 64 20 3d 20 47 65 74 43 68 69 6c 64 43 6f 6e 74 72 6f 6c 3c 56 | ....trackpad.=.GetChildControl<V |
| 2ba0 | 65 63 74 6f 72 32 43 6f 6e 74 72 6f 6c 3e 28 22 74 72 61 63 6b 70 61 64 22 29 3b 0d 0a 20 20 20 | ector2Control>("trackpad");..... |
| 2bc0 | 20 20 20 20 20 20 20 20 20 74 72 69 67 67 65 72 20 3d 20 47 65 74 43 68 69 6c 64 43 6f 6e 74 72 | .........trigger.=.GetChildContr |
| 2be0 | 6f 6c 3c 41 78 69 73 43 6f 6e 74 72 6f 6c 3e 28 22 74 72 69 67 67 65 72 22 29 3b 0d 0a 20 20 20 | ol<AxisControl>("trigger");..... |
| 2c00 | 20 20 20 20 20 20 20 20 20 74 72 69 67 67 65 72 50 72 65 73 73 65 64 20 3d 20 47 65 74 43 68 69 | .........triggerPressed.=.GetChi |
| 2c20 | 6c 64 43 6f 6e 74 72 6f 6c 3c 42 75 74 74 6f 6e 43 6f 6e 74 72 6f 6c 3e 28 22 74 72 69 67 67 65 | ldControl<ButtonControl>("trigge |
| 2c40 | 72 50 72 65 73 73 65 64 22 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 64 65 76 69 63 | rPressed");................devic |
| 2c60 | 65 56 65 6c 6f 63 69 74 79 20 3d 20 47 65 74 43 68 69 6c 64 43 6f 6e 74 72 6f 6c 3c 56 65 63 74 | eVelocity.=.GetChildControl<Vect |
| 2c80 | 6f 72 33 43 6f 6e 74 72 6f 6c 3e 28 22 64 65 76 69 63 65 56 65 6c 6f 63 69 74 79 22 29 3b 0d 0a | or3Control>("deviceVelocity");.. |
| 2ca0 | 20 20 20 20 20 20 20 20 20 20 20 20 64 65 76 69 63 65 41 6e 67 75 6c 61 72 56 65 6c 6f 63 69 74 | ............deviceAngularVelocit |
| 2cc0 | 79 20 3d 20 47 65 74 43 68 69 6c 64 43 6f 6e 74 72 6f 6c 3c 56 65 63 74 6f 72 33 43 6f 6e 74 72 | y.=.GetChildControl<Vector3Contr |
| 2ce0 | 6f 6c 3e 28 22 64 65 76 69 63 65 41 6e 67 75 6c 61 72 56 65 6c 6f 63 69 74 79 22 29 3b 0d 0a 20 | ol>("deviceAngularVelocity");... |
| 2d00 | 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d | .......}......}........///.<summ |
| 2d20 | 61 72 79 3e 0d 0a 20 20 20 20 2f 2f 2f 20 41 6e 20 48 54 43 20 56 69 76 65 20 6c 69 67 68 74 68 | ary>......///.An.HTC.Vive.lighth |
| 2d40 | 6f 75 73 65 2e 0d 0a 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 5b | ouse.......///.</summary>......[ |
| 2d60 | 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 4c 61 79 6f 75 74 28 64 69 73 70 6c 61 79 4e 61 6d 65 20 3d | InputControlLayout(displayName.= |
| 2d80 | 20 22 56 69 76 65 20 4c 69 67 68 74 68 6f 75 73 65 22 29 5d 0d 0a 20 20 20 20 5b 50 72 65 73 65 | ."Vive.Lighthouse")]......[Prese |
| 2da0 | 72 76 65 5d 0d 0a 20 20 20 20 70 75 62 6c 69 63 20 63 6c 61 73 73 20 56 69 76 65 4c 69 67 68 74 | rve]......public.class.ViveLight |
| 2dc0 | 68 6f 75 73 65 20 3a 20 54 72 61 63 6b 65 64 44 65 76 69 63 65 0d 0a 20 20 20 20 7b 0d 0a 20 20 | house.:.TrackedDevice......{.... |
| 2de0 | 20 20 7d 0d 0a 0d 0a 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 2f 2f | ..}........///.<summary>......// |
| 2e00 | 2f 20 41 6e 20 48 54 43 20 56 69 76 65 20 74 72 61 63 6b 65 72 2e 0d 0a 20 20 20 20 2f 2f 2f 20 | /.An.HTC.Vive.tracker.......///. |
| 2e20 | 3c 2f 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 4c 61 79 | </summary>......[InputControlLay |
| 2e40 | 6f 75 74 28 64 69 73 70 6c 61 79 4e 61 6d 65 20 3d 20 22 56 69 76 65 20 54 72 61 63 6b 65 72 22 | out(displayName.=."Vive.Tracker" |
| 2e60 | 29 5d 0d 0a 20 20 20 20 5b 50 72 65 73 65 72 76 65 5d 0d 0a 20 20 20 20 70 75 62 6c 69 63 20 63 | )]......[Preserve]......public.c |
| 2e80 | 6c 61 73 73 20 56 69 76 65 54 72 61 63 6b 65 72 20 3a 20 54 72 61 63 6b 65 64 44 65 76 69 63 65 | lass.ViveTracker.:.TrackedDevice |
| 2ea0 | 0d 0a 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 28 6e | ......{..........[InputControl(n |
| 2ec0 | 6f 69 73 79 20 3d 20 74 72 75 65 29 5d 0d 0a 20 20 20 20 20 20 20 20 5b 50 72 65 73 65 72 76 65 | oisy.=.true)]..........[Preserve |
| 2ee0 | 5d 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 56 65 63 74 6f 72 33 43 6f 6e 74 72 6f 6c | ]..........public.Vector3Control |
| 2f00 | 20 64 65 76 69 63 65 56 65 6c 6f 63 69 74 79 20 7b 20 67 65 74 3b 20 70 72 69 76 61 74 65 20 73 | .deviceVelocity.{.get;.private.s |
| 2f20 | 65 74 3b 20 7d 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 28 6e 6f 69 | et;.}..........[InputControl(noi |
| 2f40 | 73 79 20 3d 20 74 72 75 65 29 5d 0d 0a 20 20 20 20 20 20 20 20 5b 50 72 65 73 65 72 76 65 5d 0d | sy.=.true)]..........[Preserve]. |
| 2f60 | 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 56 65 63 74 6f 72 33 43 6f 6e 74 72 6f 6c 20 64 | .........public.Vector3Control.d |
| 2f80 | 65 76 69 63 65 41 6e 67 75 6c 61 72 56 65 6c 6f 63 69 74 79 20 7b 20 67 65 74 3b 20 70 72 69 76 | eviceAngularVelocity.{.get;.priv |
| 2fa0 | 61 74 65 20 73 65 74 3b 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 | ate.set;.}............protected. |
| 2fc0 | 6f 76 65 72 72 69 64 65 20 76 6f 69 64 20 46 69 6e 69 73 68 53 65 74 75 70 28 29 0d 0a 20 20 20 | override.void.FinishSetup()..... |
| 2fe0 | 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 61 73 65 2e 46 69 6e 69 73 68 53 | .....{..............base.FinishS |
| 3000 | 65 74 75 70 28 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 64 65 76 69 63 65 56 65 6c | etup();................deviceVel |
| 3020 | 6f 63 69 74 79 20 3d 20 47 65 74 43 68 69 6c 64 43 6f 6e 74 72 6f 6c 3c 56 65 63 74 6f 72 33 43 | ocity.=.GetChildControl<Vector3C |
| 3040 | 6f 6e 74 72 6f 6c 3e 28 22 64 65 76 69 63 65 56 65 6c 6f 63 69 74 79 22 29 3b 0d 0a 20 20 20 20 | ontrol>("deviceVelocity");...... |
| 3060 | 20 20 20 20 20 20 20 20 64 65 76 69 63 65 41 6e 67 75 6c 61 72 56 65 6c 6f 63 69 74 79 20 3d 20 | ........deviceAngularVelocity.=. |
| 3080 | 47 65 74 43 68 69 6c 64 43 6f 6e 74 72 6f 6c 3c 56 65 63 74 6f 72 33 43 6f 6e 74 72 6f 6c 3e 28 | GetChildControl<Vector3Control>( |
| 30a0 | 22 64 65 76 69 63 65 41 6e 67 75 6c 61 72 56 65 6c 6f 63 69 74 79 22 29 3b 0d 0a 20 20 20 20 20 | "deviceAngularVelocity");....... |
| 30c0 | 20 20 20 7d 0d 0a 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c | ...}......}........[InputControl |
| 30e0 | 4c 61 79 6f 75 74 28 64 69 73 70 6c 61 79 4e 61 6d 65 20 3d 20 22 48 61 6e 64 65 64 20 56 69 76 | Layout(displayName.=."Handed.Viv |
| 3100 | 65 20 54 72 61 63 6b 65 72 22 2c 20 63 6f 6d 6d 6f 6e 55 73 61 67 65 73 20 3d 20 6e 65 77 5b 5d | e.Tracker",.commonUsages.=.new[] |
| 3120 | 20 7b 20 22 4c 65 66 74 48 61 6e 64 22 2c 20 22 52 69 67 68 74 48 61 6e 64 22 20 7d 29 5d 0d 0a | .{."LeftHand",."RightHand".})].. |
| 3140 | 20 20 20 20 5b 50 72 65 73 65 72 76 65 5d 0d 0a 20 20 20 20 70 75 62 6c 69 63 20 63 6c 61 73 73 | ....[Preserve]......public.class |
| 3160 | 20 48 61 6e 64 65 64 56 69 76 65 54 72 61 63 6b 65 72 20 3a 20 56 69 76 65 54 72 61 63 6b 65 72 | .HandedViveTracker.:.ViveTracker |
| 3180 | 0d 0a 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 5d 0d | ......{..........[InputControl]. |
| 31a0 | 0a 20 20 20 20 20 20 20 20 5b 50 72 65 73 65 72 76 65 5d 0d 0a 20 20 20 20 20 20 20 20 70 75 62 | .........[Preserve]..........pub |
| 31c0 | 6c 69 63 20 41 78 69 73 43 6f 6e 74 72 6f 6c 20 67 72 69 70 20 7b 20 67 65 74 3b 20 70 72 69 76 | lic.AxisControl.grip.{.get;.priv |
| 31e0 | 61 74 65 20 73 65 74 3b 20 7d 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f | ate.set;.}..........[InputContro |
| 3200 | 6c 5d 0d 0a 20 20 20 20 20 20 20 20 5b 50 72 65 73 65 72 76 65 5d 0d 0a 20 20 20 20 20 20 20 20 | l]..........[Preserve].......... |
| 3220 | 70 75 62 6c 69 63 20 42 75 74 74 6f 6e 43 6f 6e 74 72 6f 6c 20 67 72 69 70 50 72 65 73 73 65 64 | public.ButtonControl.gripPressed |
| 3240 | 20 7b 20 67 65 74 3b 20 70 72 69 76 61 74 65 20 73 65 74 3b 20 7d 0d 0a 20 20 20 20 20 20 20 20 | .{.get;.private.set;.}.......... |
| 3260 | 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 5d 0d 0a 20 20 20 20 20 20 20 20 5b 50 72 65 73 65 72 76 | [InputControl]..........[Preserv |
| 3280 | 65 5d 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 42 75 74 74 6f 6e 43 6f 6e 74 72 6f 6c | e]..........public.ButtonControl |
| 32a0 | 20 70 72 69 6d 61 72 79 20 7b 20 67 65 74 3b 20 70 72 69 76 61 74 65 20 73 65 74 3b 20 7d 0d 0a | .primary.{.get;.private.set;.}.. |
| 32c0 | 20 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 28 61 6c 69 61 73 65 73 20 3d 20 | ........[InputControl(aliases.=. |
| 32e0 | 6e 65 77 5b 5d 20 7b 20 22 4a 6f 79 73 74 69 63 6b 4f 72 50 61 64 50 72 65 73 73 65 64 22 20 7d | new[].{."JoystickOrPadPressed".} |
| 3300 | 29 5d 0d 0a 20 20 20 20 20 20 20 20 5b 50 72 65 73 65 72 76 65 5d 0d 0a 20 20 20 20 20 20 20 20 | )]..........[Preserve].......... |
| 3320 | 70 75 62 6c 69 63 20 42 75 74 74 6f 6e 43 6f 6e 74 72 6f 6c 20 74 72 61 63 6b 70 61 64 50 72 65 | public.ButtonControl.trackpadPre |
| 3340 | 73 73 65 64 20 7b 20 67 65 74 3b 20 70 72 69 76 61 74 65 20 73 65 74 3b 20 7d 0d 0a 20 20 20 20 | ssed.{.get;.private.set;.}...... |
| 3360 | 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 5d 0d 0a 20 20 20 20 20 20 20 20 5b 50 72 65 | ....[InputControl]..........[Pre |
| 3380 | 73 65 72 76 65 5d 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 42 75 74 74 6f 6e 43 6f 6e | serve]..........public.ButtonCon |
| 33a0 | 74 72 6f 6c 20 74 72 69 67 67 65 72 50 72 65 73 73 65 64 20 7b 20 67 65 74 3b 20 70 72 69 76 61 | trol.triggerPressed.{.get;.priva |
| 33c0 | 74 65 20 73 65 74 3b 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 6f | te.set;.}............protected.o |
| 33e0 | 76 65 72 72 69 64 65 20 76 6f 69 64 20 46 69 6e 69 73 68 53 65 74 75 70 28 29 0d 0a 20 20 20 20 | verride.void.FinishSetup()...... |
| 3400 | 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 67 72 69 70 20 3d 20 47 65 74 43 68 69 | ....{..............grip.=.GetChi |
| 3420 | 6c 64 43 6f 6e 74 72 6f 6c 3c 41 78 69 73 43 6f 6e 74 72 6f 6c 3e 28 22 67 72 69 70 22 29 3b 0d | ldControl<AxisControl>("grip");. |
| 3440 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 72 69 6d 61 72 79 20 3d 20 47 65 74 43 68 69 6c 64 43 | .............primary.=.GetChildC |
| 3460 | 6f 6e 74 72 6f 6c 3c 42 75 74 74 6f 6e 43 6f 6e 74 72 6f 6c 3e 28 22 70 72 69 6d 61 72 79 22 29 | ontrol<ButtonControl>("primary") |
| 3480 | 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 67 72 69 70 50 72 65 73 73 65 64 20 3d 20 47 65 74 | ;..............gripPressed.=.Get |
| 34a0 | 43 68 69 6c 64 43 6f 6e 74 72 6f 6c 3c 42 75 74 74 6f 6e 43 6f 6e 74 72 6f 6c 3e 28 22 67 72 69 | ChildControl<ButtonControl>("gri |
| 34c0 | 70 50 72 65 73 73 65 64 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 72 61 63 6b 70 61 | pPressed");..............trackpa |
| 34e0 | 64 50 72 65 73 73 65 64 20 3d 20 47 65 74 43 68 69 6c 64 43 6f 6e 74 72 6f 6c 3c 42 75 74 74 6f | dPressed.=.GetChildControl<Butto |
| 3500 | 6e 43 6f 6e 74 72 6f 6c 3e 28 22 74 72 61 63 6b 70 61 64 50 72 65 73 73 65 64 22 29 3b 0d 0a 20 | nControl>("trackpadPressed");... |
| 3520 | 20 20 20 20 20 20 20 20 20 20 20 74 72 69 67 67 65 72 50 72 65 73 73 65 64 20 3d 20 47 65 74 43 | ...........triggerPressed.=.GetC |
| 3540 | 68 69 6c 64 43 6f 6e 74 72 6f 6c 3c 42 75 74 74 6f 6e 43 6f 6e 74 72 6f 6c 3e 28 22 74 72 69 67 | hildControl<ButtonControl>("trig |
| 3560 | 67 65 72 50 72 65 73 73 65 64 22 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 61 73 | gerPressed");................bas |
| 3580 | 65 2e 46 69 6e 69 73 68 53 65 74 75 70 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 | e.FinishSetup();..........}..... |
| 35a0 | 20 7d 0d 0a 0d 0a 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 2f 2f 2f | .}........///.<summary>....../// |
| 35c0 | 20 41 6e 20 4f 63 75 6c 75 73 20 54 6f 75 63 68 20 63 6f 6e 74 72 6f 6c 6c 65 72 2e 0d 0a 20 20 | .An.Oculus.Touch.controller..... |
| 35e0 | 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 | ..///.</summary>......[InputCont |
| 3600 | 72 6f 6c 4c 61 79 6f 75 74 28 64 69 73 70 6c 61 79 4e 61 6d 65 20 3d 20 22 4f 63 75 6c 75 73 20 | rolLayout(displayName.=."Oculus. |
| 3620 | 54 6f 75 63 68 20 43 6f 6e 74 72 6f 6c 6c 65 72 20 28 4f 70 65 6e 56 52 29 22 2c 20 63 6f 6d 6d | Touch.Controller.(OpenVR)",.comm |
| 3640 | 6f 6e 55 73 61 67 65 73 20 3d 20 6e 65 77 5b 5d 20 7b 20 22 4c 65 66 74 48 61 6e 64 22 2c 20 22 | onUsages.=.new[].{."LeftHand",." |
| 3660 | 52 69 67 68 74 48 61 6e 64 22 20 7d 29 5d 0d 0a 20 20 20 20 5b 50 72 65 73 65 72 76 65 5d 0d 0a | RightHand".})]......[Preserve].. |
| 3680 | 20 20 20 20 70 75 62 6c 69 63 20 63 6c 61 73 73 20 4f 70 65 6e 56 52 4f 63 75 6c 75 73 54 6f 75 | ....public.class.OpenVROculusTou |
| 36a0 | 63 68 43 6f 6e 74 72 6f 6c 6c 65 72 20 3a 20 58 52 43 6f 6e 74 72 6f 6c 6c 65 72 57 69 74 68 52 | chController.:.XRControllerWithR |
| 36c0 | 75 6d 62 6c 65 0d 0a 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 | umble......{..........[InputCont |
| 36e0 | 72 6f 6c 5d 0d 0a 20 20 20 20 20 20 20 20 5b 50 72 65 73 65 72 76 65 5d 0d 0a 20 20 20 20 20 20 | rol]..........[Preserve]........ |
| 3700 | 20 20 70 75 62 6c 69 63 20 56 65 63 74 6f 72 32 43 6f 6e 74 72 6f 6c 20 74 68 75 6d 62 73 74 69 | ..public.Vector2Control.thumbsti |
| 3720 | 63 6b 20 7b 20 67 65 74 3b 20 70 72 69 76 61 74 65 20 73 65 74 3b 20 7d 0d 0a 0d 0a 20 20 20 20 | ck.{.get;.private.set;.}........ |
| 3740 | 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 5d 0d 0a 20 20 20 20 20 20 20 20 5b 50 72 65 | ....[InputControl]..........[Pre |
| 3760 | 73 65 72 76 65 5d 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 41 78 69 73 43 6f 6e 74 72 | serve]..........public.AxisContr |
| 3780 | 6f 6c 20 74 72 69 67 67 65 72 20 7b 20 67 65 74 3b 20 70 72 69 76 61 74 65 20 73 65 74 3b 20 7d | ol.trigger.{.get;.private.set;.} |
| 37a0 | 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 5d 0d 0a 20 20 20 20 20 20 | ..........[InputControl]........ |
| 37c0 | 20 20 5b 50 72 65 73 65 72 76 65 5d 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 41 78 69 | ..[Preserve]..........public.Axi |
| 37e0 | 73 43 6f 6e 74 72 6f 6c 20 67 72 69 70 20 7b 20 67 65 74 3b 20 70 72 69 76 61 74 65 20 73 65 74 | sControl.grip.{.get;.private.set |
| 3800 | 3b 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 2f 2f 20 50 72 69 6d 61 72 79 20 26 20 53 65 63 6f | ;.}............//.Primary.&.Seco |
| 3820 | 6e 64 61 72 79 20 61 72 65 20 73 77 69 74 63 68 65 64 20 69 6e 20 6f 72 64 65 72 20 74 6f 20 72 | ndary.are.switched.in.order.to.r |
| 3840 | 65 74 61 69 6e 20 63 6f 6e 73 69 73 74 65 6e 63 79 20 77 69 74 68 20 74 68 65 20 4f 63 75 6c 75 | etain.consistency.with.the.Oculu |
| 3860 | 73 20 53 44 4b 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 28 61 6c 69 | s.SDK..........[InputControl(ali |
| 3880 | 61 73 65 73 20 3d 20 6e 65 77 5b 5d 20 7b 20 22 41 6c 74 65 72 6e 61 74 65 22 20 7d 29 5d 0d 0a | ases.=.new[].{."Alternate".})].. |
| 38a0 | 20 20 20 20 20 20 20 20 5b 50 72 65 73 65 72 76 65 5d 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c | ........[Preserve]..........publ |
| 38c0 | 69 63 20 42 75 74 74 6f 6e 43 6f 6e 74 72 6f 6c 20 70 72 69 6d 61 72 79 42 75 74 74 6f 6e 20 7b | ic.ButtonControl.primaryButton.{ |
| 38e0 | 20 67 65 74 3b 20 70 72 69 76 61 74 65 20 73 65 74 3b 20 7d 0d 0a 20 20 20 20 20 20 20 20 5b 49 | .get;.private.set;.}..........[I |
| 3900 | 6e 70 75 74 43 6f 6e 74 72 6f 6c 28 61 6c 69 61 73 65 73 20 3d 20 6e 65 77 5b 5d 20 7b 20 22 50 | nputControl(aliases.=.new[].{."P |
| 3920 | 72 69 6d 61 72 79 22 20 7d 29 5d 0d 0a 20 20 20 20 20 20 20 20 5b 50 72 65 73 65 72 76 65 5d 0d | rimary".})]..........[Preserve]. |
| 3940 | 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 42 75 74 74 6f 6e 43 6f 6e 74 72 6f 6c 20 73 65 | .........public.ButtonControl.se |
| 3960 | 63 6f 6e 64 61 72 79 42 75 74 74 6f 6e 20 7b 20 67 65 74 3b 20 70 72 69 76 61 74 65 20 73 65 74 | condaryButton.{.get;.private.set |
| 3980 | 3b 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 5d 0d 0a 20 | ;.}............[InputControl]... |
| 39a0 | 20 20 20 20 20 20 20 5b 50 72 65 73 65 72 76 65 5d 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 | .......[Preserve]..........publi |
| 39c0 | 63 20 42 75 74 74 6f 6e 43 6f 6e 74 72 6f 6c 20 67 72 69 70 50 72 65 73 73 65 64 20 7b 20 67 65 | c.ButtonControl.gripPressed.{.ge |
| 39e0 | 74 3b 20 70 72 69 76 61 74 65 20 73 65 74 3b 20 7d 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 75 | t;.private.set;.}..........[Inpu |
| 3a00 | 74 43 6f 6e 74 72 6f 6c 28 29 5d 0d 0a 20 20 20 20 20 20 20 20 5b 50 72 65 73 65 72 76 65 5d 0d | tControl()]..........[Preserve]. |
| 3a20 | 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 42 75 74 74 6f 6e 43 6f 6e 74 72 6f 6c 20 74 72 | .........public.ButtonControl.tr |
| 3a40 | 69 67 67 65 72 50 72 65 73 73 65 64 20 7b 20 67 65 74 3b 20 70 72 69 76 61 74 65 20 73 65 74 3b | iggerPressed.{.get;.private.set; |
| 3a60 | 20 7d 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 28 61 6c 69 61 73 65 | .}..........[InputControl(aliase |
| 3a80 | 73 20 3d 20 6e 65 77 5b 5d 20 7b 20 22 70 72 69 6d 61 72 79 32 44 41 78 69 73 43 6c 69 63 6b 65 | s.=.new[].{."primary2DAxisClicke |
| 3aa0 | 64 22 20 7d 29 5d 0d 0a 20 20 20 20 20 20 20 20 5b 50 72 65 73 65 72 76 65 5d 0d 0a 20 20 20 20 | d".})]..........[Preserve]...... |
| 3ac0 | 20 20 20 20 70 75 62 6c 69 63 20 42 75 74 74 6f 6e 43 6f 6e 74 72 6f 6c 20 74 68 75 6d 62 73 74 | ....public.ButtonControl.thumbst |
| 3ae0 | 69 63 6b 43 6c 69 63 6b 65 64 20 7b 20 67 65 74 3b 20 70 72 69 76 61 74 65 20 73 65 74 3b 20 7d | ickClicked.{.get;.private.set;.} |
| 3b00 | 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 28 61 6c 69 61 73 65 73 20 | ..........[InputControl(aliases. |
| 3b20 | 3d 20 6e 65 77 5b 5d 20 7b 20 22 70 72 69 6d 61 72 79 32 44 41 78 69 73 54 6f 75 63 68 22 20 7d | =.new[].{."primary2DAxisTouch".} |
| 3b40 | 29 5d 0d 0a 20 20 20 20 20 20 20 20 5b 50 72 65 73 65 72 76 65 5d 0d 0a 20 20 20 20 20 20 20 20 | )]..........[Preserve].......... |
| 3b60 | 70 75 62 6c 69 63 20 42 75 74 74 6f 6e 43 6f 6e 74 72 6f 6c 20 74 68 75 6d 62 73 74 69 63 6b 54 | public.ButtonControl.thumbstickT |
| 3b80 | 6f 75 63 68 65 64 20 7b 20 67 65 74 3b 20 70 72 69 76 61 74 65 20 73 65 74 3b 20 7d 0d 0a 0d 0a | ouched.{.get;.private.set;.}.... |
| 3ba0 | 20 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 28 6e 6f 69 73 79 20 3d 20 74 72 | ........[InputControl(noisy.=.tr |
| 3bc0 | 75 65 29 5d 0d 0a 20 20 20 20 20 20 20 20 5b 50 72 65 73 65 72 76 65 5d 0d 0a 20 20 20 20 20 20 | ue)]..........[Preserve]........ |
| 3be0 | 20 20 70 75 62 6c 69 63 20 56 65 63 74 6f 72 33 43 6f 6e 74 72 6f 6c 20 64 65 76 69 63 65 56 65 | ..public.Vector3Control.deviceVe |
| 3c00 | 6c 6f 63 69 74 79 20 7b 20 67 65 74 3b 20 70 72 69 76 61 74 65 20 73 65 74 3b 20 7d 0d 0a 20 20 | locity.{.get;.private.set;.}.... |
| 3c20 | 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 28 6e 6f 69 73 79 20 3d 20 74 72 75 65 | ......[InputControl(noisy.=.true |
| 3c40 | 29 5d 0d 0a 20 20 20 20 20 20 20 20 5b 50 72 65 73 65 72 76 65 5d 0d 0a 20 20 20 20 20 20 20 20 | )]..........[Preserve].......... |
| 3c60 | 70 75 62 6c 69 63 20 56 65 63 74 6f 72 33 43 6f 6e 74 72 6f 6c 20 64 65 76 69 63 65 41 6e 67 75 | public.Vector3Control.deviceAngu |
| 3c80 | 6c 61 72 56 65 6c 6f 63 69 74 79 20 7b 20 67 65 74 3b 20 70 72 69 76 61 74 65 20 73 65 74 3b 20 | larVelocity.{.get;.private.set;. |
| 3ca0 | 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 6f 76 65 72 72 69 64 65 20 | }............protected.override. |
| 3cc0 | 76 6f 69 64 20 46 69 6e 69 73 68 53 65 74 75 70 28 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 | void.FinishSetup()..........{... |
| 3ce0 | 20 20 20 20 20 20 20 20 20 20 20 62 61 73 65 2e 46 69 6e 69 73 68 53 65 74 75 70 28 29 3b 0d 0a | ...........base.FinishSetup();.. |
| 3d00 | 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 75 6d 62 73 74 69 63 6b 20 3d 20 47 65 74 43 68 | ..............thumbstick.=.GetCh |
| 3d20 | 69 6c 64 43 6f 6e 74 72 6f 6c 3c 56 65 63 74 6f 72 32 43 6f 6e 74 72 6f 6c 3e 28 22 74 68 75 6d | ildControl<Vector2Control>("thum |
| 3d40 | 62 73 74 69 63 6b 22 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 72 69 67 67 65 72 | bstick");................trigger |
| 3d60 | 20 3d 20 47 65 74 43 68 69 6c 64 43 6f 6e 74 72 6f 6c 3c 41 78 69 73 43 6f 6e 74 72 6f 6c 3e 28 | .=.GetChildControl<AxisControl>( |
| 3d80 | 22 74 72 69 67 67 65 72 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 67 72 69 70 20 3d 20 | "trigger");..............grip.=. |
| 3da0 | 47 65 74 43 68 69 6c 64 43 6f 6e 74 72 6f 6c 3c 41 78 69 73 43 6f 6e 74 72 6f 6c 3e 28 22 67 72 | GetChildControl<AxisControl>("gr |
| 3dc0 | 69 70 22 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 72 69 6d 61 72 79 42 75 74 74 | ip");................primaryButt |
| 3de0 | 6f 6e 20 3d 20 47 65 74 43 68 69 6c 64 43 6f 6e 74 72 6f 6c 3c 42 75 74 74 6f 6e 43 6f 6e 74 72 | on.=.GetChildControl<ButtonContr |
| 3e00 | 6f 6c 3e 28 22 70 72 69 6d 61 72 79 42 75 74 74 6f 6e 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 | ol>("primaryButton");........... |
| 3e20 | 20 20 20 73 65 63 6f 6e 64 61 72 79 42 75 74 74 6f 6e 20 3d 20 47 65 74 43 68 69 6c 64 43 6f 6e | ...secondaryButton.=.GetChildCon |
| 3e40 | 74 72 6f 6c 3c 42 75 74 74 6f 6e 43 6f 6e 74 72 6f 6c 3e 28 22 73 65 63 6f 6e 64 61 72 79 42 75 | trol<ButtonControl>("secondaryBu |
| 3e60 | 74 74 6f 6e 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 67 72 69 70 50 72 65 73 73 65 64 | tton");..............gripPressed |
| 3e80 | 20 3d 20 47 65 74 43 68 69 6c 64 43 6f 6e 74 72 6f 6c 3c 42 75 74 74 6f 6e 43 6f 6e 74 72 6f 6c | .=.GetChildControl<ButtonControl |
| 3ea0 | 3e 28 22 67 72 69 70 50 72 65 73 73 65 64 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 | >("gripPressed");..............t |
| 3ec0 | 68 75 6d 62 73 74 69 63 6b 43 6c 69 63 6b 65 64 20 3d 20 47 65 74 43 68 69 6c 64 43 6f 6e 74 72 | humbstickClicked.=.GetChildContr |
| 3ee0 | 6f 6c 3c 42 75 74 74 6f 6e 43 6f 6e 74 72 6f 6c 3e 28 22 74 68 75 6d 62 73 74 69 63 6b 43 6c 69 | ol<ButtonControl>("thumbstickCli |
| 3f00 | 63 6b 65 64 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 68 75 6d 62 73 74 69 63 6b 54 | cked");..............thumbstickT |
| 3f20 | 6f 75 63 68 65 64 20 3d 20 47 65 74 43 68 69 6c 64 43 6f 6e 74 72 6f 6c 3c 42 75 74 74 6f 6e 43 | ouched.=.GetChildControl<ButtonC |
| 3f40 | 6f 6e 74 72 6f 6c 3e 28 22 74 68 75 6d 62 73 74 69 63 6b 54 6f 75 63 68 65 64 22 29 3b 0d 0a 20 | ontrol>("thumbstickTouched");... |
| 3f60 | 20 20 20 20 20 20 20 20 20 20 20 74 72 69 67 67 65 72 50 72 65 73 73 65 64 20 3d 20 47 65 74 43 | ...........triggerPressed.=.GetC |
| 3f80 | 68 69 6c 64 43 6f 6e 74 72 6f 6c 3c 42 75 74 74 6f 6e 43 6f 6e 74 72 6f 6c 3e 28 22 74 72 69 67 | hildControl<ButtonControl>("trig |
| 3fa0 | 67 65 72 50 72 65 73 73 65 64 22 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 64 65 76 | gerPressed");................dev |
| 3fc0 | 69 63 65 56 65 6c 6f 63 69 74 79 20 3d 20 47 65 74 43 68 69 6c 64 43 6f 6e 74 72 6f 6c 3c 56 65 | iceVelocity.=.GetChildControl<Ve |
| 3fe0 | 63 74 6f 72 33 43 6f 6e 74 72 6f 6c 3e 28 22 64 65 76 69 63 65 56 65 6c 6f 63 69 74 79 22 29 3b | ctor3Control>("deviceVelocity"); |
| 4000 | 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 64 65 76 69 63 65 41 6e 67 75 6c 61 72 56 65 6c 6f 63 | ..............deviceAngularVeloc |
| 4020 | 69 74 79 20 3d 20 47 65 74 43 68 69 6c 64 43 6f 6e 74 72 6f 6c 3c 56 65 63 74 6f 72 33 43 6f 6e | ity.=.GetChildControl<Vector3Con |
| 4040 | 74 72 6f 6c 3e 28 22 64 65 76 69 63 65 41 6e 67 75 6c 61 72 56 65 6c 6f 63 69 74 79 22 29 3b 0d | trol>("deviceAngularVelocity");. |
| 4060 | 0a 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 7d 0d 0a 7d 0d 0a 23 65 6e 64 69 66 0d 0a 00 00 | .........}......}..}..#endif.... |
| 4080 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 06 00 00 00 4f 70 65 6e 56 52 00 00 | ........................OpenVR.. |
| 40a0 | 00 00 00 00 | .... |