Création d'un petit party-game anonyme de Build + Bagar sous Unity
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

Controls.inputactions 16KB

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