C# Class BulletPhysics, ProjectPhoenix

Inheritance: Bullet
Show file Open project: Alx666/ProjectPhoenix Class Usage Examples

Public Properties

Property Type Description
Damage float
ForceExolosion float
MaxRadius float

Public Methods

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

Private Methods

Method Description
AoeDamage ( Vector3 targetPosition, Vector3 CollisionPosition ) : float
Explosion ( ) : 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

OnCollisionEnter() public method

public OnCollisionEnter ( Collision collider ) : void
collider Collision
return void

Shoot() public method

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

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

Damage public property

public float Damage
return float

ForceExolosion public property

public float ForceExolosion
return float

MaxRadius public property

public float MaxRadius
return float