Const
Animated Damage Number.
Renders a floating, animated number in 3D space to signify damage, healing, or other status changes. Supports critical hit scaling and color presets.
<DamageNumber value={150} type="critical" position={[0, 2, 0]} onComplete={() => removeNumber()}/> Copy
<DamageNumber value={150} type="critical" position={[0, 2, 0]} onComplete={() => removeNumber()}/>
Animated Damage Number.
Renders a floating, animated number in 3D space to signify damage, healing, or other status changes. Supports critical hit scaling and color presets.