how to chick weather the button is pressed or held down
sorry for my english, i have 1 button i need to chick if it is being pressed or held down how do i do this ![alt text][1] [1]: http://answers.unity3d.com/storage/temp/896-button.png
View Articlehow to change the filedof view slowly
its changing but i want it to change slowly function Update () { if (Input.GetKey ("w")) { Camera.main.fieldOfView += 100*Time.deltaTime; } }
View Articlewhy do i get 0
//var systime:int=10; var health:float=100; function Update () { if (Input.GetKey ("up")) //systime =System.DateTime.Now.Hour; { var systime:int =PlayerPrefs.GetInt("systime");...
View Articleopposite of OnApplicationPause
is there anything like OnApplicationUnPause or anything like that i really dont want to use OnApplicationFocus its giving me a hard time
View Articlewhy networking example dosnt work on phone
so i downloaded the iphone networking example from their website (http://download.unity3d.com/support/resources/files/MultiplayerTutorial.pdf) i tried it on the computer and it works fine but it dosnt...
View Articlehow to check or identify the polygon faces
i want to check the faces on the polygon and recreate the object but with the faces as separate objects is it possible. more info, i want to take a mesh and make all the triangles or the polygons or...
View Articleerror in creating mesh script
Failed setting triangles. Some indices are referencing out of bounds vertices. is the error im new to creating meshes but i think the problem is the variables on the top i dont know what to put in...
View Articlehow to make a raycast have a wider range of hit
i dont know if this makes sense or not but its like this, when you create a raycast it hits the object that's in front of it. is it possible to make the raycast hit any object on the screen no matter...
View Articlehow to increase the rayspheres radius
so the script i have is suposed to render everything thats being hit i want to increase the radius but its not working ![alt text][1] [1]: http://answers.unity3d.com/storage/temp/1112-spheres.png as...
View Articlehow to get component of the raycast hit
i want to get a script from the object thats being hit with a raycast but var ob :script = hit.gameObject.GetComponent(script); isnt working
View Article