Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
curvedflats
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
6
Issues
6
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Flatland
curvedflats
Commits
08c6c35c
Commit
08c6c35c
authored
Aug 18, 2019
by
16이진형
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
플래이어 충돌
parent
2b23d67e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
Planemovement.cs
Assets/Scripts/Planemovement.cs
+1
-0
PlayerMovement.cs
Assets/Scripts/PlayerMovement.cs
+2
-2
No files found.
Assets/Scripts/Planemovement.cs
View file @
08c6c35c
...
...
@@ -145,6 +145,7 @@ public class Planemovement : FlatlandMovement
public
override
void
OnCollisionStaychild
(
Collision
collision
)
{
base
.
OnCollisionStaychild
(
collision
);
//Debug.Log("hit!");
//if(collision.transform.parent.name != "AnObject(Clone)")
// Debug.Log(collision.gameObject.name + " wow!");
...
...
Assets/Scripts/PlayerMovement.cs
View file @
08c6c35c
...
...
@@ -176,7 +176,7 @@ public class PlayerMovement : FlatlandMovement,IInteractor
public
override
void
OnCollisionEnterchild
(
Collision
collision
)
{
base
.
OnCollisionEnterchild
(
collision
);
if
(
collision
.
transform
.
parent
!=
null
)
{
InteractiveObject
x
=
collision
.
transform
.
parent
.
gameObject
.
GetComponent
<
InteractiveObject
>();
...
...
@@ -192,7 +192,7 @@ public class PlayerMovement : FlatlandMovement,IInteractor
public
override
void
OnCollisionExitchild
(
Collision
collision
)
{
base
.
OnCollisionExitchild
(
collision
);
if
(
collision
.
transform
.
parent
!=
null
)
{
Debug
.
Log
(
"Collision"
);
...
...
Chae Ho Shin
@guderian2nd
mentioned in issue
#43 (closed)
·
Aug 19, 2019
mentioned in issue
#43 (closed)
mentioned in issue #43
Toggle commit list
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