Property | Type | Description | |
---|---|---|---|
explosionPrefab | GameObject | ||
health | int |
Method | Description | |
---|---|---|
OnCollisionEnter ( Collision collision ) : void | ||
Start ( ) : void | ||
Update ( ) : void | ||
createExplosionAtPos ( Vector3 pos, float maxScale ) : void |
public OnCollisionEnter ( Collision collision ) : void | ||
collision | Collision | |
return | void |
public createExplosionAtPos ( Vector3 pos, float maxScale ) : void | ||
pos | Vector3 | |
maxScale | float | |
return | void |