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
444080d3
Commit
444080d3
authored
Jul 01, 2019
by
18신대성
Committed by
18손재민
Jul 01, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Init시 바닥에 object가 들어가게 함.
parent
af576cf5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
0 deletions
+3
-0
Briefcase.cs
Assets/Scripts/Interactors/Briefcase.cs
+1
-0
CameraTurret.cs
Assets/Scripts/Interactors/CameraTurret.cs
+1
-0
Mannequin.cs
Assets/Scripts/Interactors/Mannequin.cs
+1
-0
No files found.
Assets/Scripts/Interactors/Briefcase.cs
View file @
444080d3
...
...
@@ -22,6 +22,7 @@ public class Briefcase : MonoBehaviour, IObject, IPlayerInteractor
{
if
(
GameManager
.
aCase
>=
0
)
MapManager
.
inst
.
currentMap
.
clearConditions
[
GameManager
.
aCase
].
IsDone
(
0
,
1
);
this
.
floor
=
floor
;
floor
.
objOnFloor
=
this
;
PlayerController
.
inst
.
OnPlayerMove
+=
Interact
;
}
...
...
Assets/Scripts/Interactors/CameraTurret.cs
View file @
444080d3
...
...
@@ -11,6 +11,7 @@ public class CameraTurret : MonoBehaviour, IObject, IBreakable, IPlayerInteracto
public
void
Init
(
Floor
floor
)
{
this
.
floor
=
floor
;
floor
.
objOnFloor
=
this
;
PlayerController
.
inst
.
OnPlayerMove
+=
Interact
;
}
...
...
Assets/Scripts/Interactors/Mannequin.cs
View file @
444080d3
...
...
@@ -66,6 +66,7 @@ public class Mannequin : MonoBehaviour, IObject, IBulletInteractor
public
void
Init
(
Floor
floor
)
{
this
.
floor
=
floor
;
floor
.
objOnFloor
=
this
;
transform
.
Rotate
(
new
Vector3
(
0
,
Random
.
Range
(
0
,
4
)
*
90
,
0
));
}
...
...
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