Merge pull request #63 from Degulleo/DO-65-승리-패널-나타나는-효과-배경-분리-필요
Do 65 승리 패널 나타나는 효과 배경 분리 필요
This commit is contained in:
commit
d906bc234f
@ -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}
|
||||
|
@ -27,6 +27,16 @@ public class WinEffectController : EffectController
|
||||
Invoke(nameof(PopupObject), 0.3f);
|
||||
}
|
||||
|
||||
protected override void ShowPanel()
|
||||
{
|
||||
CanvasGroup canvasGroup = gameObject.GetComponent<CanvasGroup>() ?? gameObject.AddComponent<CanvasGroup>();
|
||||
|
||||
canvasGroup.alpha = 0f;
|
||||
canvasGroup.DOFade(1f, 1f);
|
||||
bannerObj.transform.DOScale(Vector3.zero, 0f);
|
||||
bannerObj.transform.DOScale(Vector3.one, 1f);
|
||||
}
|
||||
|
||||
private void RotateHaloObject()
|
||||
{
|
||||
// 무한 회전 효과
|
||||
|
Loading…
x
Reference in New Issue
Block a user