im new at unity and i wanted to make a first person shooter where i can aim down sights this is the code but it doesnt work. it tells me input q is not set up when i do have both vectors set up
var HipPose : Vector3;
var AimPose : Vector3;
function Start () {
transform.LocalPosition = HipPose;
}
function Update () {
if(Input.GetButtonDown(“q”)){
transform.localPosition = AimPose;
}
}