C# 클래스 WeaponShot, GameProject

This script encapsulates the behaviour of a single shot, and can be attached and customised for each individual weaponshot prefabs. Once defined, the weaponshot prefab can be referenced in the weaponscontroller script when attached, both scripts/behaviour together define the weapons system.
상속: NetworkBehaviour
파일 보기 프로젝트 열기: EECS390IndieTeam/GameProject 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
BeamColor Color
EndPoint Vector3
FadeCurve UnityEngine.AnimationCurve
FadeTime float
StartPoint Vector3

공개 메소드들

메소드 설명
Start ( ) : void
Update ( ) : void

메소드 상세

Start() 공개 메소드

public Start ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

BeamColor 공개적으로 프로퍼티

public Color BeamColor
리턴 Color

EndPoint 공개적으로 프로퍼티

public Vector3 EndPoint
리턴 Vector3

FadeCurve 공개적으로 프로퍼티

public AnimationCurve,UnityEngine FadeCurve
리턴 UnityEngine.AnimationCurve

FadeTime 공개적으로 프로퍼티

public float FadeTime
리턴 float

StartPoint 공개적으로 프로퍼티

public Vector3 StartPoint
리턴 Vector3