C# Class ProjectileLazer, SpaceCOG-Prototype

Inheritance: MonoBehaviour
Afficher le fichier Open project: kalby/SpaceCOG-Prototype

Méthodes publiques

Свойство Type Description
damage int
explodeAnimation GameObject
firingPlayer GameObject
lazerSpeed float
points int
range float

Méthodes publiques

Méthode Description
FixedUpdate ( ) : void
OnTriggerEnter ( Collider collidedWith ) : void
OnTriggerExit ( Collider other ) : void
SetPlayer ( GameObject player ) : void
SetRange ( float newRange ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Méthode Description
PlayClipAt ( AudioClip clip, Vector3 pos ) : AudioSource

Method Details

FixedUpdate() public méthode

public FixedUpdate ( ) : void
Résultat void

OnTriggerEnter() public méthode

public OnTriggerEnter ( Collider collidedWith ) : void
collidedWith Collider
Résultat void

OnTriggerExit() public méthode

public OnTriggerExit ( Collider other ) : void
other Collider
Résultat void

SetPlayer() public méthode

public SetPlayer ( GameObject player ) : void
player GameObject
Résultat void

SetRange() public méthode

public SetRange ( float newRange ) : void
newRange float
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

Property Details

damage public_oe property

public int damage
Résultat int

explodeAnimation public_oe property

public GameObject explodeAnimation
Résultat GameObject

firingPlayer public_oe property

public GameObject firingPlayer
Résultat GameObject

lazerSpeed public_oe property

public float lazerSpeed
Résultat float

points public_oe property

public int points
Résultat int

range public_oe property

public float range
Résultat float