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