프로퍼티 | 타입 | 설명 | |
---|---|---|---|
Damage | int | ||
LastTarget | string | ||
Source | GameObject | ||
hasHit | bool |
메소드 | 설명 | |
---|---|---|
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 OnCollisionEnter ( Collision collision ) : void | ||
collision | Collision | |
리턴 | void |