C# Class BowBulletBehaviour, rainCrossBow

Inheritance: Bullet
Exibir arquivo Open project: Collegiennes/rainCrossBow

Public Properties

Property Type Description
CharginTemplate GameObject
PlayerShot bool

Public Methods

Method Description
FixedUpdate ( ) : void
Start ( ) : void

Protected Methods

Method Description
DetectCollisions ( ) : void
OnHit ( Shooting, shooting, Enemy, enemy, Vector3 contactPoint ) : void

Private Methods

Method Description
ClosestPointOnRay ( Ray ray, Vector3 point ) : Vector3

Method Details

DetectCollisions() protected method

protected DetectCollisions ( ) : void
return void

FixedUpdate() public method

public FixedUpdate ( ) : void
return void

OnHit() protected method

protected OnHit ( Shooting, shooting, Enemy, enemy, Vector3 contactPoint ) : void
shooting Shooting,
enemy Enemy,
contactPoint Vector3
return void

Start() public method

public Start ( ) : void
return void

Property Details

CharginTemplate public_oe property

public GameObject CharginTemplate
return GameObject

PlayerShot public_oe property

public bool PlayerShot
return bool