Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
tetra-tower
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Oenos
tetra-tower
Commits
417aca7a
Commit
417aca7a
authored
Jan 30, 2019
by
16도재형
Committed by
18류지석
Jan 30, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
로프점프 수정할거 별거없네요
parent
ea567e78
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
PlayerController.cs
Assets/Scripts/Characters/PlayerController.cs
+3
-3
No files found.
Assets/Scripts/Characters/PlayerController.cs
View file @
417aca7a
...
@@ -110,8 +110,8 @@ public class PlayerController : MonoBehaviour
...
@@ -110,8 +110,8 @@ public class PlayerController : MonoBehaviour
{
{
if
(
playerState
==
PlayerState
.
Rope
)
if
(
playerState
==
PlayerState
.
Rope
)
{
{
// Horizontal move in rope
//
Jump or
Horizontal move in rope
if
(
horizontal
!=
0
&&
verticalRaw
==
0
)
if
(
jump
||
(
horizontal
!=
0
&&
verticalRaw
==
0
)
)
{
{
playerState
=
PlayerState
.
Idle
;
playerState
=
PlayerState
.
Idle
;
rb
.
gravityScale
=
rbGravityScale
;
rb
.
gravityScale
=
rbGravityScale
;
...
@@ -233,7 +233,7 @@ public class PlayerController : MonoBehaviour
...
@@ -233,7 +233,7 @@ public class PlayerController : MonoBehaviour
{
{
ropeEnabled
=
false
;
ropeEnabled
=
false
;
isJumpable
=
true
;
isJumpable
=
true
;
yield
return
new
WaitForSeconds
(
0.
5
f
);
yield
return
new
WaitForSeconds
(
0.
3
f
);
ropeEnabled
=
true
;
ropeEnabled
=
true
;
}
}
...
...
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