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
Show file 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 property

public Color BeamColor
return Color

EndPoint public property

public Vector3 EndPoint
return Vector3

FadeCurve public property

public AnimationCurve,UnityEngine FadeCurve
return UnityEngine.AnimationCurve

FadeTime public property

public float FadeTime
return float

StartPoint public property

public Vector3 StartPoint
return Vector3