From c3750c697f224756ed1787f4c31787db6ee01978 Mon Sep 17 00:00:00 2001 From: absences <49706424+absences@users.noreply.github.com> Date: Sat, 12 Oct 2024 14:31:00 +0800 Subject: [PATCH] fix missing scripts on other platform --- Runtime/WXTouchInputOverride.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Runtime/WXTouchInputOverride.cs b/Runtime/WXTouchInputOverride.cs index ca48d174..da1a91d5 100644 --- a/Runtime/WXTouchInputOverride.cs +++ b/Runtime/WXTouchInputOverride.cs @@ -269,4 +269,12 @@ public class WXTouchInputOverride : BaseInput #endif } +#else +using UnityEngine; +using UnityEngine.EventSystems; + +[RequireComponent(typeof(StandaloneInputModule))] +public class WXTouchInputOverride : BaseInput +{ +} #endif