Made GlobalInput work with mobile

This commit is contained in:
Pasha Bibko
2025-11-27 10:48:09 +00:00
parent d61a44b1dc
commit 8291d627c1
2 changed files with 47 additions and 3 deletions

View File

@@ -34,7 +34,7 @@ public class PlayerController : OrbitalPositionBehaviour
if (s_PlayerScore > s_HighScore)
m_ScoreText.color = Color.yellow;
if (GlobalInput.IsScreenClicked() && GlobalOrbitalPositionManager.AllowPlayerInput)
if (GlobalInput.IsScreenClicked && GlobalOrbitalPositionManager.AllowPlayerInput)
{
m_OrbitalPosition.m_AttachedRing += 1;
}