Création d'un petit party-game anonyme de Build + Bagar sous Unity
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

Controls.inputactions 15KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408
  1. {
  2. "name": "Controls",
  3. "maps": [
  4. {
  5. "name": "Player",
  6. "id": "550a94df-cccb-4beb-9873-90bf2f4f61a1",
  7. "actions": [
  8. {
  9. "name": "Movement",
  10. "type": "Value",
  11. "id": "7d6a4d64-5d25-4d85-9a46-c5296c05096b",
  12. "expectedControlType": "Vector2",
  13. "processors": "",
  14. "interactions": ""
  15. },
  16. {
  17. "name": "Look",
  18. "type": "Value",
  19. "id": "f8e8a1ac-6c91-426a-ae3e-aac0b2ec831e",
  20. "expectedControlType": "Vector2",
  21. "processors": "",
  22. "interactions": ""
  23. },
  24. {
  25. "name": "Place Block",
  26. "type": "Button",
  27. "id": "4b7ab0aa-cda3-4160-a713-27c305d29dcd",
  28. "expectedControlType": "Button",
  29. "processors": "",
  30. "interactions": ""
  31. },
  32. {
  33. "name": "Toggle Preview Mode",
  34. "type": "Value",
  35. "id": "eb19afaa-83cb-48ec-8718-af2ea48a9bc8",
  36. "expectedControlType": "Button",
  37. "processors": "",
  38. "interactions": ""
  39. },
  40. {
  41. "name": "Sprint",
  42. "type": "Value",
  43. "id": "ad65292f-dcff-4d57-b698-482297345782",
  44. "expectedControlType": "Button",
  45. "processors": "",
  46. "interactions": ""
  47. },
  48. {
  49. "name": "Enter Rotate Block",
  50. "type": "Button",
  51. "id": "b22358ff-4b1a-4885-b252-f3f61eb2e897",
  52. "expectedControlType": "Button",
  53. "processors": "",
  54. "interactions": "Press"
  55. },
  56. {
  57. "name": "Exit Rotate Block",
  58. "type": "Button",
  59. "id": "38b2fbd1-ab2b-49f0-b20c-12ede099fd44",
  60. "expectedControlType": "Button",
  61. "processors": "",
  62. "interactions": "Press(behavior=1)"
  63. },
  64. {
  65. "name": "Rotate Block",
  66. "type": "PassThrough",
  67. "id": "83900c91-8eb5-4324-aed3-52d0adf00fad",
  68. "expectedControlType": "Vector2",
  69. "processors": "",
  70. "interactions": ""
  71. }
  72. ],
  73. "bindings": [
  74. {
  75. "name": "Arrows",
  76. "id": "b17dd930-9d59-47c5-8167-275a864dea8c",
  77. "path": "2DVector",
  78. "interactions": "",
  79. "processors": "",
  80. "groups": "",
  81. "action": "Movement",
  82. "isComposite": true,
  83. "isPartOfComposite": false
  84. },
  85. {
  86. "name": "up",
  87. "id": "23a3e4f1-9ec3-49b5-b52e-8d152c0036a3",
  88. "path": "<Keyboard>/upArrow",
  89. "interactions": "",
  90. "processors": "",
  91. "groups": "",
  92. "action": "Movement",
  93. "isComposite": false,
  94. "isPartOfComposite": true
  95. },
  96. {
  97. "name": "down",
  98. "id": "85dd8816-7746-4fbd-a345-a42c9011bce4",
  99. "path": "<Keyboard>/downArrow",
  100. "interactions": "",
  101. "processors": "",
  102. "groups": "",
  103. "action": "Movement",
  104. "isComposite": false,
  105. "isPartOfComposite": true
  106. },
  107. {
  108. "name": "left",
  109. "id": "3ffebb75-1982-4567-82aa-97f1f6a8e915",
  110. "path": "<Keyboard>/leftArrow",
  111. "interactions": "",
  112. "processors": "",
  113. "groups": "",
  114. "action": "Movement",
  115. "isComposite": false,
  116. "isPartOfComposite": true
  117. },
  118. {
  119. "name": "right",
  120. "id": "ab52d431-904a-4b0b-a12b-52de565a9b39",
  121. "path": "<Keyboard>/rightArrow",
  122. "interactions": "",
  123. "processors": "",
  124. "groups": "",
  125. "action": "Movement",
  126. "isComposite": false,
  127. "isPartOfComposite": true
  128. },
  129. {
  130. "name": "WASD",
  131. "id": "437251c2-ab5e-4ecd-9da0-054532ba3060",
  132. "path": "2DVector",
  133. "interactions": "",
  134. "processors": "",
  135. "groups": "",
  136. "action": "Movement",
  137. "isComposite": true,
  138. "isPartOfComposite": false
  139. },
  140. {
  141. "name": "up",
  142. "id": "b69f7258-14ce-4041-aba3-8c569de69dc7",
  143. "path": "<Keyboard>/w",
  144. "interactions": "",
  145. "processors": "",
  146. "groups": "",
  147. "action": "Movement",
  148. "isComposite": false,
  149. "isPartOfComposite": true
  150. },
  151. {
  152. "name": "down",
  153. "id": "65c57866-904c-45d0-b16c-1454bd2597e2",
  154. "path": "<Keyboard>/s",
  155. "interactions": "",
  156. "processors": "",
  157. "groups": "",
  158. "action": "Movement",
  159. "isComposite": false,
  160. "isPartOfComposite": true
  161. },
  162. {
  163. "name": "left",
  164. "id": "c61cc306-727b-4470-b581-d2c472ada66e",
  165. "path": "<Keyboard>/a",
  166. "interactions": "",
  167. "processors": "",
  168. "groups": "",
  169. "action": "Movement",
  170. "isComposite": false,
  171. "isPartOfComposite": true
  172. },
  173. {
  174. "name": "right",
  175. "id": "0813b56f-d53f-4bd1-bae8-2e7cfb4f644f",
  176. "path": "<Keyboard>/d",
  177. "interactions": "",
  178. "processors": "",
  179. "groups": "",
  180. "action": "Movement",
  181. "isComposite": false,
  182. "isPartOfComposite": true
  183. },
  184. {
  185. "name": "LeftStick",
  186. "id": "cb6bfab6-d59d-440d-9b84-e96befd5162a",
  187. "path": "2DVector",
  188. "interactions": "",
  189. "processors": "",
  190. "groups": "",
  191. "action": "Movement",
  192. "isComposite": true,
  193. "isPartOfComposite": false
  194. },
  195. {
  196. "name": "up",
  197. "id": "802477a2-89d6-471d-b894-fb13edd0dfb0",
  198. "path": "<Gamepad>/leftStick/up",
  199. "interactions": "",
  200. "processors": "",
  201. "groups": "",
  202. "action": "Movement",
  203. "isComposite": false,
  204. "isPartOfComposite": true
  205. },
  206. {
  207. "name": "down",
  208. "id": "1384a4f0-0b2a-496e-8cd2-8df844bba293",
  209. "path": "<Gamepad>/leftStick/down",
  210. "interactions": "",
  211. "processors": "",
  212. "groups": "",
  213. "action": "Movement",
  214. "isComposite": false,
  215. "isPartOfComposite": true
  216. },
  217. {
  218. "name": "left",
  219. "id": "55fdefb5-540c-4bbc-9f92-0880f3969920",
  220. "path": "<Gamepad>/leftStick/left",
  221. "interactions": "",
  222. "processors": "",
  223. "groups": "",
  224. "action": "Movement",
  225. "isComposite": false,
  226. "isPartOfComposite": true
  227. },
  228. {
  229. "name": "right",
  230. "id": "330bd10f-55c0-43c4-8c43-4d01624ec4a7",
  231. "path": "<Gamepad>/leftStick/right",
  232. "interactions": "",
  233. "processors": "",
  234. "groups": "",
  235. "action": "Movement",
  236. "isComposite": false,
  237. "isPartOfComposite": true
  238. },
  239. {
  240. "name": "",
  241. "id": "a13b0893-b67b-4b60-819c-a2a88e0a551c",
  242. "path": "<Mouse>/delta",
  243. "interactions": "",
  244. "processors": "",
  245. "groups": "",
  246. "action": "Look",
  247. "isComposite": false,
  248. "isPartOfComposite": false
  249. },
  250. {
  251. "name": "RightStick",
  252. "id": "8bf2f081-6008-4d90-91d4-7c8e4aaa222f",
  253. "path": "2DVector(mode=1)",
  254. "interactions": "",
  255. "processors": "ScaleVector2(x=5,y=5)",
  256. "groups": "",
  257. "action": "Look",
  258. "isComposite": true,
  259. "isPartOfComposite": false
  260. },
  261. {
  262. "name": "up",
  263. "id": "866d01b6-7ab7-43fa-8faf-97ecf71106ca",
  264. "path": "<Gamepad>/rightStick/up",
  265. "interactions": "",
  266. "processors": "",
  267. "groups": "",
  268. "action": "Look",
  269. "isComposite": false,
  270. "isPartOfComposite": true
  271. },
  272. {
  273. "name": "down",
  274. "id": "a201db96-0788-48c6-9f03-10a304cf7b3f",
  275. "path": "<Gamepad>/rightStick/down",
  276. "interactions": "",
  277. "processors": "",
  278. "groups": "",
  279. "action": "Look",
  280. "isComposite": false,
  281. "isPartOfComposite": true
  282. },
  283. {
  284. "name": "left",
  285. "id": "2ddf98ff-08ec-4160-a957-6419c09c893f",
  286. "path": "<Gamepad>/rightStick/left",
  287. "interactions": "",
  288. "processors": "",
  289. "groups": "",
  290. "action": "Look",
  291. "isComposite": false,
  292. "isPartOfComposite": true
  293. },
  294. {
  295. "name": "right",
  296. "id": "3a5d4bad-ed96-4d2e-852c-30a19b4534e1",
  297. "path": "<Gamepad>/rightStick/right",
  298. "interactions": "",
  299. "processors": "",
  300. "groups": "",
  301. "action": "Look",
  302. "isComposite": false,
  303. "isPartOfComposite": true
  304. },
  305. {
  306. "name": "",
  307. "id": "a629ccdb-feec-4006-99da-ecd1fc2a582a",
  308. "path": "<Mouse>/leftButton",
  309. "interactions": "",
  310. "processors": "",
  311. "groups": "",
  312. "action": "Place Block",
  313. "isComposite": false,
  314. "isPartOfComposite": false
  315. },
  316. {
  317. "name": "",
  318. "id": "3e7e30ad-939c-4c2f-b103-a38c34876f68",
  319. "path": "<Gamepad>/buttonSouth",
  320. "interactions": "",
  321. "processors": "",
  322. "groups": "",
  323. "action": "Place Block",
  324. "isComposite": false,
  325. "isPartOfComposite": false
  326. },
  327. {
  328. "name": "",
  329. "id": "8f6ba03e-dbdb-42ce-be6f-5550c0a2a444",
  330. "path": "<Mouse>/rightButton",
  331. "interactions": "",
  332. "processors": "",
  333. "groups": "",
  334. "action": "Toggle Preview Mode",
  335. "isComposite": false,
  336. "isPartOfComposite": false
  337. },
  338. {
  339. "name": "",
  340. "id": "688248a0-7b0e-4e31-8c1a-d59a24fe3312",
  341. "path": "<Gamepad>/rightTrigger",
  342. "interactions": "",
  343. "processors": "",
  344. "groups": "",
  345. "action": "Toggle Preview Mode",
  346. "isComposite": false,
  347. "isPartOfComposite": false
  348. },
  349. {
  350. "name": "",
  351. "id": "171894bd-9d65-472e-8e83-7cf79f2057ab",
  352. "path": "<Keyboard>/leftShift",
  353. "interactions": "",
  354. "processors": "",
  355. "groups": "",
  356. "action": "Sprint",
  357. "isComposite": false,
  358. "isPartOfComposite": false
  359. },
  360. {
  361. "name": "",
  362. "id": "83ad7e9d-9c8e-4f3f-85a8-fbbe926f0908",
  363. "path": "<Gamepad>/leftTrigger",
  364. "interactions": "",
  365. "processors": "",
  366. "groups": "",
  367. "action": "Sprint",
  368. "isComposite": false,
  369. "isPartOfComposite": false
  370. },
  371. {
  372. "name": "",
  373. "id": "14041b54-6b2c-4248-8d13-d3652f618c8f",
  374. "path": "<Mouse>/middleButton",
  375. "interactions": "Press",
  376. "processors": "",
  377. "groups": "",
  378. "action": "Enter Rotate Block",
  379. "isComposite": false,
  380. "isPartOfComposite": false
  381. },
  382. {
  383. "name": "",
  384. "id": "3ce3e2d9-ec9a-4062-971e-3f524008af63",
  385. "path": "<Mouse>/middleButton",
  386. "interactions": "Press(behavior=1)",
  387. "processors": "",
  388. "groups": "",
  389. "action": "Exit Rotate Block",
  390. "isComposite": false,
  391. "isPartOfComposite": false
  392. },
  393. {
  394. "name": "",
  395. "id": "ccc8db9a-4581-4a39-9c88-6834536d8888",
  396. "path": "<Mouse>/delta",
  397. "interactions": "",
  398. "processors": "",
  399. "groups": "",
  400. "action": "Rotate Block",
  401. "isComposite": false,
  402. "isPartOfComposite": false
  403. }
  404. ]
  405. }
  406. ],
  407. "controlSchemes": []
  408. }