Getting error CS1061: 'ShootableWeapon' does not contain a definition for 'HitscanDamage', what am I missing

Hi Andrew,

I have attached the full error log here, and this is a fresh project with the latest install of the FPS Controller.
 

Attachments

  • image_2021-07-23_190316.png
    image_2021-07-23_190316.png
    15.1 KB · Views: 8
I just checked my project. I have the latest files for everything. I do not have a "HitscanDamage" function in ShootableWeapon.cs. There's also no references to it in my (updated to 1.12, latest version) PunCharacter.cs.

I would update your PUN files.
 
@DavidC is correct - it looks like your PUN add-on is out of date. HitscanDamage is no longer needed as of a version or two ago.
 
Top