Question by
YinJukes · Feb 13, 2016 at 04:30 PM ·
scripting problem
Why my script don't work , Don't have any bug report
pragma strict
function Start () {
}
function Update () { if(Input.GetButtonDown("Fire1")) { transform.Rotate(2711146,64.20119,-173.5131); }
}
Comment
Answer by jgodfrey · Feb 14, 2016 at 04:04 PM
Please format the code (and add code tags) to make it more readable
Is the script attached to an in-game object?
Those rotational values look crazy. What exactly are you trying to do?
Your answer
![](https://koobas.hobune.stream/wayback/20220612064048im_/https://answers.unity.com/themes/thub/images/avi.jpg)