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
af4d49a5
Commit
af4d49a5
authored
Feb 01, 2019
by
16도재형
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
괄호의 차이가 느껴지십니까
parent
d0ed256b
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 @
af4d49a5
...
@@ -18,7 +18,7 @@ public class Player : MonoBehaviour {
...
@@ -18,7 +18,7 @@ public class Player : MonoBehaviour {
// Update is called once per frame
// Update is called once per frame
void
Update
()
{
void
Update
()
{
tx
=
(
int
)(
transform
.
position
.
x
/
24f
);
tx
=
(
int
)(
transform
.
position
.
x
/
24f
);
ty
=
(
int
)(
transform
.
position
.
y
-
0.9f
/
24f
);
ty
=
(
int
)(
(
transform
.
position
.
y
-
0.9f
)
/
24f
);
if
((
ttx
!=
tx
||
tty
!=
ty
)
&&
MapManager
.
isRoomFalling
!=
true
)
if
((
ttx
!=
tx
||
tty
!=
ty
)
&&
MapManager
.
isRoomFalling
!=
true
)
{
{
MapManager
.
tempRoom
=
MapManager
.
mapGrid
[
tx
,
ty
];
MapManager
.
tempRoom
=
MapManager
.
mapGrid
[
tx
,
ty
];
...
...
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