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
Afficher le fichier Open project: EECS390IndieTeam/GameProject Class Usage Examples

Méthodes publiques

Свойство Type Description
BeamColor Color
EndPoint Vector3
FadeCurve UnityEngine.AnimationCurve
FadeTime float
StartPoint Vector3

Méthodes publiques

Méthode Description
Start ( ) : void
Update ( ) : void

Method Details

Start() public méthode

public Start ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

Property Details

BeamColor public_oe property

public Color BeamColor
Résultat Color

EndPoint public_oe property

public Vector3 EndPoint
Résultat Vector3

FadeCurve public_oe property

public AnimationCurve,UnityEngine FadeCurve
Résultat UnityEngine.AnimationCurve

FadeTime public_oe property

public float FadeTime
Résultat float

StartPoint public_oe property

public Vector3 StartPoint
Résultat Vector3