EpicPieWarrior wrote:I try to apply the gun movement script to the CS:S arms but it won't allow me to drag it into the script edit
UnplannedGaming wrote:Does this have the Character Controller?
Code:
#pragma strict
function Start () {
GetComponent.<Camera>().fieldOfView= 50f;
}
function Update () {
if(Input.GetButton("Fire2")){
GetComponent.<Camera>().fieldOfView= 18f;
}
if(Input.GetButton("Fire2") == false){
GetComponent.<Camera>().fieldOfView= 50f;
}
}
Ziggyhard wrote:I downloaded it and i cant import it to unity
|
|