C# 클래스 LaserBeamCylinder, gmap377_leathGloves_inc

Used to scale the cylinder and offset the texture on the mesh for an extra effect
상속: MonoBehaviour
파일 보기 프로젝트 열기: bi3mer/gmap377_leathGloves_inc

공개 프로퍼티들

프로퍼티 타입 설명
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/

메소드 상세

OnDestroy() 공개 메소드

Called when the laser is destroyed to decrease the laser count by 1
public OnDestroy ( ) : void
리턴 void

OnTriggerEnter() 공개 메소드

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
리턴 void

Start() 공개 메소드

Used to initialize the Mesh variable
public Start ( ) : void
리턴 void

Update() 공개 메소드

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

프로퍼티 상세

CantPassThrough 공개적으로 프로퍼티

public LayerMask CantPassThrough
리턴 LayerMask

CollisionParticle 공개적으로 프로퍼티

public GameObject CollisionParticle
리턴 GameObject

GrowRate 공개적으로 프로퍼티

public float GrowRate
리턴 float

Target 공개적으로 프로퍼티

public string Target
리턴 string