C# Class BulletHitscan, ProjectPhoenix

Handles instant-hit cases with a single raycast and resolve graphics in a couple of frame (probably with line renderer) sniper, vulcan, etc
Inheritance: NetworkBehaviour, IBullet, IPoolable
Exibir arquivo Open project: Alx666/ProjectPhoenix

Public Methods

Method Description
Disable ( ) : void
Enable ( ) : void
GetDamage ( ArmorType, armor ) : float
Shoot ( Vector3 vPosition, Vector3 vDirection, Vector3 vWDirection, Actor, hOwner ) : void

Method Details

Disable() public method

public Disable ( ) : void
return void

Enable() public method

public Enable ( ) : void
return void

GetDamage() public method

public GetDamage ( ArmorType, armor ) : float
armor ArmorType,
return float

Shoot() public method

public Shoot ( Vector3 vPosition, Vector3 vDirection, Vector3 vWDirection, Actor, hOwner ) : void
vPosition Vector3
vDirection Vector3
vWDirection Vector3
hOwner Actor,
return void