프로퍼티 | 타입 | 설명 | |
---|---|---|---|
CantPassThrough | LayerMask | ||
CollisionParticle | GameObject | ||
GrowRate | float | ||
Target | string |
메소드 | 설명 | |
---|---|---|
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 |
리턴 | void |