Files
XUniWindowController/Samples~/Common/InputModuleProxy.cs
T
2026-06-14 22:49:28 +08:00

27 lines
624 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
#if ENABLE_LEGACY_INPUT_MANAGER
#elif ENABLE_INPUT_SYSTEM
using UnityEngine.InputSystem;
#endif
namespace Kirurobo {
/// <summary>
/// 为快速兼容 Legacy InputManager 和 InputSystem 而准备的类
/// </summary>
#if ENABLE_LEGACY_INPUT_MANAGER
public class InputModuleProxy : UnityEngine.EventSystems.StandaloneInputModule
{
}
#elif ENABLE_INPUT_SYSTEM
public class InputModuleProxy : UnityEngine.InputSystem.UI.InputSystemUIInputModule
{
}
#else
public class InputModuleProxy
{
}
#endif
}