Eleron  1.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator
DetonatorSound Class Reference
Inheritance diagram for DetonatorSound:
DetonatorComponent

Public Member Functions

override void Init ()
 
override void Explode ()
 
void Reset ()
 
- Public Member Functions inherited from DetonatorComponent
void SetStartValues ()
 
Detonator MyDetonator ()
 

Public Attributes

AudioClip[] nearSounds
 
AudioClip[] farSounds
 
float distanceThreshold = 50f
 
float minVolume = .4f
 
float maxVolume = 1f
 
float rolloffFactor = 0.5f
 
- Public Attributes inherited from DetonatorComponent
bool on = true
 
bool detonatorControlled = true
 
float startSize = 1f
 
float size = 1f
 
float explodeDelayMin = 0f
 
float explodeDelayMax = 0f
 
float startDuration = 2f
 
float duration = 2f
 
float timeScale = 1f
 
float startDetail = 1f
 
float detail = 1f
 
Color startColor = Color.white
 
Color color = Color.white
 
Vector3 startLocalPosition = Vector3.zero
 
Vector3 localPosition = Vector3.zero
 
Vector3 startForce = Vector3.zero
 
Vector3 force = Vector3.zero
 
Vector3 startVelocity = Vector3.zero
 
Vector3 velocity = Vector3.zero
 
float detailThreshold
 

Member Function Documentation

override void DetonatorSound.Explode ( )
virtual

Implements DetonatorComponent.

override void DetonatorSound.Init ( )
virtual

Implements DetonatorComponent.

void DetonatorSound.Reset ( )

Member Data Documentation

float DetonatorSound.distanceThreshold = 50f
AudioClip [] DetonatorSound.farSounds
float DetonatorSound.maxVolume = 1f
float DetonatorSound.minVolume = .4f
AudioClip [] DetonatorSound.nearSounds
float DetonatorSound.rolloffFactor = 0.5f

The documentation for this class was generated from the following file: