From 8b1fc7063b387542803c6bc214ccf8acb32870bd Mon Sep 17 00:00:00 2001
From: chai <215380520@qq.com>
Date: Sun, 19 May 2024 16:46:27 +0800
Subject: * rename
---
Thronefall_1_0/GameCode/WaveCountPopUp.cs | 77 -------------------------------
1 file changed, 77 deletions(-)
delete mode 100644 Thronefall_1_0/GameCode/WaveCountPopUp.cs
(limited to 'Thronefall_1_0/GameCode/WaveCountPopUp.cs')
diff --git a/Thronefall_1_0/GameCode/WaveCountPopUp.cs b/Thronefall_1_0/GameCode/WaveCountPopUp.cs
deleted file mode 100644
index cf4b150..0000000
--- a/Thronefall_1_0/GameCode/WaveCountPopUp.cs
+++ /dev/null
@@ -1,77 +0,0 @@
-using System.Collections;
-using TMPro;
-using UnityEngine;
-
-public class WaveCountPopUp : MonoBehaviour, DayNightCycle.IDaytimeSensitive
-{
- public GameObject popup;
-
- public AnimationCurve scaleCurve;
-
- public float animationTime = 0.75f;
-
- public float initialDelay = 0.5f;
-
- public float showTime = 3f;
-
- public TextMeshProUGUI targetText;
-
- private bool inAnimation;
-
- private void Start()
- {
- popup.SetActive(value: false);
- DayNightCycle.Instance.RegisterDaytimeSensitiveObject(this);
- }
-
- public void OnDawn_AfterSunrise()
- {
- }
-
- public void OnDawn_BeforeSunrise()
- {
- }
-
- public void OnDusk()
- {
- if (!inAnimation)
- {
- StartCoroutine(PopUpAnimation());
- }
- }
-
- private IEnumerator PopUpAnimation()
- {
- inAnimation = true;
- popup.SetActive(value: true);
- popup.transform.localScale = Vector3.zero;
- float timer2 = 0f;
- yield return new WaitForSeconds(initialDelay);
- targetText.text = "