This commit is contained in:
SweetJJuya 2024-10-31 14:28:29 +09:00
parent 3cb6c7b52b
commit d4d2580abd

View File

@ -60,7 +60,6 @@ public class TycoonGameOver : MonoBehaviour
_shipRectTransform = _ship.GetComponent<RectTransform>();
originalPosition = _shipRectTransform.anchoredPosition;
}
private void OnDestroy()
{
EventManager.OnDead -= GameOver_Start;
@ -77,6 +76,7 @@ public class TycoonGameOver : MonoBehaviour
// 코루틴 정의
IEnumerator MoveObject()
{
VisualFeedbackManager.Instance.SetBaseTimeScale(0.0f);
_panel.SetActive(true);
// 2.0초 동안은 흔들리기만 함
float timer = 0f;