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
70ae7f50
Commit
70ae7f50
authored
Feb 26, 2019
by
18류지석
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
파킨- 파킨-
parent
74c65257
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Player.cs
Assets/Scripts/Characters/Player.cs
+1
-1
No files found.
Assets/Scripts/Characters/Player.cs
View file @
70ae7f50
...
@@ -88,7 +88,7 @@ public class Player : MonoBehaviour {
...
@@ -88,7 +88,7 @@ public class Player : MonoBehaviour {
{
{
obj
.
SetActive
(
true
);
obj
.
SetActive
(
true
);
obj
.
transform
.
localPosition
=
Vector3
.
zero
;
obj
.
transform
.
localPosition
=
Vector3
.
zero
;
obj
.
GetComponent
<
Rigidbody2D
>().
velocity
=
Random
.
insideUnitCircle
.
normalized
*
6f
;
obj
.
GetComponent
<
Rigidbody2D
>().
velocity
=
Random
.
insideUnitCircle
.
normalized
*
Random
.
Range
(
3f
,
7f
)
;
}
}
yield
return
new
WaitForSeconds
(
3f
);
yield
return
new
WaitForSeconds
(
3f
);
GameManager
.
gameState
=
GameState
.
GameOver
;
GameManager
.
gameState
=
GameState
.
GameOver
;
...
...
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