Skip to content

Commit c79a8e4

Browse files
authored
feat: point and click prototype (#8)
1 parent b06adff commit c79a8e4

24 files changed

+1997
-205
lines changed

Assets/Framework/StoryMode.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
using System;
22
using System.Collections;
33
using Input;
4+
using UnityEditor;
45
using UnityEngine;
56
using UnityEngine.SceneManagement;
67
using Utils;

Assets/Input/PlayerActions.inputactions

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,24 @@
4040
"processors": "",
4141
"interactions": "",
4242
"initialStateCheck": true
43+
},
44+
{
45+
"name": "Target",
46+
"type": "Value",
47+
"id": "5924a5cc-42ef-4d76-9795-edf2b6e07764",
48+
"expectedControlType": "Vector2",
49+
"processors": "",
50+
"interactions": "",
51+
"initialStateCheck": true
52+
},
53+
{
54+
"name": "Command",
55+
"type": "Value",
56+
"id": "29aa4c20-be5b-4e3b-aae0-639d520c9bfd",
57+
"expectedControlType": "Integer",
58+
"processors": "",
59+
"interactions": "",
60+
"initialStateCheck": true
4361
}
4462
],
4563
"bindings": [
@@ -218,6 +236,50 @@
218236
"action": "Look",
219237
"isComposite": false,
220238
"isPartOfComposite": false
239+
},
240+
{
241+
"name": "",
242+
"id": "ad85bec4-3416-4c07-9ecf-865c41426194",
243+
"path": "<Mouse>/position",
244+
"interactions": "",
245+
"processors": "",
246+
"groups": "Mouse&Keyboard",
247+
"action": "Target",
248+
"isComposite": false,
249+
"isPartOfComposite": false
250+
},
251+
{
252+
"name": "Mouse",
253+
"id": "91c44185-56fa-400e-a486-88b9c85e6cf3",
254+
"path": "1DAxis(whichSideWins=1)",
255+
"interactions": "",
256+
"processors": "",
257+
"groups": "",
258+
"action": "Command",
259+
"isComposite": true,
260+
"isPartOfComposite": false
261+
},
262+
{
263+
"name": "positive",
264+
"id": "e59eba40-351b-4b3a-bcb6-891e28a8c456",
265+
"path": "<Mouse>/leftButton",
266+
"interactions": "",
267+
"processors": "",
268+
"groups": "Mouse&Keyboard",
269+
"action": "Command",
270+
"isComposite": false,
271+
"isPartOfComposite": true
272+
},
273+
{
274+
"name": "negative",
275+
"id": "51451999-a3ac-4a46-9182-5d7785a086b2",
276+
"path": "<Mouse>/rightButton",
277+
"interactions": "",
278+
"processors": "",
279+
"groups": "Mouse&Keyboard",
280+
"action": "Command",
281+
"isComposite": false,
282+
"isPartOfComposite": true
221283
}
222284
]
223285
},

Assets/Input/PlayerController.cs

Lines changed: 0 additions & 45 deletions
This file was deleted.

Assets/Player.meta

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/Player/ChainLink.prefab

Lines changed: 246 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/Player/ChainLink.prefab.meta

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)