Class WeaponBehaviour
- Namespace
- GrindFest
- Assembly
- GrindFest.dll
[DisallowMultipleComponent]
public class WeaponBehaviour : MonoBehaviour
- Inheritance
-
objectWeaponBehaviour
Fields
- CanBreakBlock
Heavy weapons (warhammers, greatswords, boss weapons) can break through shields.
- DefaultAttackTypeName
The attack skill this weapon grants, by type name (
"Slash"). The weapon prefab used to carry the skill as a component; a plain class cannot live on a prefab, so the name is the reference and the character gets its own instance when the weapon is equipped.
Properties
- DefaultAttackType
Resolved CLR type of the attack skill (null when unset or unknown).
- IsProjectileWeapon
Is this a projectile weapon (bow, crossbow)?