C# Class BulletRaycast, ProjectPhoenix

Handles fast straight-line flying projectiles based on raycast logic
Inheritance: NetworkBehaviour, IBullet, IPoolable
Mostrar archivo Open project: Alx666/ProjectPhoenix Class Usage Examples

Public Properties

Property Type Description
Damage float
MaxDistance float
Speed float

Public Methods

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

Method Details

Awake() public method

public Awake ( ) : void
return void

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

Update() public method

public Update ( ) : void
return void

Property Details

Damage public_oe property

public float Damage
return float

MaxDistance public_oe property

public float MaxDistance
return float

Speed public_oe property

public float Speed
return float