+ GameManager CurrentCombatPlayer 버그 및 로직 수정 + 타이탄 슬라임 스프라이트 변경 + Tycoon action 추가 + JumpSlam 스프라이트 형식으로 변경 + Npc 레이어 추가
35 lines
1.1 KiB
C#
35 lines
1.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using Sirenix.OdinInspector;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
namespace BlueWater.Uis
|
|
{
|
|
public class ClearPopupUi : PopupUi
|
|
{
|
|
[SerializeField]
|
|
private Button _moveNextStageButton;
|
|
|
|
[Button("컴포넌트 초기화")]
|
|
private void InitializeComponents()
|
|
{
|
|
_moveNextStageButton = transform.Find("ClearPanel/Popup Base - Concave/Bottom/Background/Border/MoveNextStageButton").GetComponent<Button>();
|
|
}
|
|
|
|
public override void Open(List<PopupUi> popupUiList)
|
|
{
|
|
base.Open(popupUiList);
|
|
VisualFeedbackManager.Instance.SetBaseTimeScale(1f);
|
|
PlayerInputKeyManager.Instance.DisableCurrentPlayerInput();
|
|
_moveNextStageButton.interactable = (int)DataManager.Instance.CurrentSaveStage < Enum.GetValues(typeof(SaveStage)).Length - 1;
|
|
}
|
|
|
|
public override void Close()
|
|
{
|
|
base.Close();
|
|
PlayerInputKeyManager.Instance.EnableCurrentPlayerInput();
|
|
VisualFeedbackManager.Instance.SetBaseTimeScale(1f);
|
|
}
|
|
}
|
|
} |