I’m having a problem BCE0022, whats my problem ?
It says "Cannot convert ‘UnityEngine.Gameobject’ to ‘UnityEngine.Gameobject’
var HipPose : Vector3; var AimPose : Vector3; private var MainCam : GameObject; function Start () { transform.localPosition = HipPose; MainCam = GameObject.FindGameObjectsWithTag("Main Camera"); } function Update () { if(Input.GetButton("Fire2")){ transform.localPosition = AimPose; MainCam.camera.fieldOfView = 50; } if(!Input.GetButton("Fire2")){ transform.localPosition = HipPose; MainCam.camera.fieldOfView = 60; } }