Siarhei Kukresh (memesrnoice)

2 answers · asked · Lesson: Using Iron Sights · Course: Fundamentals of Weapon Mechanics in Unity

Can't shoot my weapon

Dear CgCookie


Hi! Today I was coding and for some reason even though I didn't change any code my weapon won't play the animation, show a bullet hole, or show a ray cast. In unity it shows the error the variable cam of shoot has not been assigned.

From Ivan.