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
7bf9ab38
Commit
7bf9ab38
authored
May 14, 2019
by
18손재민
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
거울 및 플레이어 프리팹 변경; WIP
parent
0128f743
Changes
10
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
3741 additions
and
863 deletions
+3741
-863
MapManager.prefab
Assets/Prefabs/MapManager.prefab
+2
-2
mirror.prefab
Assets/Prefabs/MapObjects/mirror.prefab
+207
-0
mirror.prefab.meta
Assets/Prefabs/MapObjects/mirror.prefab.meta
+2
-3
jackson.prefab
Assets/Prefabs/jackson.prefab
+2464
-0
jackson.prefab.meta
Assets/Prefabs/jackson.prefab.meta
+7
-0
SavedMap_2019-05-14-22-39-32.prefab
Assets/SavedMap_2019-05-14-22-39-32.prefab
+982
-0
SavedMap_2019-05-14-22-39-32.prefab.meta
Assets/SavedMap_2019-05-14-22-39-32.prefab.meta
+7
-0
ModelScene.unity
Assets/Scenes/ModelScene.unity
+69
-855
MapEditor.cs
Assets/Scripts/MapEditor/MapEditor.cs
+0
-2
MirrorReflect.cs
Assets/Scripts/MirrorReflect.cs
+1
-1
No files found.
Assets/Prefabs/MapManager.prefab
View file @
7bf9ab38
...
...
@@ -47,10 +47,10 @@ MonoBehaviour:
floor
:
{
fileID
:
19711883686801522
,
guid
:
71931eea896a59a4683986cfd369b8ee
,
type
:
3
}
normalWall
:
{
fileID
:
2953616027608884528
,
guid
:
a4dcd71ec9f819f4e88c7b5ac24f4b0d
,
type
:
3
}
mirror
:
{
fileID
:
0
}
mirror
:
{
fileID
:
17874052963739924
,
guid
:
90282f1c82fff7545962b5ca66f1a102
,
type
:
3
}
players
:
[]
player
:
{
fileID
:
8862060874303168220
,
guid
:
6ba287375b5ad4b458a7b7b99c6d6a08
,
type
:
3
}
currentMap
:
{
fileID
:
0
}
surface
:
{
fileID
:
0
}
stage
:
-
{
fileID
:
2496973653136699540
,
guid
:
dbb2e09c19fe5ad49b11a6b95e5ac9e8
,
type
:
3
}
-
{
fileID
:
7116745361094357555
,
guid
:
32ff564f49869bf40a53d07394eb081b
,
type
:
3
}
Assets/Prefabs/MapObjects/mirror.prefab
0 → 100644
View file @
7bf9ab38
%YAML
1.1
%TAG
!u!
tag:unity3d.com,2011:
---
!u!1
&1244481854741161103
GameObject
:
m_ObjectHideFlags
:
0
m_CorrespondingSourceObject
:
{
fileID
:
0
}
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
serializedVersion
:
6
m_Component
:
-
component
:
{
fileID
:
1244481854741161101
}
-
component
:
{
fileID
:
1244481854741161102
}
-
component
:
{
fileID
:
1244481854741161100
}
m_Layer
:
0
m_Name
:
Reflection Probe
m_TagString
:
Untagged
m_Icon
:
{
fileID
:
0
}
m_NavMeshLayer
:
0
m_StaticEditorFlags
:
0
m_IsActive
:
1
---
!u!4
&1244481854741161101
Transform
:
m_ObjectHideFlags
:
0
m_CorrespondingSourceObject
:
{
fileID
:
0
}
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
1244481854741161103
}
m_LocalRotation
:
{
x
:
0
,
y
:
0
,
z
:
0
,
w
:
1
}
m_LocalPosition
:
{
x
:
0
,
y
:
0
,
z
:
0
}
m_LocalScale
:
{
x
:
1
,
y
:
1
,
z
:
1
}
m_Children
:
[]
m_Father
:
{
fileID
:
1244481854748242454
}
m_RootOrder
:
0
m_LocalEulerAnglesHint
:
{
x
:
0
,
y
:
0
,
z
:
0
}
---
!u!215
&1244481854741161102
ReflectionProbe
:
m_ObjectHideFlags
:
0
m_CorrespondingSourceObject
:
{
fileID
:
0
}
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
1244481854741161103
}
m_Enabled
:
1
serializedVersion
:
2
m_Type
:
0
m_Mode
:
1
m_RefreshMode
:
1
m_TimeSlicingMode
:
2
m_Resolution
:
512
m_UpdateFrequency
:
0
m_BoxSize
:
{
x
:
10
,
y
:
2
,
z
:
10
}
m_BoxOffset
:
{
x
:
0
,
y
:
0
,
z
:
0
}
m_NearClip
:
0.3
m_FarClip
:
1000
m_ShadowDistance
:
0
m_ClearFlags
:
2
m_BackGroundColor
:
{
r
:
0
,
g
:
0
,
b
:
0
,
a
:
0
}
m_CullingMask
:
serializedVersion
:
2
m_Bits
:
311
m_IntensityMultiplier
:
1
m_BlendDistance
:
1
m_HDR
:
1
m_BoxProjection
:
1
m_RenderDynamicObjects
:
0
m_UseOcclusionCulling
:
1
m_Importance
:
1
m_CustomBakedTexture
:
{
fileID
:
0
}
---
!u!114
&1244481854741161100
MonoBehaviour
:
m_ObjectHideFlags
:
0
m_CorrespondingSourceObject
:
{
fileID
:
0
}
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
1244481854741161103
}
m_Enabled
:
1
m_EditorHideFlags
:
0
m_Script
:
{
fileID
:
11500000
,
guid
:
e1dd51c2faa2bf14a9c711dadc76f117
,
type
:
3
}
m_Name
:
m_EditorClassIdentifier
:
direction
:
0
mirror
:
{
fileID
:
1244481854748242454
}
mainCam
:
{
fileID
:
0
}
---
!u!1
&1244481854748732982
GameObject
:
m_ObjectHideFlags
:
0
m_CorrespondingSourceObject
:
{
fileID
:
0
}
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
serializedVersion
:
6
m_Component
:
-
component
:
{
fileID
:
1244481854748242454
}
-
component
:
{
fileID
:
1244481854745375286
}
-
component
:
{
fileID
:
1244481854746472694
}
-
component
:
{
fileID
:
2694312363380670797
}
-
component
:
{
fileID
:
7225251243996645269
}
-
component
:
{
fileID
:
17874052963739924
}
m_Layer
:
0
m_Name
:
mirror
m_TagString
:
wall
m_Icon
:
{
fileID
:
0
}
m_NavMeshLayer
:
0
m_StaticEditorFlags
:
0
m_IsActive
:
1
---
!u!4
&1244481854748242454
Transform
:
m_ObjectHideFlags
:
0
m_CorrespondingSourceObject
:
{
fileID
:
0
}
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
1244481854748732982
}
m_LocalRotation
:
{
x
:
0
,
y
:
0.7071068
,
z
:
0
,
w
:
0.7071068
}
m_LocalPosition
:
{
x
:
0
,
y
:
0
,
z
:
0
}
m_LocalScale
:
{
x
:
1
,
y
:
1
,
z
:
1
}
m_Children
:
-
{
fileID
:
1244481854741161101
}
m_Father
:
{
fileID
:
0
}
m_RootOrder
:
0
m_LocalEulerAnglesHint
:
{
x
:
0
,
y
:
90
,
z
:
0
}
---
!u!33
&1244481854745375286
MeshFilter
:
m_ObjectHideFlags
:
0
m_CorrespondingSourceObject
:
{
fileID
:
0
}
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
1244481854748732982
}
m_Mesh
:
{
fileID
:
4300000
,
guid
:
e735c33e37feb0d4eba4a6d06df2930a
,
type
:
3
}
---
!u!23
&1244481854746472694
MeshRenderer
:
m_ObjectHideFlags
:
0
m_CorrespondingSourceObject
:
{
fileID
:
0
}
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
1244481854748732982
}
m_Enabled
:
1
m_CastShadows
:
1
m_ReceiveShadows
:
1
m_DynamicOccludee
:
1
m_MotionVectors
:
1
m_LightProbeUsage
:
1
m_ReflectionProbeUsage
:
1
m_RenderingLayerMask
:
1
m_RendererPriority
:
0
m_Materials
:
-
{
fileID
:
2100000
,
guid
:
d8c28898e746cd84d8503fbd26995a55
,
type
:
2
}
m_StaticBatchInfo
:
firstSubMesh
:
0
subMeshCount
:
0
m_StaticBatchRoot
:
{
fileID
:
0
}
m_ProbeAnchor
:
{
fileID
:
0
}
m_LightProbeVolumeOverride
:
{
fileID
:
0
}
m_ScaleInLightmap
:
1
m_PreserveUVs
:
0
m_IgnoreNormalsForChartDetection
:
0
m_ImportantGI
:
0
m_StitchLightmapSeams
:
0
m_SelectedEditorRenderState
:
3
m_MinimumChartSize
:
4
m_AutoUVMaxDistance
:
0.5
m_AutoUVMaxAngle
:
89
m_LightmapParameters
:
{
fileID
:
0
}
m_SortingLayerID
:
0
m_SortingLayer
:
0
m_SortingOrder
:
0
---
!u!65
&2694312363380670797
BoxCollider
:
m_ObjectHideFlags
:
0
m_CorrespondingSourceObject
:
{
fileID
:
0
}
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
1244481854748732982
}
m_Material
:
{
fileID
:
0
}
m_IsTrigger
:
0
m_Enabled
:
1
serializedVersion
:
2
m_Size
:
{
x
:
1.0000005
,
y
:
1.0000002
,
z
:
0.080003634
}
m_Center
:
{
x
:
-0.000000029802322
,
y
:
0.6
,
z
:
-0.000002156943
}
---
!u!208
&7225251243996645269
NavMeshObstacle
:
m_ObjectHideFlags
:
0
m_CorrespondingSourceObject
:
{
fileID
:
0
}
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
1244481854748732982
}
m_Enabled
:
1
serializedVersion
:
3
m_Shape
:
1
m_Extents
:
{
x
:
0.5
,
y
:
0.5
,
z
:
0.040000003
}
m_MoveThreshold
:
0.1
m_Carve
:
1
m_CarveOnlyStationary
:
1
m_Center
:
{
x
:
0
,
y
:
0.6
,
z
:
0
}
m_TimeToStationary
:
0.5
---
!u!114
&17874052963739924
MonoBehaviour
:
m_ObjectHideFlags
:
0
m_CorrespondingSourceObject
:
{
fileID
:
0
}
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
1244481854748732982
}
m_Enabled
:
1
m_EditorHideFlags
:
0
m_Script
:
{
fileID
:
11500000
,
guid
:
1436eae8f715791448d7d56c6d6b6fb4
,
type
:
3
}
m_Name
:
m_EditorClassIdentifier
:
mapPos
:
{
x
:
0
,
y
:
0
}
len
:
1
type
:
2
Assets/
Scenes/ModelScene
.meta
→
Assets/
Prefabs/MapObjects/mirror.prefab
.meta
View file @
7bf9ab38
fileFormatVersion: 2
guid: a32ca40f7f255ea47ac7ee9d558755ce
folderAsset: yes
DefaultImporter:
guid: 90282f1c82fff7545962b5ca66f1a102
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
...
...
Assets/Prefabs/jackson.prefab
0 → 100644
View file @
7bf9ab38
This diff is collapsed.
Click to expand it.
Assets/Prefabs/jackson.prefab.meta
0 → 100644
View file @
7bf9ab38
fileFormatVersion: 2
guid: 2761dd87fd5be3146b193f53ec0c4cdd
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
Assets/SavedMap_2019-05-14-22-39-32.prefab
0 → 100644
View file @
7bf9ab38
This diff is collapsed.
Click to expand it.
Assets/SavedMap_2019-05-14-22-39-32.prefab.meta
0 → 100644
View file @
7bf9ab38
fileFormatVersion: 2
guid: 32ff564f49869bf40a53d07394eb081b
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
Assets/Scenes/ModelScene.unity
View file @
7bf9ab38
This diff is collapsed.
Click to expand it.
Assets/Scripts/MapEditor/MapEditor.cs
View file @
7bf9ab38
...
...
@@ -6,8 +6,6 @@ using UnityEngine.UI;
public
class
MapEditor
:
SingletonBehaviour
<
MapEditor
>
{
public
Floor
floor
;
public
Wall
wall
;
public
Map
currentMap
;
public
Map
[]
stage
;
public
MapEditorTile
tile
;
...
...
Assets/Scripts/MirrorReflect.cs
View file @
7bf9ab38
...
...
@@ -19,7 +19,7 @@ public class MirrorReflect : MonoBehaviour
// Update is called once per frame
void
Update
()
{
mainCam
=
GameObject
.
Find
(
"Camera"
)
.
transform
;
// find main camera
mainCam
=
Camera
.
main
.
transform
;
// find main camera
if
(
direction
==
Direction
.
X
)
{
...
...
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