C# Class LaserBeamCylinder, gmap377_leathGloves_inc

Used to scale the cylinder and offset the texture on the mesh for an extra effect
Inheritance: MonoBehaviour
Afficher le fichier Open project: bi3mer/gmap377_leathGloves_inc

Méthodes publiques

Свойство Type Description
CantPassThrough LayerMask
CollisionParticle GameObject
GrowRate float
Target string

Méthodes publiques

Méthode 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/

Method Details

OnDestroy() public méthode

Called when the laser is destroyed to decrease the laser count by 1
public OnDestroy ( ) : void
Résultat void

OnTriggerEnter() public méthode

Used to handle collisions. Will do damage when the cylinder collider collides with an object matching the Target tag
public OnTriggerEnter ( Collider col ) : void
col Collider The collider the cylinder interacted with
Résultat void

Start() public méthode

Used to initialize the Mesh variable
public Start ( ) : void
Résultat void

Update() public méthode

Called once per frame. Used to scale and move the texture on the mesh/
public Update ( ) : void
Résultat void

Property Details

CantPassThrough public_oe property

public LayerMask CantPassThrough
Résultat LayerMask

CollisionParticle public_oe property

public GameObject CollisionParticle
Résultat GameObject

GrowRate public_oe property

public float GrowRate
Résultat float

Target public_oe property

public string Target
Résultat string