Property | Type | Description | |
---|---|---|---|
Damage | int | ||
LastTarget | string | ||
Source | GameObject | ||
hasHit | bool |
Method | Description | |
---|---|---|
EndProjectile ( ) : IEnumerator |
The projectile will only damage anything for a short period after it hits something To support bouncing around
|
|
HandleImpact ( GameObject other ) : void | ||
OnCollisionEnter ( Collision collision ) : void | ||
OnTriggerEnter ( Collider other ) : void |
When the projectile hits anything it will applydamage if applicable or will begin to count down to losing it's damage effect Half damage is applied on richochets
|
|
Start ( ) : void |
public HandleImpact ( GameObject other ) : void | ||
other | GameObject | |
return | void |
public OnCollisionEnter ( Collision collision ) : void | ||
collision | Collision | |
return | void |
public OnTriggerEnter ( Collider other ) : void | ||
other | Collider | |
return | void |