This commit is contained in:
SoulliesOfficial
2025-12-12 11:09:39 -05:00
parent e5d0851aae
commit 07f3511133
42 changed files with 74315 additions and 26468 deletions

View File

@@ -56,7 +56,7 @@ public class GameInputManager : MonoBehaviour
private void Awake()
{
#if UNITY_STANDALONE
#if UNITY_EDITOR || UNITY_STANDALONE
DOTween.SetTweensCapacity(200, 200);
gameInput = new GameInput();
gameInput.Game.Enable();
@@ -79,7 +79,7 @@ public class GameInputManager : MonoBehaviour
}
// 使用预处理指令区分平台
#if UNITY_STANDALONE
#if UNITY_EDITOR || UNITY_STANDALONE
HandleHolding();
#else
ProcessRealTouchInput();
@@ -88,7 +88,7 @@ public class GameInputManager : MonoBehaviour
private void OnDisable()
{
#if UNITY_STANDALONE
#if UNITY_EDITOR || UNITY_STANDALONE
#else
@@ -128,7 +128,7 @@ public class GameInputManager : MonoBehaviour
GameManager.instance.noteJudgeManager.SetNewInputUnitSwipe(id, position, isGeneric, isFirst, direction);
}
#if UNITY_STANDALONE
#if UNITY_EDITOR || UNITY_STANDALONE
/// <summary>
/// 【仅在编辑器中运行】处理鼠标输入并模拟触摸事件。
/// </summary>