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
Afficher le fichier Open project: Alx666/ProjectPhoenix

Méthodes publiques

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

Method Details

Disable() public méthode

public Disable ( ) : void
Résultat void

Enable() public méthode

public Enable ( ) : void
Résultat void

GetDamage() public méthode

public GetDamage ( ArmorType, armor ) : float
armor ArmorType,
Résultat float

Shoot() public méthode

public Shoot ( Vector3 vPosition, Vector3 vDirection, Vector3 vWDirection, Actor, hOwner ) : void
vPosition Vector3
vDirection Vector3
vWDirection Vector3
hOwner Actor,
Résultat void