Hit Feedback is the one component Responsive FX needs. Put it on anything that can be hit: an enemy, the player, a crate.
Every hit then plays the whole reaction from its profile.
HitFeedback.Hit(target, 25); finds the Hit Feedback on the target or its nearest parent, so passing the collider you hit works. Returns false when there is none (the debugger remembers it).
A full hit
HitFeedback.Hit(target, new HitInfo(25, HitKind.Critical).At(point).By(attacker));
Responsive FX's Health
health.Damage(25), health.Damage(hitInfo), health.Heal(10), health.Kill(). Feedback plays by itself.
UnityEvents and animation events
Methods with one float: HitAmount, CriticalHit, HealAmount, ShieldHit, DamageOverTime, KillingHit. And Miss, Block, ShowStatus (string).
Directly
GetComponent<HitFeedback>().Play(hitInfo) returns the hit's report.
The feel. Without a profile asset the preset's shared profile is used; Save As Profile makes an asset you can change.
Juice (with a profile asset)
More or less of everything.
Renderers to flash
Empty: every mesh, skinned mesh and sprite under the object (lower LOD levels and children with their own Hit Feedback are skipped).
Visual (squash)
What squashes and pops. Use a child when the root also moves or scales.
Number and bar anchor
Where numbers and the bar appear. Empty: above the renderers.
Health source
Your own health script (anything with IHealthSource). Empty: found on the object.
Overrides
This object only: a strength, each part on or off, its own flash colour, its own Display as, a number offset, its own number colour and size, and its own floating bar style.
In Play Mode the Hit, Critical, Heal and Kill buttons play on the selected objects, and the inspector
lists what the last hit played and why anything was skipped.