规整代码

This commit is contained in:
sin365 2024-05-06 11:25:52 +08:00
parent 36d0b12ff8
commit 591b31be0a
8 changed files with 0 additions and 31 deletions

View File

@ -1,8 +1,4 @@
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine; using UnityEngine;
using UnityEngine.UI;
public class EventItemArtifact1 : MonoBehaviour, IInteraction public class EventItemArtifact1 : MonoBehaviour, IInteraction
{ {

View File

@ -1,8 +1,4 @@
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine; using UnityEngine;
using UnityEngine.UI;
public class EventItemArtifact2 : MonoBehaviour, IInteraction public class EventItemArtifact2 : MonoBehaviour, IInteraction
{ {

View File

@ -1,7 +1,5 @@
using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using UnityEngine; using UnityEngine;
using UnityEngine.UI;
public class EventItemArtifact4 : MonoBehaviour, IInteraction public class EventItemArtifact4 : MonoBehaviour, IInteraction
{ {

View File

@ -1,4 +1,3 @@
using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using UnityEngine; using UnityEngine;
using UnityEngine.UI; using UnityEngine.UI;

View File

@ -1,5 +1,3 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine; using UnityEngine;
public class EventItemOther4 : MonoBehaviour, IInteraction public class EventItemOther4 : MonoBehaviour, IInteraction

View File

@ -1,7 +1,5 @@
using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using UnityEngine; using UnityEngine;
using UnityEngine.UI;
public class EventItemOther6 : MonoBehaviour, IInteraction public class EventItemOther6 : MonoBehaviour, IInteraction
{ {

View File

@ -1,7 +1,5 @@
using System; using System;
using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq;
using UnityEngine; using UnityEngine;
/// <summary> /// <summary>
@ -215,18 +213,6 @@ public class PlayerManager : Singleton<PlayerManager>
if (Input.GetKeyDown(KeyCode.JoystickButton3)) GameManager.Instance.EventManager.OnArtifactUp?.Invoke(); if (Input.GetKeyDown(KeyCode.JoystickButton3)) GameManager.Instance.EventManager.OnArtifactUp?.Invoke();
if (Input.GetKeyDown(KeyCode.JoystickButton0)) GameManager.Instance.EventManager.OnArtifactDown?.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 #region
for(int i=0; i< KeepKeys.Length; i++) for(int i=0; i< KeepKeys.Length; i++)

View File

@ -1,6 +1,4 @@
using System; using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine; using UnityEngine;
public enum ESoundType public enum ESoundType