수정 내역 1. 아이템 인벤토리 씬별로 스크립트 구분 2. 전투씬에 GameOver, Clear, Menu Ui 추가 버그 수정 내역 1. 팝업UI 간의 충돌 버그 수정
23 lines
535 B
C#
23 lines
535 B
C#
using UnityEngine;
|
|
using UnityEngine.InputSystem;
|
|
|
|
// ReSharper disable once CheckNamespace
|
|
namespace BlueWaterProject
|
|
{
|
|
public class GameOverPopupUi : PopupUi
|
|
{
|
|
public override void Open()
|
|
{
|
|
Time.timeScale = 0f;
|
|
FindAnyObjectByType<PlayerInput>().enabled = false;
|
|
base.Open();
|
|
}
|
|
|
|
public override void Close()
|
|
{
|
|
Time.timeScale = 1f;
|
|
FindAnyObjectByType<PlayerInput>().enabled = true;
|
|
base.Close();
|
|
}
|
|
}
|
|
} |