Acts similarly to Character Health, but passed the taken damage to a first found Character Health component in the hierarchy.
More...
Acts similarly to Character Health, but passed the taken damage to a first found Character Health component in the hierarchy.
◆ Contains()
static bool CoverShooter.BodyPartHealth.Contains |
( |
GameObject |
gameObject | ) |
|
|
static |
◆ Get()
static BodyPartHealth CoverShooter.BodyPartHealth.Get |
( |
GameObject |
gameObject | ) |
|
|
static |
◆ OnHit()
void CoverShooter.BodyPartHealth.OnHit |
( |
Hit |
hit | ) |
|
Reduce health on bullet hit.
◆ DamageScale
float CoverShooter.BodyPartHealth.DamageScale = 1.0f |
◆ TargetOveride
By default target is the first found parent object with CharacterHealth.
Setting TargetOverride overrides it.
◆ Target
The documentation for this class was generated from the following file: