State for ThirdPersonMeleeWeaponProperties hitboxes error

longshotsg

New member
Hi,

I'm trying to create a state to update the hitboxes when a certain attack state is on.
But the state preset seems to have an error and does not allow me to add any hitbox.
Also ThirdPersonMeleeWeaponProperties.cs does not seem to cater for states yet?
Thanks.
 

Attachments

  • ThirdPersonMeleeWeaponProperties_error.png
    ThirdPersonMeleeWeaponProperties_error.png
    8.5 KB · Views: 1
Most of the properties within the weapon properties script are objects local to the scene so you cannot set the states with a scriptable object. You'll need to instead set those properties at runtime.
 
Top