修
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user