Commit 87a1abf7 authored by 18신대성's avatar 18신대성

clearUI에 다음 스테이지가 뭔지 표시되게 만듬

parent 858e1e0c
...@@ -386,7 +386,7 @@ GameObject: ...@@ -386,7 +386,7 @@ GameObject:
m_Icon: {fileID: 0} m_Icon: {fileID: 0}
m_NavMeshLayer: 0 m_NavMeshLayer: 0
m_StaticEditorFlags: 0 m_StaticEditorFlags: 0
m_IsActive: 0 m_IsActive: 1
--- !u!224 &238561069 --- !u!224 &238561069
RectTransform: RectTransform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
...@@ -1272,7 +1272,7 @@ RectTransform: ...@@ -1272,7 +1272,7 @@ RectTransform:
m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: -28.1} m_AnchoredPosition: {x: 0, y: -28.1}
m_SizeDelta: {x: 160, y: 30} m_SizeDelta: {x: 140, y: 70}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1463021450 --- !u!114 &1463021450
MonoBehaviour: MonoBehaviour:
...@@ -1296,11 +1296,11 @@ MonoBehaviour: ...@@ -1296,11 +1296,11 @@ MonoBehaviour:
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_FontData: m_FontData:
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
m_FontSize: 25 m_FontSize: 45
m_FontStyle: 0 m_FontStyle: 0
m_BestFit: 0 m_BestFit: 0
m_MinSize: 10 m_MinSize: 4
m_MaxSize: 40 m_MaxSize: 74
m_Alignment: 4 m_Alignment: 4
m_AlignByGeometry: 0 m_AlignByGeometry: 0
m_RichText: 1 m_RichText: 1
...@@ -1655,7 +1655,7 @@ GameObject: ...@@ -1655,7 +1655,7 @@ GameObject:
m_Icon: {fileID: 0} m_Icon: {fileID: 0}
m_NavMeshLayer: 0 m_NavMeshLayer: 0
m_StaticEditorFlags: 0 m_StaticEditorFlags: 0
m_IsActive: 1 m_IsActive: 0
--- !u!224 &1839944656 --- !u!224 &1839944656
RectTransform: RectTransform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
...@@ -2003,6 +2003,10 @@ PrefabInstance: ...@@ -2003,6 +2003,10 @@ PrefabInstance:
propertyPath: clearUI propertyPath: clearUI
value: value:
objectReference: {fileID: 238561068} objectReference: {fileID: 238561068}
- target: {fileID: 2122327709, guid: 42247a938bb6e554eb00dc08303a72d6, type: 3}
propertyPath: clearUINextText
value:
objectReference: {fileID: 1463021450}
- target: {fileID: 52444459818764334, guid: 42247a938bb6e554eb00dc08303a72d6, - target: {fileID: 52444459818764334, guid: 42247a938bb6e554eb00dc08303a72d6,
type: 3} type: 3}
propertyPath: m_Name propertyPath: m_Name
......
...@@ -19,6 +19,7 @@ public class GameManager : SingletonBehaviour<GameManager> ...@@ -19,6 +19,7 @@ public class GameManager : SingletonBehaviour<GameManager>
public CommentUIGenerator commentUIGenerator; public CommentUIGenerator commentUIGenerator;
public Image whiteout; public Image whiteout;
public GameObject clearUI; public GameObject clearUI;
public Text clearUINextText;
[Header("Stage Data")] [Header("Stage Data")]
public bool isGameOver = false; public bool isGameOver = false;
...@@ -90,6 +91,7 @@ public class GameManager : SingletonBehaviour<GameManager> ...@@ -90,6 +91,7 @@ public class GameManager : SingletonBehaviour<GameManager>
{ {
if (isPlayerShooting) yield return StartCoroutine(Camera.main.gameObject.GetComponent<CameraController>().ZoomOutFromPlayer(PlayerController.inst.currentPlayer)); if (isPlayerShooting) yield return StartCoroutine(Camera.main.gameObject.GetComponent<CameraController>().ZoomOutFromPlayer(PlayerController.inst.currentPlayer));
yield return null; yield return null;
clearUINextText.text = StageSelector.nextStage.Replace("-", " - ");
clearUI.SetActive(true); clearUI.SetActive(true);
Debug.Log("Stage Clear!"); Debug.Log("Stage Clear!");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment