↧
Answer by Dblfstr
Try touchCount if (guiTexture.HitTest(touch.position) && Input.touchCount > 0) // If the gui texture is touched then {
View ArticleAnswer 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