UxrDamageEventArgs Constructor (UxrActor, UxrActor, RaycastHit, Single, Boolean)

Constructor for projectile damage.

Namespace: UltimateXR.Mechanics.Weapons
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0

Syntax

C#

public UxrDamageEventArgs(
	UxrActor source,
	UxrActor target,
	RaycastHit raycastHit,
	float damage,
	bool dies
)

Parameters

 

source
Type: UltimateXR.Mechanics.Weapons.UxrActor
Source actor
target
Type: UltimateXR.Mechanics.Weapons.UxrActor
Target actor
raycastHit
Type: RaycastHit
Raycast hit
damage
Type: System.Single
Damage amount
dies
Type: System.Boolean
Whether the damage results in death

See Also

Reference

UxrDamageEventArgs Class
UxrDamageEventArgs Overload
UltimateXR.Mechanics.Weapons Namespace