From c5f145786f4c6d2fe4bea831dfc16e52228920a5 Mon Sep 17 00:00:00 2001
From: chai <215380520@qq.com>
Date: Sun, 19 May 2024 16:05:01 +0800
Subject: * move
---
GameCode/WaveCountPopUp.cs | 77 ----------------------------------------------
1 file changed, 77 deletions(-)
delete mode 100644 GameCode/WaveCountPopUp.cs
(limited to 'GameCode/WaveCountPopUp.cs')
diff --git a/GameCode/WaveCountPopUp.cs b/GameCode/WaveCountPopUp.cs
deleted file mode 100644
index cf4b150..0000000
--- a/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 = "