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
201277f9
Commit
201277f9
authored
Dec 22, 2019
by
15박보승
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/map'
parents
33bb28ea
b84d8cf3
Changes
9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
6170 additions
and
1206 deletions
+6170
-1206
MapEditorCanvas.prefab
Assets/Prefabs/MapEditor/MapEditorCanvas.prefab
+5958
-1176
stage1_5.json
Assets/Resources/stages/stage1_5.json
+1
-0
stage1_5.json.meta
Assets/Resources/stages/stage1_5.json.meta
+7
-0
stage3_6.json
Assets/Resources/stages/stage3_6.json
+1
-0
stage3_6.json.meta
Assets/Resources/stages/stage3_6.json.meta
+7
-0
MapEditor.unity
Assets/Scenes/MapEditor.unity
+10
-0
SelectStage.unity
Assets/Scenes/SelectStage.unity
+10
-0
MapManager.cs
Assets/Scripts/Managers/MapManager.cs
+1
-1
MapEditor.cs
Assets/Scripts/MapEditor.cs
+175
-29
No files found.
Assets/Prefabs/MapEditor/MapEditorCanvas.prefab
View file @
201277f9
This diff is collapsed.
Click to expand it.
Assets/Resources/stages/stage1_5.json
0 → 100644
View file @
201277f9
{
"objects"
:[{
"tag"
:
0
,
"xPos"
:
10.0
,
"yPos"
:
0.0
},{
"tag"
:
3
,
"xPos"
:
0.5
,
"yPos"
:
-1.0
},{
"tag"
:
1
,
"xPos"
:
0.0
,
"yPos"
:
0.0
},{
"tag"
:
9
,
"xPos"
:
0.0
,
"yPos"
:
0.0
},{
"tag"
:
1
,
"xPos"
:
0.0
,
"yPos"
:
-1.0
},{
"tag"
:
4
,
"xPos"
:
0.0
,
"yPos"
:
-1.0
}],
"clears"
:[{
"type"
:
0
,
"goal"
:
2
}],
"cases"
:[],
"bullets"
:[
1
],
"comments"
:
""
}
\ No newline at end of file
Assets/Resources/stages/stage1_5.json.meta
0 → 100644
View file @
201277f9
fileFormatVersion: 2
guid: 4b068fe8eb3b7914780b06dca7247d5d
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
Assets/Resources/stages/stage3_6.json
0 → 100644
View file @
201277f9
{
"objects"
:[{
"tag"
:
0
,
"xPos"
:
125.0
,
"yPos"
:
0.0
},{
"tag"
:
2
,
"xPos"
:
-1.0
,
"yPos"
:
-1.5
},{
"tag"
:
2
,
"xPos"
:
-0.5
,
"yPos"
:
-1.0
},{
"tag"
:
3
,
"xPos"
:
-1.0
,
"yPos"
:
-0.5
},{
"tag"
:
2
,
"xPos"
:
0.5
,
"yPos"
:
-1.0
},{
"tag"
:
2
,
"xPos"
:
1.0
,
"yPos"
:
-1.5
},{
"tag"
:
3
,
"xPos"
:
1.0
,
"yPos"
:
0.5
},{
"tag"
:
2
,
"xPos"
:
0.5
,
"yPos"
:
1.0
},{
"tag"
:
2
,
"xPos"
:
1.5
,
"yPos"
:
-2.0
},{
"tag"
:
2
,
"xPos"
:
-1.5
,
"yPos"
:
1.0
},{
"tag"
:
2
,
"xPos"
:
2.0
,
"yPos"
:
-0.5
},{
"tag"
:
2
,
"xPos"
:
1.5
,
"yPos"
:
2.0
},{
"tag"
:
2
,
"xPos"
:
-1.5
,
"yPos"
:
-2.0
},{
"tag"
:
1
,
"xPos"
:
0.0
,
"yPos"
:
0.0
},{
"tag"
:
1
,
"xPos"
:
0.0
,
"yPos"
:
1.0
},{
"tag"
:
1
,
"xPos"
:
-2.0
,
"yPos"
:
-1.0
},{
"tag"
:
1
,
"xPos"
:
-2.0
,
"yPos"
:
0.0
},{
"tag"
:
1
,
"xPos"
:
-1.0
,
"yPos"
:
0.0
},{
"tag"
:
1
,
"xPos"
:
-1.0
,
"yPos"
:
-1.0
},{
"tag"
:
1
,
"xPos"
:
-2.0
,
"yPos"
:
-2.0
},{
"tag"
:
1
,
"xPos"
:
-1.0
,
"yPos"
:
-2.0
},{
"tag"
:
1
,
"xPos"
:
0.0
,
"yPos"
:
-1.0
},{
"tag"
:
1
,
"xPos"
:
0.0
,
"yPos"
:
-2.0
},{
"tag"
:
9
,
"xPos"
:
0.0
,
"yPos"
:
-2.0
},{
"tag"
:
1
,
"xPos"
:
1.0
,
"yPos"
:
-2.0
},{
"tag"
:
1
,
"xPos"
:
1.0
,
"yPos"
:
-1.0
},{
"tag"
:
1
,
"xPos"
:
2.0
,
"yPos"
:
-1.0
},{
"tag"
:
1
,
"xPos"
:
2.0
,
"yPos"
:
-2.0
},{
"tag"
:
1
,
"xPos"
:
1.0
,
"yPos"
:
0.0
},{
"tag"
:
1
,
"xPos"
:
2.0
,
"yPos"
:
0.0
},{
"tag"
:
1
,
"xPos"
:
1.0
,
"yPos"
:
1.0
},{
"tag"
:
1
,
"xPos"
:
1.0
,
"yPos"
:
2.0
},{
"tag"
:
1
,
"xPos"
:
0.0
,
"yPos"
:
2.0
},{
"tag"
:
1
,
"xPos"
:
-1.0
,
"yPos"
:
2.0
},{
"tag"
:
1
,
"xPos"
:
-1.0
,
"yPos"
:
1.0
},{
"tag"
:
1
,
"xPos"
:
2.0
,
"yPos"
:
1.0
},{
"tag"
:
1
,
"xPos"
:
-2.0
,
"yPos"
:
1.0
},{
"tag"
:
4
,
"xPos"
:
-2.0
,
"yPos"
:
-2.0
},{
"tag"
:
6
,
"xPos"
:
0.0
,
"yPos"
:
0.0
},{
"tag"
:
5
,
"xPos"
:
2.0
,
"yPos"
:
-2.0
}],
"clears"
:[{
"type"
:
0
,
"goal"
:
1
}],
"cases"
:[
0
],
"bullets"
:[
1
,
1
],
"comments"
:
""
}
\ No newline at end of file
Assets/Resources/stages/stage3_6.json.meta
0 → 100644
View file @
201277f9
fileFormatVersion: 2
guid: ecdc62db53252b74e941be358fbe04fb
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
Assets/Scenes/MapEditor.unity
View file @
201277f9
...
...
@@ -253,6 +253,16 @@ PrefabInstance:
propertyPath
:
m_LocalEulerAnglesHint.z
value
:
0
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
2028998455926151720
,
guid
:
06619682524bc5149b5c3092da0722f2
,
type
:
3
}
propertyPath
:
m_Options.m_Options.Array.size
value
:
0
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
2028998455926151720
,
guid
:
06619682524bc5149b5c3092da0722f2
,
type
:
3
}
propertyPath
:
m_Options.m_Options.Array.data[3].m_Text
value
:
Option C
objectReference
:
{
fileID
:
0
}
m_RemovedComponents
:
[]
m_SourcePrefab
:
{
fileID
:
100100000
,
guid
:
06619682524bc5149b5c3092da0722f2
,
type
:
3
}
---
!u!1001
&463381731
...
...
Assets/Scenes/SelectStage.unity
View file @
201277f9
...
...
@@ -487,6 +487,16 @@ PrefabInstance:
propertyPath
:
categoryCounts.Array.data[1]
value
:
4
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
5996849666618765155
,
guid
:
8115fd4d1a1025b4fb05e45fc5fa6578
,
type
:
3
}
propertyPath
:
categoryCounts.Array.data[0]
value
:
5
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
5996849666618765155
,
guid
:
8115fd4d1a1025b4fb05e45fc5fa6578
,
type
:
3
}
propertyPath
:
categoryCounts.Array.data[2]
value
:
6
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
5087174722634247129
,
guid
:
8115fd4d1a1025b4fb05e45fc5fa6578
,
type
:
3
}
propertyPath
:
m_AnchorMax.x
...
...
Assets/Scripts/Managers/MapManager.cs
View file @
201277f9
...
...
@@ -86,7 +86,7 @@ public class MapManager : SingletonBehaviour<MapManager>
PlayerController
.
inst
.
CreatePlayer
(
currentMap
.
startFloors
[
i
]);
for
(
int
i
=
0
;
i
<
loadedMapData
.
bullets
.
Count
;
i
++)
PlayerController
.
inst
.
AddBullet
(
loadedMapData
.
bullets
[
i
]);
if
(
loadedMapData
.
comments
!=
null
)
if
(
loadedMapData
.
comments
!=
null
&&
loadedMapData
.
comments
!=
""
)
{
currentMap
.
comments
=
loadedMapData
.
comments
;
GameManager
.
inst
.
commentUIGenerator
.
SetComment
(
currentMap
.
comments
);
...
...
Assets/Scripts/MapEditor.cs
View file @
201277f9
This diff is collapsed.
Click to expand it.
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