From 591b31be0ac7470ef088acdbb3e73a71f0aa960e Mon Sep 17 00:00:00 2001 From: sin365 <353374337@qq.com> Date: Mon, 6 May 2024 11:25:52 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=84=E6=95=B4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Scripts/Event/Item/EventItemArtifact1.cs | 4 ---- Assets/Scripts/Event/Item/EventItemArtifact2.cs | 4 ---- Assets/Scripts/Event/Item/EventItemArtifact4.cs | 2 -- Assets/Scripts/Event/Item/EventItemBook.cs | 1 - Assets/Scripts/Event/Item/EventItemOther4.cs | 2 -- Assets/Scripts/Event/Item/EventItemOther6.cs | 2 -- Assets/Scripts/Manager/PlayerManager.cs | 14 -------------- Assets/Scripts/Manager/SoundManager.cs | 2 -- 8 files changed, 31 deletions(-) diff --git a/Assets/Scripts/Event/Item/EventItemArtifact1.cs b/Assets/Scripts/Event/Item/EventItemArtifact1.cs index 4f45d2b..344da6b 100644 --- a/Assets/Scripts/Event/Item/EventItemArtifact1.cs +++ b/Assets/Scripts/Event/Item/EventItemArtifact1.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections; -using System.Collections.Generic; using UnityEngine; -using UnityEngine.UI; public class EventItemArtifact1 : MonoBehaviour, IInteraction { diff --git a/Assets/Scripts/Event/Item/EventItemArtifact2.cs b/Assets/Scripts/Event/Item/EventItemArtifact2.cs index 20736ce..f920416 100644 --- a/Assets/Scripts/Event/Item/EventItemArtifact2.cs +++ b/Assets/Scripts/Event/Item/EventItemArtifact2.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections; -using System.Collections.Generic; using UnityEngine; -using UnityEngine.UI; public class EventItemArtifact2 : MonoBehaviour, IInteraction { diff --git a/Assets/Scripts/Event/Item/EventItemArtifact4.cs b/Assets/Scripts/Event/Item/EventItemArtifact4.cs index 87e7602..c1fbfb2 100644 --- a/Assets/Scripts/Event/Item/EventItemArtifact4.cs +++ b/Assets/Scripts/Event/Item/EventItemArtifact4.cs @@ -1,7 +1,5 @@ -using System.Collections; using System.Collections.Generic; using UnityEngine; -using UnityEngine.UI; public class EventItemArtifact4 : MonoBehaviour, IInteraction { diff --git a/Assets/Scripts/Event/Item/EventItemBook.cs b/Assets/Scripts/Event/Item/EventItemBook.cs index 2825a61..7bb216c 100644 --- a/Assets/Scripts/Event/Item/EventItemBook.cs +++ b/Assets/Scripts/Event/Item/EventItemBook.cs @@ -1,4 +1,3 @@ -using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; diff --git a/Assets/Scripts/Event/Item/EventItemOther4.cs b/Assets/Scripts/Event/Item/EventItemOther4.cs index d34f997..9fc7172 100644 --- a/Assets/Scripts/Event/Item/EventItemOther4.cs +++ b/Assets/Scripts/Event/Item/EventItemOther4.cs @@ -1,5 +1,3 @@ -using System.Collections; -using System.Collections.Generic; using UnityEngine; public class EventItemOther4 : MonoBehaviour, IInteraction diff --git a/Assets/Scripts/Event/Item/EventItemOther6.cs b/Assets/Scripts/Event/Item/EventItemOther6.cs index 10d2db3..0d180b9 100644 --- a/Assets/Scripts/Event/Item/EventItemOther6.cs +++ b/Assets/Scripts/Event/Item/EventItemOther6.cs @@ -1,7 +1,5 @@ -using System.Collections; using System.Collections.Generic; using UnityEngine; -using UnityEngine.UI; public class EventItemOther6 : MonoBehaviour, IInteraction { diff --git a/Assets/Scripts/Manager/PlayerManager.cs b/Assets/Scripts/Manager/PlayerManager.cs index 2875dc0..24ce64d 100644 --- a/Assets/Scripts/Manager/PlayerManager.cs +++ b/Assets/Scripts/Manager/PlayerManager.cs @@ -1,7 +1,5 @@ using System; -using System.Collections; using System.Collections.Generic; -using System.Linq; using UnityEngine; /// @@ -215,18 +213,6 @@ public class PlayerManager : Singleton if (Input.GetKeyDown(KeyCode.JoystickButton3)) GameManager.Instance.EventManager.OnArtifactUp?.Invoke(); if (Input.GetKeyDown(KeyCode.JoystickButton0)) GameManager.Instance.EventManager.OnArtifactDown?.Invoke(); - ////循环遍历输出 - //if (Input.anyKeyDown) - //{ - // foreach (KeyCode keyCode in Enum.GetValues(typeof(KeyCode))) - // { - // if (Input.GetKeyDown(keyCode)) - // { - // Debug.LogError("Current Key is : " + keyCode.ToString()); - // } - // } - //} - #region 长按 for(int i=0; i< KeepKeys.Length; i++) diff --git a/Assets/Scripts/Manager/SoundManager.cs b/Assets/Scripts/Manager/SoundManager.cs index 4383caa..3bda34b 100644 --- a/Assets/Scripts/Manager/SoundManager.cs +++ b/Assets/Scripts/Manager/SoundManager.cs @@ -1,6 +1,4 @@ using System; -using System.Collections; -using System.Collections.Generic; using UnityEngine; public enum ESoundType