Quantcast
Channel: Answers for "Converted PC player controls to Mobile not working"
Browsing latest articles
Browse All 6 View Live

Answer by Dblfstr

Try touchCount if (guiTexture.HitTest(touch.position) && Input.touchCount > 0) // If the gui texture is touched then {

View Article


Answer by koyima

So the fix here is 1. Switch anim = gameObject.GetComponent(); becomes anim = Player.GetComponent(); 2. The foreach loop goes into an if statement based on the number of touches as Dblfstr suggests and...

View Article

Browsing latest articles
Browse All 6 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>