UxrActor.ReceiveExplosion Method
Makes the actor receive explosive damage.
Namespace: UltimateXR.Mechanics.Weapons
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
public void ReceiveExplosion(
UxrActor actorSource,
Vector3 position,
float damage
)
Parameters
- actorSource
- Type: UltimateXR.Mechanics.Weapons.UxrActor
Actor source of the projectile - position
- Type: Vector3
Explosion source - damage
- Type: System.Single
Damage to be taken