Hi ive been following your tutorials but keep coming across three issues bellow any thought on what can be causing them would be great.
UnassignedReferenceException: The variable weaponTarget of 'Gun' has not been assigned.
You probably need to assign the weaponTarget variable of the Gun script in the inspector.
Gun+<FireOneRay>c__Iterator2.MoveNext () (at Assets/Weapons/Scripts/Gun.cs:393)
Gun:MachineGun_Fire() (at Assets/Weapons/Scripts/Gun.cs:217)
Gun:Update() (at Assets/Weapons/Scripts/Gun.cs:112)
UnassignedReferenceException: The variable theBullet of 'PrefabShooting' has not been assigned.
You probably need to assign the theBullet variable of the PrefabShooting script in the inspector.
UnityEngine.Object.Internal_InstantiateSingle (UnityEngine.Object data, Vector3 pos, Quaternion rot) (at C:/BuildAgent/work/d3d49558e4d408f4/artifacts/EditorGenerated/UnityEngineObject.cs:73)
UnityEngine.Object.Instantiate (UnityEngine.Object original, Vector3 position, Quaternion rotation) (at C:/BuildAgent/work/d3d49558e4d408f4/artifacts/EditorGenerated/UnityEngineObject.cs:83)
PrefabShooting.Update () (at Assets/Tutorial 5/Tutorial 5/PrefabShooting.js:9)
NullReferenceException: Object reference not set to an instance of an object
AimDownSights.Update () (at Assets/Scripts Package TUT 4/AimDownSights.js:11)