Health Modifier Types
Health Modifier Types enable you to pass important information about a weapon to the object that it hits, for example to drive different visual effects or hit sound effects.
For example a bullet and a laser beam hitting an energy shield will probably require that shield to show different kinds of damage effects. So you might create one Health Modifier Type for Bullet and another for Laser.
The Health Modifier Type will be passed via the Damage Receiver to the Damageable component, where it can be used.

Creating A New Health Modifier Type

To create a new Health Modifier Type, right-click in the Project tab and select Create > Health Modifier Type.

Setting Health Modifier Type For A Weapon

Go to the inspector of the Health Modifier component and set the 'Health Modifier Type'.
Copy link