Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
man-in-the-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
4
Issues
4
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
MIM
man-in-the-mirror
Commits
65960185
Commit
65960185
authored
Jun 09, 2019
by
18신대성
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
더이상 참탄이 벽을 부수지 않음
parent
ba6b0e6d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
10 deletions
+9
-10
ModelScene.meta
Assets/Scenes/ModelScene.meta
+8
-0
TruthBullet.cs
Assets/Scripts/Bullets/TruthBullet.cs
+0
-1
Mirror.cs
Assets/Scripts/Map/Mirror.cs
+0
-4
NormalWall.cs
Assets/Scripts/Map/NormalWall.cs
+1
-5
No files found.
Assets/Scenes/ModelScene.meta
0 → 100644
View file @
65960185
fileFormatVersion: 2
guid: ae6df86ab9243f74f8c5e9aab2cbca92
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
Assets/Scripts/Bullets/TruthBullet.cs
View file @
65960185
...
...
@@ -14,7 +14,6 @@ public class TruthBullet : Bullet
{
other
.
GetComponent
<
IBulletInteractor
>().
Interact
(
this
);
}
Debug
.
Log
(
other
.
name
);
Destroy
(
gameObject
);
}
}
Assets/Scripts/Map/Mirror.cs
View file @
65960185
...
...
@@ -17,10 +17,6 @@ public class Mirror : Wall, IBulletInteractor, IBreakable
// Make reflected objects
CopyObjects
(
PlayerController
.
inst
.
currentPlayer
);
}
else
if
(
bullet
is
TruthBullet
)
{
// Break Mirror
}
}
/// <summary>
...
...
Assets/Scripts/Map/NormalWall.cs
View file @
65960185
...
...
@@ -6,11 +6,7 @@ public class NormalWall : Wall, IBulletInteractor
{
public
void
Interact
(
Bullet
bullet
)
{
if
(
bullet
is
TruthBullet
)
{
Destroy
(
gameObject
);
}
else
if
(
bullet
is
MirrorBullet
)
if
(
bullet
is
MirrorBullet
)
{
MapManager
.
inst
.
currentMap
.
ChangeToMirror
(
mapPos
);
}
...
...
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