Answer by cj12345
var fireButton : GUITexture; var Effect : Transform; var TheDammage = 100; function Update(){ for (var evt : Touch in Input.touches) { var HitTest1 = fireButton.HitTest(evt.position); if (evt.phase ==...
View ArticleAnswer by cj12345
Okay, I can help you make the touch input button :) first make a GUI texture wich will be your touchscreen button. And then add this part to your code's input part. (Sorry I am using ipad so I cant...
View ArticleAnswer by cj12345
var jumpButtom : GUITexture; function Update(){ for (var evt : Touch in Input.touches) { var HitTest1 = jumpButton.HitTest(evt.position); if (evt.phase == TouchPhase.Began) { if(HitTest1){ This will...
View ArticleAnswer by cj12345
Yes, just download unity player from app store and then connect your phone to your computer in unity. And when you will play it will show in your screen:)
View Article