Added touch support for controls
This commit is contained in:
@@ -30,7 +30,7 @@ public class PlayerController : OrbitalPositionBehaviour
|
||||
{
|
||||
m_ScoreText.text = PlayerScore.ToString();
|
||||
|
||||
if (Input.GetKeyDown(KeyCode.Space) && GlobalOrbitalPositionManager.AllowPlayerInput)
|
||||
if (GlobalInput.IsScreenClicked() && GlobalOrbitalPositionManager.AllowPlayerInput)
|
||||
{
|
||||
m_OrbitalPosition.m_AttachedRing += 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user