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
87a1abf7
Commit
87a1abf7
authored
Aug 09, 2019
by
18신대성
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clearUI에 다음 스테이지가 뭔지 표시되게 만듬
parent
858e1e0c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
6 deletions
+12
-6
PlayStage.unity
Assets/Scenes/PlayStage.unity
+10
-6
GameManager.cs
Assets/Scripts/Managers/GameManager.cs
+2
-0
No files found.
Assets/Scenes/PlayStage.unity
View file @
87a1abf7
...
...
@@ -386,7 +386,7 @@ GameObject:
m_Icon
:
{
fileID
:
0
}
m_NavMeshLayer
:
0
m_StaticEditorFlags
:
0
m_IsActive
:
0
m_IsActive
:
1
---
!u!224
&238561069
RectTransform
:
m_ObjectHideFlags
:
0
...
...
@@ -1272,7 +1272,7 @@ RectTransform:
m_AnchorMin
:
{
x
:
0.5
,
y
:
0.5
}
m_AnchorMax
:
{
x
:
0.5
,
y
:
0.5
}
m_AnchoredPosition
:
{
x
:
0
,
y
:
-28.1
}
m_SizeDelta
:
{
x
:
1
60
,
y
:
3
0
}
m_SizeDelta
:
{
x
:
1
40
,
y
:
7
0
}
m_Pivot
:
{
x
:
0.5
,
y
:
0.5
}
---
!u!114
&1463021450
MonoBehaviour
:
...
...
@@ -1296,11 +1296,11 @@ MonoBehaviour:
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_FontData
:
m_Font
:
{
fileID
:
10102
,
guid
:
0000000000000000e000000000000000
,
type
:
0
}
m_FontSize
:
2
5
m_FontSize
:
4
5
m_FontStyle
:
0
m_BestFit
:
0
m_MinSize
:
10
m_MaxSize
:
40
m_MinSize
:
4
m_MaxSize
:
74
m_Alignment
:
4
m_AlignByGeometry
:
0
m_RichText
:
1
...
...
@@ -1655,7 +1655,7 @@ GameObject:
m_Icon
:
{
fileID
:
0
}
m_NavMeshLayer
:
0
m_StaticEditorFlags
:
0
m_IsActive
:
1
m_IsActive
:
0
---
!u!224
&1839944656
RectTransform
:
m_ObjectHideFlags
:
0
...
...
@@ -2003,6 +2003,10 @@ PrefabInstance:
propertyPath
:
clearUI
value
:
objectReference
:
{
fileID
:
238561068
}
-
target
:
{
fileID
:
2122327709
,
guid
:
42247a938bb6e554eb00dc08303a72d6
,
type
:
3
}
propertyPath
:
clearUINextText
value
:
objectReference
:
{
fileID
:
1463021450
}
-
target
:
{
fileID
:
52444459818764334
,
guid
:
42247a938bb6e554eb00dc08303a72d6
,
type
:
3
}
propertyPath
:
m_Name
...
...
Assets/Scripts/Managers/GameManager.cs
View file @
87a1abf7
...
...
@@ -19,6 +19,7 @@ public class GameManager : SingletonBehaviour<GameManager>
public
CommentUIGenerator
commentUIGenerator
;
public
Image
whiteout
;
public
GameObject
clearUI
;
public
Text
clearUINextText
;
[
Header
(
"Stage Data"
)]
public
bool
isGameOver
=
false
;
...
...
@@ -90,6 +91,7 @@ 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
);
Debug
.
Log
(
"Stage Clear!"
);
...
...
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