From f7113362912dd7e27c138e2996c418cebfe4df6a Mon Sep 17 00:00:00 2001 From: wookywok <62037083+wookywok@users.noreply.github.com> Date: Tue, 5 Mar 2024 13:49:43 -0600 Subject: [PATCH] reimplemented touch mode whiffing cuz i forgor --- Assets/Resources/Prefabs/GameView/GameTex.renderTexture | 4 ++-- Assets/Resources/Prefabs/GameView/OverlayTex.renderTexture | 4 ++-- Assets/Scripts/Games/NailCarpenter/NailCarpenter.cs | 4 +--- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/Assets/Resources/Prefabs/GameView/GameTex.renderTexture b/Assets/Resources/Prefabs/GameView/GameTex.renderTexture index a724bcdd0..62cbb7cda 100644 --- a/Assets/Resources/Prefabs/GameView/GameTex.renderTexture +++ b/Assets/Resources/Prefabs/GameView/GameTex.renderTexture @@ -14,8 +14,8 @@ RenderTexture: m_DownscaleFallback: 0 m_IsAlphaChannelOptional: 0 serializedVersion: 5 - m_Width: 1228 - m_Height: 691 + m_Width: 1920 + m_Height: 1080 m_AntiAliasing: 2 m_MipCount: -1 m_DepthStencilFormat: 92 diff --git a/Assets/Resources/Prefabs/GameView/OverlayTex.renderTexture b/Assets/Resources/Prefabs/GameView/OverlayTex.renderTexture index 44baf42de..8d5f14078 100644 --- a/Assets/Resources/Prefabs/GameView/OverlayTex.renderTexture +++ b/Assets/Resources/Prefabs/GameView/OverlayTex.renderTexture @@ -14,8 +14,8 @@ RenderTexture: m_DownscaleFallback: 0 m_IsAlphaChannelOptional: 0 serializedVersion: 5 - m_Width: 1842 - m_Height: 1036 + m_Width: 2880 + m_Height: 1620 m_AntiAliasing: 1 m_MipCount: -1 m_DepthStencilFormat: 92 diff --git a/Assets/Scripts/Games/NailCarpenter/NailCarpenter.cs b/Assets/Scripts/Games/NailCarpenter/NailCarpenter.cs index bcf6e47fd..7823c771a 100644 --- a/Assets/Scripts/Games/NailCarpenter/NailCarpenter.cs +++ b/Assets/Scripts/Games/NailCarpenter/NailCarpenter.cs @@ -102,9 +102,7 @@ namespace HeavenStudio.Games protected static bool IA_TouchRegularPress(out double dt) { - return PlayerInput.GetTouchDown(InputController.ActionsTouch.Tap, out dt) - && instance.IsExpectingInputNow(InputAction_RegPress) - && !instance.IsExpectingInputNow(InputAction_AltStart); + return PlayerInput.GetTouchDown(InputController.ActionsTouch.Tap, out dt); } protected static bool IA_TouchAltPress(out double dt) {