C# Class 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.
Inheritance: NetworkBehaviour
ファイルを表示 Open project: EECS390IndieTeam/GameProject Class Usage Examples

Public Properties

Property Type Description
BeamColor Color
EndPoint Vector3
FadeCurve UnityEngine.AnimationCurve
FadeTime float
StartPoint Vector3

Public Methods

Method Description
Start ( ) : void
Update ( ) : void

Method Details

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

BeamColor public_oe property

public Color BeamColor
return Color

EndPoint public_oe property

public Vector3 EndPoint
return Vector3

FadeCurve public_oe property

public AnimationCurve,UnityEngine FadeCurve
return UnityEngine.AnimationCurve

FadeTime public_oe property

public float FadeTime
return float

StartPoint public_oe property

public Vector3 StartPoint
return Vector3