reimplemented touch mode whiffing

cuz i forgor
This commit is contained in:
wookywok 2024-03-05 13:49:43 -06:00
parent 02131c2795
commit f711336291
3 changed files with 5 additions and 7 deletions

View file

@ -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

View file

@ -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

View file

@ -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)
{