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
2ec188b7
Commit
2ec188b7
authored
Aug 11, 2019
by
18신대성
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
줌인시 도움 UI 구현, 다음 스테이지가 없으면 다음버튼이 안뜨게, 줌인시간 1초로 줄임
parent
860692ba
Changes
18
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
523 additions
and
194 deletions
+523
-194
ph_wall.mat
Assets/Models/Materials/ph_wall.mat
+4
-4
jackson.prefab
Assets/Prefabs/MapObjects/jackson.prefab
+2
-1
ClearStatusUI.prefab
Assets/Prefabs/UIs/ClearStatusUI.prefab
+3
-3
StageButton.prefab
Assets/Prefabs/UIs/StageButton.prefab
+1
-1
StageNameText.prefab
Assets/Prefabs/UIs/StageNameText.prefab
+1
-1
NanumSquareB.ttf
Assets/Resources/NanumSquareB.ttf
+0
-0
NanumSquareB.ttf.meta
Assets/Resources/NanumSquareB.ttf.meta
+23
-0
NanumSquareEB.ttf
Assets/Resources/NanumSquareEB.ttf
+0
-0
NanumSquareEB.ttf.meta
Assets/Resources/NanumSquareEB.ttf.meta
+22
-0
mouseUI.png
Assets/Resources/mouseUI.png
+0
-0
mouseUI.png.meta
Assets/Resources/mouseUI.png.meta
+103
-0
ModelScene.unity
Assets/Scenes/ModelScene.unity
+73
-62
PlayStage.unity
Assets/Scenes/PlayStage.unity
+270
-110
CameraController.cs
Assets/Scripts/CameraController.cs
+4
-0
GameManager.cs
Assets/Scripts/Managers/GameManager.cs
+6
-4
Player.cs
Assets/Scripts/Player.cs
+3
-3
StageSelector.cs
Assets/Scripts/StageSelector.cs
+1
-1
QualitySettings.asset
ProjectSettings/QualitySettings.asset
+7
-4
No files found.
Assets/Models/Materials/ph_wall.mat
View file @
2ec188b7
...
...
@@ -9,7 +9,7 @@ Material:
m_PrefabAsset
:
{
fileID
:
0
}
m_Name
:
ph_wall
m_Shader
:
{
fileID
:
46
,
guid
:
0000000000000000f000000000000000
,
type
:
0
}
m_ShaderKeywords
:
m_ShaderKeywords
:
_SMOOTHNESS_TEXTURE_ALBEDO_CHANNEL_A
m_LightmapFlags
:
4
m_EnableInstancingVariants
:
0
m_DoubleSidedGI
:
0
...
...
@@ -60,14 +60,14 @@ Material:
-
_Cutoff
:
0.5
-
_DetailNormalMapScale
:
1
-
_DstBlend
:
0
-
_GlossMapScale
:
1
-
_Glossiness
:
0
.5
-
_GlossMapScale
:
0
-
_Glossiness
:
0
-
_GlossyReflections
:
1
-
_Metallic
:
0
-
_Mode
:
0
-
_OcclusionStrength
:
1
-
_Parallax
:
0.02
-
_SmoothnessTextureChannel
:
0
-
_SmoothnessTextureChannel
:
1
-
_SpecularHighlights
:
1
-
_SrcBlend
:
1
-
_UVSec
:
0
...
...
Assets/Prefabs/MapObjects/jackson.prefab
View file @
2ec188b7
...
...
@@ -1442,6 +1442,7 @@ MonoBehaviour:
currentFloor
:
{
fileID
:
0
}
selectPointer
:
{
fileID
:
6250617794677575084
}
aimLight
:
{
fileID
:
2401818891807728848
}
canShoot
:
0
---
!u!1
&494213313239918029
GameObject
:
m_ObjectHideFlags
:
0
...
...
@@ -2663,7 +2664,7 @@ MonoBehaviour:
renderWireFrame
:
0
lightType
:
0
lightMultiplier
:
0
spotExponent
:
20
spotExponent
:
1
constantAttenuation
:
1
linearAttenuation
:
10
quadraticAttenuation
:
100
...
...
Assets/Prefabs/UIs/ClearStatusUI.prefab
View file @
2ec188b7
...
...
@@ -67,7 +67,7 @@ MonoBehaviour:
m_TypeName
:
UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_FontData
:
m_Font
:
{
fileID
:
1
0102
,
guid
:
0000000000000000e000000000000000
,
type
:
0
}
m_Font
:
{
fileID
:
1
2800000
,
guid
:
bd37a3543be873147a93e171947178ab
,
type
:
3
}
m_FontSize
:
14
m_FontStyle
:
1
m_BestFit
:
1
...
...
@@ -161,7 +161,7 @@ MonoBehaviour:
m_TypeName
:
UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_FontData
:
m_Font
:
{
fileID
:
1
0102
,
guid
:
0000000000000000e000000000000000
,
type
:
0
}
m_Font
:
{
fileID
:
1
2800000
,
guid
:
bd37a3543be873147a93e171947178ab
,
type
:
3
}
m_FontSize
:
20
m_FontStyle
:
0
m_BestFit
:
0
...
...
@@ -241,7 +241,7 @@ MonoBehaviour:
m_TypeName
:
UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_FontData
:
m_Font
:
{
fileID
:
1
0102
,
guid
:
0000000000000000e000000000000000
,
type
:
0
}
m_Font
:
{
fileID
:
1
2800000
,
guid
:
bd37a3543be873147a93e171947178ab
,
type
:
3
}
m_FontSize
:
25
m_FontStyle
:
1
m_BestFit
:
1
...
...
Assets/Prefabs/UIs/StageButton.prefab
View file @
2ec188b7
...
...
@@ -187,7 +187,7 @@ MonoBehaviour:
m_TypeName
:
UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_FontData
:
m_Font
:
{
fileID
:
1
0102
,
guid
:
0000000000000000e000000000000000
,
type
:
0
}
m_Font
:
{
fileID
:
1
2800000
,
guid
:
bd37a3543be873147a93e171947178ab
,
type
:
3
}
m_FontSize
:
65
m_FontStyle
:
0
m_BestFit
:
0
...
...
Assets/Prefabs/UIs/StageNameText.prefab
View file @
2ec188b7
...
...
@@ -66,7 +66,7 @@ MonoBehaviour:
m_TypeName
:
UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_FontData
:
m_Font
:
{
fileID
:
1
0102
,
guid
:
0000000000000000e000000000000000
,
type
:
0
}
m_Font
:
{
fileID
:
1
2800000
,
guid
:
e3afb6123179dd040a1f0d82c85df332
,
type
:
3
}
m_FontSize
:
43
m_FontStyle
:
0
m_BestFit
:
0
...
...
Assets/Resources/NanumSquareB.ttf
0 → 100644
View file @
2ec188b7
File added
Assets/Resources/NanumSquareB.ttf.meta
0 → 100644
View file @
2ec188b7
fileFormatVersion: 2
guid: bd37a3543be873147a93e171947178ab
TrueTypeFontImporter:
externalObjects: {}
serializedVersion: 4
fontSize: 16
forceTextureCase: -2
characterSpacing: 0
characterPadding: 1
includeFontData: 1
fontName: NanumSquare
fontNames:
- NanumSquare
fallbackFontReferences:
- {fileID: 12800000, guid: e3afb6123179dd040a1f0d82c85df332, type: 3}
customCharacters:
fontRenderingMode: 0
ascentCalculationMode: 1
useLegacyBoundsCalculation: 0
shouldRoundAdvanceValue: 1
userData:
assetBundleName:
assetBundleVariant:
Assets/Resources/NanumSquareEB.ttf
0 → 100644
View file @
2ec188b7
File added
Assets/Resources/NanumSquareEB.ttf.meta
0 → 100644
View file @
2ec188b7
fileFormatVersion: 2
guid: e3afb6123179dd040a1f0d82c85df332
TrueTypeFontImporter:
externalObjects: {}
serializedVersion: 4
fontSize: 16
forceTextureCase: -2
characterSpacing: 0
characterPadding: 1
includeFontData: 1
fontName: NanumSquare
fontNames:
- NanumSquare
fallbackFontReferences: []
customCharacters:
fontRenderingMode: 0
ascentCalculationMode: 1
useLegacyBoundsCalculation: 0
shouldRoundAdvanceValue: 1
userData:
assetBundleName:
assetBundleVariant:
Assets/Resources/mouseUI.png
0 → 100644
View file @
2ec188b7
30.5 KB
Assets/Resources/mouseUI.png.meta
0 → 100644
View file @
2ec188b7
fileFormatVersion: 2
guid: d9571ce023140c548b2aac144e4aa4b6
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 10
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
wrapU: 1
wrapV: 1
wrapW: -1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
Assets/Scenes/ModelScene.unity
View file @
2ec188b7
...
...
@@ -147,8 +147,8 @@ Light:
m_Enabled
:
1
serializedVersion
:
9
m_Type
:
1
m_Color
:
{
r
:
1
,
g
:
0.95686275
,
b
:
0.8392157
,
a
:
1
}
m_Intensity
:
1
m_Color
:
{
r
:
1
,
g
:
1
,
b
:
1
,
a
:
1
}
m_Intensity
:
0.9
m_Range
:
10
m_SpotAngle
:
30
m_InnerSpotAngle
:
21.80208
...
...
@@ -209,7 +209,7 @@ Transform:
m_LocalScale
:
{
x
:
1
,
y
:
1
,
z
:
1
}
m_Children
:
[]
m_Father
:
{
fileID
:
0
}
m_RootOrder
:
3
m_RootOrder
:
2
m_LocalEulerAnglesHint
:
{
x
:
77.40501
,
y
:
-30.000002
,
z
:
0
}
---
!u!1
&1323233638
GameObject
:
...
...
@@ -385,143 +385,154 @@ Transform:
m_LocalScale
:
{
x
:
1
,
y
:
1
,
z
:
1
}
m_Children
:
[]
m_Father
:
{
fileID
:
0
}
m_RootOrder
:
4
m_RootOrder
:
3
m_LocalEulerAnglesHint
:
{
x
:
0
,
y
:
0
,
z
:
0
}
---
!u!1001
&1
766882213
---
!u!1001
&1
887819381
PrefabInstance
:
m_ObjectHideFlags
:
0
serializedVersion
:
2
m_Modification
:
m_TransformParent
:
{
fileID
:
0
}
m_Modifications
:
-
target
:
{
fileID
:
337530617404887312
,
guid
:
a4dcd71ec9f819f4e88c7b5ac24f4b0d
,
-
target
:
{
fileID
:
494213313239918027
,
guid
:
449b2ca4d925da541bb45c84b63aab98
,
type
:
3
}
propertyPath
:
m_Name
value
:
wall
value
:
jackson
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
337530617404788016
,
guid
:
a4dcd71ec9f819f4e88c7b5ac24f4b0d
,
-
target
:
{
fileID
:
494213313239497131
,
guid
:
449b2ca4d925da541bb45c84b63aab98
,
type
:
3
}
propertyPath
:
m_LocalPosition.x
value
:
0
value
:
0
.07498603
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
337530617404788016
,
guid
:
a4dcd71ec9f819f4e88c7b5ac24f4b0d
,
-
target
:
{
fileID
:
494213313239497131
,
guid
:
449b2ca4d925da541bb45c84b63aab98
,
type
:
3
}
propertyPath
:
m_LocalPosition.y
value
:
0
value
:
2.0087242e-18
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
337530617404788016
,
guid
:
a4dcd71ec9f819f4e88c7b5ac24f4b0d
,
-
target
:
{
fileID
:
494213313239497131
,
guid
:
449b2ca4d925da541bb45c84b63aab98
,
type
:
3
}
propertyPath
:
m_LocalPosition.z
value
:
0
value
:
-0.09046489
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
337530617404788016
,
guid
:
a4dcd71ec9f819f4e88c7b5ac24f4b0d
,
-
target
:
{
fileID
:
494213313239497131
,
guid
:
449b2ca4d925da541bb45c84b63aab98
,
type
:
3
}
propertyPath
:
m_LocalRotation.x
value
:
0
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
337530617404788016
,
guid
:
a4dcd71ec9f819f4e88c7b5ac24f4b0d
,
-
target
:
{
fileID
:
494213313239497131
,
guid
:
449b2ca4d925da541bb45c84b63aab98
,
type
:
3
}
propertyPath
:
m_LocalRotation.y
value
:
0
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
337530617404788016
,
guid
:
a4dcd71ec9f819f4e88c7b5ac24f4b0d
,
-
target
:
{
fileID
:
494213313239497131
,
guid
:
449b2ca4d925da541bb45c84b63aab98
,
type
:
3
}
propertyPath
:
m_LocalRotation.z
value
:
0
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
337530617404788016
,
guid
:
a4dcd71ec9f819f4e88c7b5ac24f4b0d
,
-
target
:
{
fileID
:
494213313239497131
,
guid
:
449b2ca4d925da541bb45c84b63aab98
,
type
:
3
}
propertyPath
:
m_LocalRotation.w
value
:
1
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
337530617404788016
,
guid
:
a4dcd71ec9f819f4e88c7b5ac24f4b0d
,
-
target
:
{
fileID
:
494213313239497131
,
guid
:
449b2ca4d925da541bb45c84b63aab98
,
type
:
3
}
propertyPath
:
m_RootOrder
value
:
2
value
:
1
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
337530617404788016
,
guid
:
a4dcd71ec9f819f4e88c7b5ac24f4b0d
,
-
target
:
{
fileID
:
494213313239497131
,
guid
:
449b2ca4d925da541bb45c84b63aab98
,
type
:
3
}
propertyPath
:
m_LocalEulerAnglesHint.x
value
:
0
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
337530617404788016
,
guid
:
a4dcd71ec9f819f4e88c7b5ac24f4b0d
,
-
target
:
{
fileID
:
494213313239497131
,
guid
:
449b2ca4d925da541bb45c84b63aab98
,
type
:
3
}
propertyPath
:
m_LocalEulerAnglesHint.y
value
:
0
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
337530617404788016
,
guid
:
a4dcd71ec9f819f4e88c7b5ac24f4b0d
,
-
target
:
{
fileID
:
494213313239497131
,
guid
:
449b2ca4d925da541bb45c84b63aab98
,
type
:
3
}
propertyPath
:
m_LocalEulerAnglesHint.z
value
:
0
objectReference
:
{
fileID
:
0
}
m_RemovedComponents
:
[]
m_SourcePrefab
:
{
fileID
:
100100000
,
guid
:
a4dcd71ec9f819f4e88c7b5ac24f4b0d
,
type
:
3
}
---
!u!1001
&1142248856957432683
PrefabInstance
:
m_ObjectHideFlags
:
0
serializedVersion
:
2
m_Modification
:
m_TransformParent
:
{
fileID
:
0
}
m_Modifications
:
-
target
:
{
fileID
:
9006064965186749716
,
guid
:
eebda1dc9612e574aa33c3b9f8ded4f1
,
-
target
:
{
fileID
:
2401818891807728848
,
guid
:
449b2ca4d925da541bb45c84b63aab98
,
type
:
3
}
propertyPath
:
m_Name
value
:
wall_scattered
propertyPath
:
lightMultiplier
value
:
10
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
5377475553280063239
,
guid
:
eebda1dc9612e574aa33c3b9f8ded4f1
,
-
target
:
{
fileID
:
2401818891807728848
,
guid
:
449b2ca4d925da541bb45c84b63aab98
,
type
:
3
}
propertyPath
:
m
_LocalPosition.x
value
:
0
propertyPath
:
m
eshContainer
value
:
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
5377475553280063239
,
guid
:
eebda1dc9612e574aa33c3b9f8ded4f1
,
-
target
:
{
fileID
:
2401818891807728848
,
guid
:
449b2ca4d925da541bb45c84b63aab98
,
type
:
3
}
propertyPath
:
m_LocalPosition.y
value
:
0
propertyPath
:
spotExponent
value
:
1
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
5377475553280063239
,
guid
:
eebda1dc9612e574aa33c3b9f8ded4f1
,
-
target
:
{
fileID
:
2401818891807728848
,
guid
:
449b2ca4d925da541bb45c84b63aab98
,
type
:
3
}
propertyPath
:
m_LocalPosition.z
propertyPath
:
useDithering
value
:
1
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
2401818891807728848
,
guid
:
449b2ca4d925da541bb45c84b63aab98
,
type
:
3
}
propertyPath
:
useCurves
value
:
0
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
5377475553280063239
,
guid
:
eebda1dc9612e574aa33c3b9f8ded4f1
,
-
target
:
{
fileID
:
2401818891807728848
,
guid
:
449b2ca4d925da541bb45c84b63aab98
,
type
:
3
}
propertyPath
:
m_LocalRotation.x
propertyPath
:
_fallOffTexture
value
:
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
2401818891807728848
,
guid
:
449b2ca4d925da541bb45c84b63aab98
,
type
:
3
}
propertyPath
:
useSoftBlend
value
:
0
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
5377475553280063239
,
guid
:
eebda1dc9612e574aa33c3b9f8ded4f1
,
-
target
:
{
fileID
:
2401818891807728848
,
guid
:
449b2ca4d925da541bb45c84b63aab98
,
type
:
3
}
propertyPath
:
m_LocalRotation.y
propertyPath
:
colorTint.r
value
:
1
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
2401818891807728848
,
guid
:
449b2ca4d925da541bb45c84b63aab98
,
type
:
3
}
propertyPath
:
colorTint.g
value
:
0
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
5377475553280063239
,
guid
:
eebda1dc9612e574aa33c3b9f8ded4f1
,
-
target
:
{
fileID
:
2401818891807728848
,
guid
:
449b2ca4d925da541bb45c84b63aab98
,
type
:
3
}
propertyPath
:
m_LocalRotation.z
propertyPath
:
colorTint.b
value
:
0
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
5377475553280063239
,
guid
:
eebda1dc9612e574aa33c3b9f8ded4f1
,
-
target
:
{
fileID
:
2401818891807728848
,
guid
:
449b2ca4d925da541bb45c84b63aab98
,
type
:
3
}
propertyPath
:
m_LocalRotation.w
propertyPath
:
colorTint.a
value
:
1
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
5377475553280063239
,
guid
:
eebda1dc9612e574aa33c3b9f8ded4f1
,
-
target
:
{
fileID
:
3282366221125495561
,
guid
:
449b2ca4d925da541bb45c84b63aab98
,
type
:
3
}
propertyPath
:
m_
RootOrder
propertyPath
:
m_
IsActive
value
:
1
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
5377475553280063239
,
guid
:
eebda1dc9612e574aa33c3b9f8ded4f1
,
-
target
:
{
fileID
:
2283781400988830345
,
guid
:
449b2ca4d925da541bb45c84b63aab98
,
type
:
3
}
propertyPath
:
m_
LocalEulerAnglesHint.x
value
:
0
propertyPath
:
m_
CullingMask.m_Bits
value
:
2147481327
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
5377475553280063239
,
guid
:
eebda1dc9612e574aa33c3b9f8ded4f1
,
-
target
:
{
fileID
:
2283781400988830345
,
guid
:
449b2ca4d925da541bb45c84b63aab98
,
type
:
3
}
propertyPath
:
m_LocalEulerAnglesHint.y
value
:
0
propertyPath
:
far clip plane
value
:
5
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
5377475553280063239
,
guid
:
eebda1dc9612e574aa33c3b9f8ded4f1
,
-
target
:
{
fileID
:
3848187736642518088
,
guid
:
449b2ca4d925da541bb45c84b63aab98
,
type
:
3
}
propertyPath
:
m_LocalEulerAnglesHint.z
value
:
0
propertyPath
:
m_Mesh
value
:
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
886384046876709786
,
guid
:
449b2ca4d925da541bb45c84b63aab98
,
type
:
3
}
propertyPath
:
m_Materials.Array.data[0]
value
:
objectReference
:
{
fileID
:
0
}
m_RemovedComponents
:
[]
m_SourcePrefab
:
{
fileID
:
100100000
,
guid
:
eebda1dc9612e574aa33c3b9f8ded4f1
,
type
:
3
}
m_SourcePrefab
:
{
fileID
:
100100000
,
guid
:
449b2ca4d925da541bb45c84b63aab98
,
type
:
3
}
Assets/Scenes/PlayStage.unity
View file @
2ec188b7
This diff is collapsed.
Click to expand it.
Assets/Scripts/CameraController.cs
View file @
2ec188b7
...
...
@@ -4,6 +4,8 @@ using UnityEngine;
public
class
CameraController
:
MonoBehaviour
{
public
GameObject
helpUI
;
Vector3
dragOrigin
;
Vector3
moveOrigin
;
public
float
dragSpeed
;
...
...
@@ -109,6 +111,7 @@ public class CameraController : MonoBehaviour
player
.
head
.
transform
.
Find
(
"Head 19"
).
gameObject
.
layer
=
LayerMask
.
NameToLayer
(
"Head"
);
// Invisible mouse cursor
helpUI
.
SetActive
(
true
);
Cursor
.
visible
=
false
;
Cursor
.
lockState
=
CursorLockMode
.
Locked
;
}
...
...
@@ -121,6 +124,7 @@ public class CameraController : MonoBehaviour
float
startTime
=
Time
.
time
;
Vector3
posDiff
=
(
previousPos
-
transform
.
position
)
/
cameraMoveDuration
;
player
.
laser
.
SetActive
(
false
);
helpUI
.
SetActive
(
false
);
GameManager
.
inst
.
isZooming
=
true
;
player
.
anim
.
SetBool
(
"isShooting"
,
false
);
player
.
head
.
transform
.
Find
(
"Head 19"
).
gameObject
.
layer
=
LayerMask
.
NameToLayer
(
"Player"
);
...
...
Assets/Scripts/Managers/GameManager.cs
View file @
2ec188b7
...
...
@@ -19,8 +19,8 @@ public class GameManager : SingletonBehaviour<GameManager>
public
CommentUIGenerator
commentUIGenerator
;
public
Image
whiteout
;
public
GameObject
clearUI
;
public
GameObject
clearUInextBtn
;
public
GameObject
buttonUIs
;
public
Text
clearUINextText
;
[
Header
(
"Stage Data"
)]
public
bool
isGameOver
=
false
;
...
...
@@ -95,8 +95,8 @@ public class GameManager : SingletonBehaviour<GameManager>
{
if
(
isPlayerShooting
)
yield
return
StartCoroutine
(
Camera
.
main
.
gameObject
.
GetComponent
<
CameraController
>().
ZoomOutFromPlayer
(
PlayerController
.
inst
.
currentPlayer
));
yield
return
null
;
clearUINextText
.
text
=
StageSelector
.
nextStage
.
Replace
(
"_"
,
" - "
);
clearUI
.
SetActive
(
true
);
if
(
StageSelector
.
nextStage
.
Length
<
3
)
clearUInextBtn
.
SetActive
(
false
);
buttonUIs
.
SetActive
(
false
);
Debug
.
Log
(
"Stage Clear!"
);
...
...
@@ -137,11 +137,13 @@ public class GameManager : SingletonBehaviour<GameManager>
StageSelector
.
inst
.
stageIdx
++;
if
(
StageSelector
.
inst
.
stageIdxs
.
Count
>
StageSelector
.
inst
.
stageIdx
+
1
)
{
StageSelector
.
nextStage
=
StageSelector
.
inst
.
stageIdxs
[
StageSelector
.
inst
.
stageIdx
+
1
];
var
tempNext
=
StageSelector
.
inst
.
stageIdxs
[
StageSelector
.
inst
.
stageIdx
+
1
];
if
(
tempNext
[
2
]
==
'1'
)
StageSelector
.
nextStage
=
""
;
else
StageSelector
.
nextStage
=
tempNext
;
}
else
{
StageSelector
.
nextStage
=
"
1_1
"
;
StageSelector
.
nextStage
=
""
;
}
StartCoroutine
(
RestartStage
());
...
...
Assets/Scripts/Player.cs
View file @
2ec188b7
...
...
@@ -103,13 +103,13 @@ public class Player : MonoBehaviour
public
IEnumerator
CountPlayerClick
(
float
startTime
)
{
float
time
=
Time
.
time
;
float
endTime
=
startTime
+
1
.5
f
;
float
endTime
=
startTime
+
1f
;
aimLight
.
gameObject
.
SetActive
(
true
);
while
(
time
<=
endTime
)
{
yield
return
null
;
aimLight
.
lightMultiplier
+=
3
*
Time
.
deltaTime
;
aimLight
.
spotAngle
-=
4
0
*
Time
.
deltaTime
;
aimLight
.
lightMultiplier
+=
10
*
Time
.
deltaTime
;
aimLight
.
spotAngle
-=
6
0
*
Time
.
deltaTime
;
time
=
Time
.
time
;
if
(!
Input
.
GetMouseButton
(
0
))
{
...
...
Assets/Scripts/StageSelector.cs
View file @
2ec188b7
...
...
@@ -55,7 +55,7 @@ public class StageSelector : SingletonBehaviour<StageSelector>
var
uiText
=
uiInst
.
GetComponentInChildren
<
Text
>();
string
uiStage
=
(
i
+
1
)
+
"_"
+
(
j
+
1
);
stageIdxs
.
Add
(
uiStage
);
string
nextStage
=
(
j
<
categoryCounts
[
i
])
?
((
i
+
1
)
+
"_"
+
(
j
+
2
))
:
((
i
+
2
)
+
"_0"
)
;
string
nextStage
=
(
j
+
1
<
categoryCounts
[
i
])
?
((
i
+
1
)
+
"_"
+
(
j
+
2
))
:
""
;
int
_stageidx
=
stageIdxCounter
++;
uiInst
.
GetComponent
<
Button
>().
onClick
.
AddListener
(()
=>
StartSelectedStage
(
uiStage
,
nextStage
,
_stageidx
));
uiInst
.
transform
.
localPosition
=
generatePoint
;
...
...
ProjectSettings/QualitySettings.asset
View file @
2ec188b7
...
...
@@ -75,7 +75,8 @@ QualitySettings:
asyncUploadBufferSize
:
16
asyncUploadPersistentBuffer
:
1
resolutionScalingFixedDPIFactor
:
1
excludedTargetPlatforms
:
[]
excludedTargetPlatforms
:
-
Standalone
-
serializedVersion
:
2
name
:
Medium
pixelLightCount
:
1
...
...
@@ -110,7 +111,8 @@ QualitySettings:
asyncUploadBufferSize
:
16
asyncUploadPersistentBuffer
:
1
resolutionScalingFixedDPIFactor
:
1
excludedTargetPlatforms
:
[]
excludedTargetPlatforms
:
-
Standalone
-
serializedVersion
:
2
name
:
High
pixelLightCount
:
2
...
...
@@ -145,9 +147,10 @@ QualitySettings:
asyncUploadBufferSize
:
16
asyncUploadPersistentBuffer
:
1
resolutionScalingFixedDPIFactor
:
1
excludedTargetPlatforms
:
[]
excludedTargetPlatforms
:
-
Standalone
-
serializedVersion
:
2
name
:
Very High
name
:
Recommend
pixelLightCount
:
3
shadows
:
2
shadowResolution
:
2
...
...
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