Property | Type | Description | |
---|---|---|---|
CantPassThrough | LayerMask | ||
CollisionParticle | GameObject | ||
GrowRate | float | ||
Target | string |
Method | Description | |
---|---|---|
OnDestroy ( ) : void |
Called when the laser is destroyed to decrease the laser count by 1
|
|
OnTriggerEnter ( Collider col ) : void |
Used to handle collisions. Will do damage when the cylinder collider collides with an object matching the Target tag
|
|
Start ( ) : void |
Used to initialize the Mesh variable
|
|
Update ( ) : void |
Called once per frame. Used to scale and move the texture on the mesh/
|
public OnTriggerEnter ( Collider col ) : void | ||
col | Collider | The collider the cylinder interacted with |
return | void |