Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dyingIsMainstream
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gamejam-gpn15
dyingIsMainstream
Commits
290b428f
Commit
290b428f
authored
Jun 05, 2015
by
Philipp Adolf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unnecessary field
parent
c7fe059b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
PlayerControl.cs
Assets/Scripts/PlayerControl.cs
+0
-2
No files found.
Assets/Scripts/PlayerControl.cs
View file @
290b428f
...
@@ -36,11 +36,9 @@ public class PlayerControl : MonoBehaviour
...
@@ -36,11 +36,9 @@ public class PlayerControl : MonoBehaviour
public
int
playerNumber
=
1
;
//gibt an, ob es sich um player one, player two, etc. handelt. sollte nicht 0 sein;
public
int
playerNumber
=
1
;
//gibt an, ob es sich um player one, player two, etc. handelt. sollte nicht 0 sein;
KeyCode
goRightKeyCode
,
goLeftKeyCode
,
jumpKeyCode
,
dashKeyCode
,
shootKeyCode
;
KeyCode
goRightKeyCode
,
goLeftKeyCode
,
jumpKeyCode
,
dashKeyCode
,
shootKeyCode
;
private
Rigidbody2D
rigidbody
;
void
Start
()
void
Start
()
{
{
rigidbody
=
GetComponent
<
Rigidbody2D
>();
_controller
=
GetComponent
<
CharacterController2D
>();
_controller
=
GetComponent
<
CharacterController2D
>();
_controller
.
onControllerCollidedEvent
+=
onControllerCollider
;
_controller
.
onControllerCollidedEvent
+=
onControllerCollider
;
...
...
Write
Preview
Markdown
is supported
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