Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GameDevWeek
Wintersemester 2018-2019
Unity
Suck It
Commits
2dbbfb61
Commit
2dbbfb61
authored
Mar 29, 2019
by
Unknown
Browse files
sdkfjsfk
parent
9c888552
Changes
1
Hide whitespace changes
Inline
Side-by-side
Assets/_Game/Scripts/Player/InputController.cs
View file @
2dbbfb61
...
...
@@ -22,6 +22,6 @@ public class InputController : MonoBehaviour {
m_Jump
=
Input
.
GetKeyDown
(
KeyCode
.
Space
)
||
Input
.
GetKeyDown
(
KeyCode
.
UpArrow
)
||
Input
.
GetKeyDown
(
KeyCode
.
W
);
//Ruft Move Methode im MovementController auf dient der Bewegung des Charakters
m_Controller
.
Move
(
new
Vector2
(
m_XAxis
,
m_YAxis
),
m_Jump
);
m_Controller
.
Move
(
new
Vector2
(
m_XAxis
,
0
),
m_Jump
);
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment