规整代码
This commit is contained in:
parent
36d0b12ff8
commit
591b31be0a
@ -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
|
||||||
{
|
{
|
||||||
|
@ -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
|
||||||
{
|
{
|
||||||
|
@ -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
|
||||||
{
|
{
|
||||||
|
@ -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;
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
{
|
{
|
||||||
|
@ -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++)
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user