+ GameManager CurrentCombatPlayer 버그 및 로직 수정 + 타이탄 슬라임 스프라이트 변경 + Tycoon action 추가 + JumpSlam 스프라이트 형식으로 변경 + Npc 레이어 추가
30 lines
769 B
C#
30 lines
769 B
C#
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace BlueWater.Uis
|
|
{
|
|
public class SwitchActionPopupUi : PopupUi
|
|
{
|
|
[SerializeField]
|
|
protected InputActionMaps SwitchMapsOpened;
|
|
|
|
[SerializeField]
|
|
protected InputActionMaps SwitchMapsClosed;
|
|
|
|
public override void Open(List<PopupUi> popupUiList)
|
|
{
|
|
base.Open(popupUiList);
|
|
|
|
PlayerInputKeyManager.Instance.SwitchCurrentActionMap(SwitchMapsOpened);
|
|
}
|
|
|
|
public override void Close()
|
|
{
|
|
base.Close();
|
|
|
|
if (PopupUiList.Count > 0) return;
|
|
|
|
PlayerInputKeyManager.Instance.SwitchCurrentActionMap(SwitchMapsClosed);
|
|
}
|
|
}
|
|
} |