From 677b3a0d9fa0d812742e387c11f40b5c35497d35 Mon Sep 17 00:00:00 2001 From: Jay <96156114+jaydev00a@users.noreply.github.com> Date: Thu, 27 Mar 2025 10:01:28 +0900 Subject: [PATCH 1/2] =?UTF-8?q?DO-65=20[Fix]=20=EC=8A=B9=EB=A6=AC=ED=8C=A8?= =?UTF-8?q?=EB=84=90=20=EB=82=98=ED=83=80=EB=82=A0=20=EB=95=8C=20=EB=B0=B0?= =?UTF-8?q?=EA=B2=BD=20=EB=B6=84=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Resources/Prefabs/Effects/Win Effect Panel.prefab | 2 +- Assets/Script/UI/Effect/WinEffectController.cs | 10 ++++++++++ Assets/Script/UI/PanelController/PanelManager.cs | 2 ++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/Assets/Resources/Prefabs/Effects/Win Effect Panel.prefab b/Assets/Resources/Prefabs/Effects/Win Effect Panel.prefab index a1f88a4..75a7c3f 100644 --- a/Assets/Resources/Prefabs/Effects/Win Effect Panel.prefab +++ b/Assets/Resources/Prefabs/Effects/Win Effect Panel.prefab @@ -867,7 +867,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 9b132148519758c42824252ec9a2d3a4, type: 3} m_Name: m_EditorClassIdentifier: - bannerObj: {fileID: 0} + bannerObj: {fileID: 7291411618834705046} bannerText: {fileID: 5108301403921453943} interval: 0.1 haloEffectImg: {fileID: 376994097320605198} diff --git a/Assets/Script/UI/Effect/WinEffectController.cs b/Assets/Script/UI/Effect/WinEffectController.cs index 76c09a5..1948fc9 100644 --- a/Assets/Script/UI/Effect/WinEffectController.cs +++ b/Assets/Script/UI/Effect/WinEffectController.cs @@ -27,6 +27,16 @@ public class WinEffectController : EffectController Invoke(nameof(PopupObject), 0.3f); } + protected override void ShowPanel() + { + CanvasGroup canvasGroup = gameObject.GetComponent() ?? gameObject.AddComponent(); + + canvasGroup.alpha = 0f; + canvasGroup.DOFade(1f, 1f); + bannerObj.transform.DOScale(Vector3.zero, 0f); + bannerObj.transform.DOScale(Vector3.one, 1f); + } + private void RotateHaloObject() { // 무한 회전 효과 diff --git a/Assets/Script/UI/PanelController/PanelManager.cs b/Assets/Script/UI/PanelController/PanelManager.cs index cbfc844..c7db20b 100644 --- a/Assets/Script/UI/PanelController/PanelManager.cs +++ b/Assets/Script/UI/PanelController/PanelManager.cs @@ -38,6 +38,8 @@ public class PanelManager : MonoBehaviour } Debug.Log($"총 {panelPrefabs.Count}개의 패널이 로드됨."); + + OpenEffectPanel(Enums.GameResult.Win); } void SetCanvas() From b50505d051dc122cc9cca21157f8c2b68e484c25 Mon Sep 17 00:00:00 2001 From: Jay <96156114+jaydev00a@users.noreply.github.com> Date: Thu, 27 Mar 2025 10:04:03 +0900 Subject: [PATCH 2/2] =?UTF-8?q?DO-65=20[Style]=20=EC=95=88=EC=93=B0?= =?UTF-8?q?=EB=8A=94=20=ED=98=B8=EC=B6=9C=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Script/UI/PanelController/PanelManager.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/Assets/Script/UI/PanelController/PanelManager.cs b/Assets/Script/UI/PanelController/PanelManager.cs index fddca65..6aada1c 100644 --- a/Assets/Script/UI/PanelController/PanelManager.cs +++ b/Assets/Script/UI/PanelController/PanelManager.cs @@ -38,8 +38,6 @@ public class PanelManager : MonoBehaviour } Debug.Log($"총 {panelPrefabs.Count}개의 패널이 로드됨."); - - OpenEffectPanel(Enums.GameResult.Win); } void SetCanvas()